Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009935/0.0009935, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009905/0.0009905, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.917/0.917, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.437e-05, allocations: 4.844 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01868/0.0187, allocations: 24.22 MB / 403.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.03146, allocations: 7.16 MB / 410.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.0349, allocations: 210.6 kB / 410.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.03829, allocations: 1.688 MB / 412.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.04383, allocations: 2.558 MB / 414.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.04608, allocations: 1.458 MB / 416.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007996/0.05408, allocations: 9.34 MB / 425.5 MB, free: 3.168 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004303/0.05838, allocations: 3.883 MB / 429.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007138/0.06552, allocations: 6.215 MB / 435.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.0704, allocations: 4.537 MB / 440.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.07215, allocations: 1.094 MB / 441.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.07453, allocations: 1.378 MB / 442.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1591/0.2337, allocations: 2.839 MB / 445.4 MB, free: 60.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.239, allocations: 3.247 MB / 448.7 MB, free: 60.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006507/0.2455, allocations: 7.676 MB / 456.4 MB, free: 59.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2455, allocations: 0 / 456.4 MB, free: 59.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2455, allocations: 0 / 456.4 MB, free: 59.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.2456, allocations: 2.781 kB / 456.4 MB, free: 59.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.009894/0.2555, allocations: 9.445 MB / 465.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2555, allocations: 9.281 kB / 465.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/0.2591, allocations: 2.086 MB / 467.9 MB, free: 55.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.2639, allocations: 4.837 MB / 472.7 MB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.2641, allocations: 0.4981 MB / 473.2 MB, free: 53.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006007/0.2647, allocations: 0.6743 MB / 473.9 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.2718, allocations: 5.739 MB / 479.6 MB, free: 50.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.2719, allocations: 16.36 kB / 479.7 MB, free: 50.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004335/0.2723, allocations: 286.7 kB / 479.9 MB, free: 50.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/0.2726, allocations: 297.2 kB / 480.2 MB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.278, allocations: 2.611 MB / 482.8 MB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.3057, allocations: 23.7 MB / 0.4947 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005387/0.3111, allocations: 4.105 MB / 0.4987 GB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.3136, allocations: 1.692 MB / 0.5003 GB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006873/0.3205, allocations: 4.281 MB / 0.5045 GB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.3206, allocations: 77.05 kB / 0.5046 GB, free: 32.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 5.209e-06/0.3206, allocations: 0 / 0.5046 GB, free: 32.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01519/0.3358, allocations: 8.352 MB / 0.5127 GB, free: 28.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3358, allocations: 85.95 kB / 0.5128 GB, free: 28.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.3392, allocations: 3.163 MB / 0.5159 GB, free: 25.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.3393, allocations: 81.7 kB / 0.516 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.3407, allocations: 3.347 MB / 0.5193 GB, free: 22.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.3413, allocations: 1.169 MB / 0.5204 GB, free: 21.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000886/0.3422, allocations: 0.7123 MB / 0.5211 GB, free: 21.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.375e-05/0.3422, allocations: 476.8 kB / 0.5216 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.3435, allocations: 0.5856 MB / 0.5221 GB, free: 20.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.3451, allocations: 1.99 MB / 0.5241 GB, free: 17.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.3508, allocations: 2.863 MB / 0.5269 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.3508, allocations: 8 kB / 0.5269 GB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.004122/0.3549, allocations: 3.55 MB / 0.5303 GB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.355, allocations: 16 kB / 0.5304 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.355, allocations: 28 kB / 0.5304 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.3565, allocations: 0.8362 MB / 0.5312 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.358, allocations: 0.8161 MB / 0.532 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00975/0.3678, allocations: 22.29 MB / 0.5538 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.3696, allocations: 191.8 kB / 0.5539 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.3698, allocations: 156 kB / 0.5541 GB, free: 2.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001613/0.3715, allocations: 397.4 kB / 0.5545 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.372, allocations: 0.5363 MB / 0.555 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.3763, allocations: 3.111 MB / 0.558 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.3763, allocations: 32 kB / 0.5581 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.18e-05/0.3764, allocations: 15.98 kB / 0.5581 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.3764, allocations: 11.95 kB / 0.5581 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.3874, allocations: 7.935 MB / 0.5658 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.3874, allocations: 12.31 kB / 0.5658 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.3885, allocations: 464 kB / 0.5663 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.3907, allocations: 1.114 MB / 0.5674 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.3909, allocations: 83.97 kB / 0.5675 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/0.4076, allocations: 33.14 MB / 0.5998 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4076, allocations: 7.984 kB / 0.5998 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.4139, allocations: 4.083 MB / 0.6038 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.4153, allocations: 0.7915 MB / 0.6046 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.4156, allocations: 68 kB / 0.6047 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009774/0.4165, allocations: 187.8 kB / 0.6048 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/0.417, allocations: 300.6 kB / 0.6051 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.4172, allocations: 83.98 kB / 0.6052 GB, free: 11.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002031/0.4192, allocations: 1.739 MB / 0.6069 GB, free: 10.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4192, allocations: 0 / 0.6069 GB, free: 10.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003146/0.4223, allocations: 1.355 MB / 0.6082 GB, free: 8.852 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004557/0.4228, allocations: 281.7 kB / 0.6085 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00447/0.4273, allocations: 4.399 MB / 0.6128 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4273, allocations: 0 / 0.6128 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1354/0.5626, allocations: 4.4 MB / 0.6171 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.5662, allocations: 1.161 MB / 0.6182 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.5786, allocations: 11.37 MB / 0.6293 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.5799, allocations: 1.816 MB / 0.6311 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001527/0.5814, allocations: 0.8223 MB / 0.6319 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.5819, allocations: 266.7 kB / 0.6321 GB, free: 126.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.784e-06/0.5819, allocations: 0 / 0.6321 GB, free: 126.8 MB / 490.7 MB Notification: Performance of Templates: time 0.07212/0.6541, allocations: 67.48 MB / 0.698 GB, free: 92.91 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.004464915953577]