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.0009779/0.0009779, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001072/0.001072, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9175/0.9175, allocations: 177 MB / 205.2 MB, free: 5.039 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.2929/0.2929, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.112e-06/1.112e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.752e-05, allocations: 2.312 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01755/0.01756, allocations: 23.25 MB / 349.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.03071, allocations: 7.455 MB / 356.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.03376, allocations: 214.6 kB / 356.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.03693, allocations: 1.716 MB / 358.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.0418, allocations: 2.563 MB / 361.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.04403, allocations: 1.473 MB / 362.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007864/0.05189, allocations: 9.36 MB / 372 MB, free: 8.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004365/0.05626, allocations: 3.977 MB / 376 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006543/0.0628, allocations: 6.429 MB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.06674, allocations: 4.463 MB / 386.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009554/0.06769, allocations: 1.082 MB / 388 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.06924, allocations: 1.355 MB / 389.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.07079, allocations: 2.777 MB / 392.1 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.07376, allocations: 3.216 MB / 395.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.08055, allocations: 7.594 MB / 402.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.08055, allocations: 0 / 402.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08055, allocations: 0 / 402.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.08067, allocations: 0 / 402.9 MB, free: 9.793 MB / 378.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.009968/0.09064, allocations: 8.567 MB / 411.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.09067, allocations: 15.97 kB / 411.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.09406, allocations: 1.799 MB / 413.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.09841, allocations: 3.178 MB / 416.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.09864, allocations: 0.498 MB / 417 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.09926, allocations: 0.6721 MB / 417.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/0.1048, allocations: 5.374 MB / 423 MB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.1049, allocations: 19.86 kB / 423 MB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.1053, allocations: 276 kB / 423.3 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.1055, allocations: 297.4 kB / 423.6 MB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.1086, allocations: 2.076 MB / 425.7 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2646/0.3731, allocations: 18.38 MB / 444.1 MB, free: 80.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3772, allocations: 3.448 MB / 447.5 MB, free: 80.15 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.3787, allocations: 1.368 MB / 448.9 MB, free: 80.09 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005182/0.3838, allocations: 3.328 MB / 452.2 MB, free: 79.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3839, allocations: 70.84 kB / 452.3 MB, free: 79.72 MB / 410.8 MB Notification: Performance of pre-optimization done (n=305): time 4.278e-06/0.3839, allocations: 0 / 452.3 MB, free: 79.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=324): time 0.009382/0.3933, allocations: 6.425 MB / 458.7 MB, free: 79.05 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3933, allocations: 83.89 kB / 458.8 MB, free: 78.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.3949, allocations: 2.575 MB / 461.4 MB, free: 78.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3951, allocations: 81.05 kB / 461.4 MB, free: 78.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.3958, allocations: 2.604 MB / 464 MB, free: 77.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.3962, allocations: 1.137 MB / 465.2 MB, free: 77.14 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005837/0.3968, allocations: 0.6456 MB / 465.8 MB, free: 77.09 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.57e-05/0.3968, allocations: 305.1 kB / 466.1 MB, free: 76.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.3973, allocations: 457.6 kB / 466.6 MB, free: 76.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.3981, allocations: 1.387 MB / 468 MB, free: 75.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3996, allocations: 2.238 MB / 470.2 MB, free: 74.54 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3997, allocations: 7.438 kB / 470.2 MB, free: 74.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.002659/0.4023, allocations: 2.603 MB / 472.8 MB, free: 73.51 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4023, allocations: 16.94 kB / 472.8 MB, free: 73.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4024, allocations: 28.89 kB / 472.9 MB, free: 73.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.4037, allocations: 0.772 MB / 473.6 MB, free: 72.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.405, allocations: 0.7552 MB / 474.4 MB, free: 72.33 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.4106, allocations: 15.74 MB / 490.1 MB, free: 57.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.4119, allocations: 130.8 kB / 490.2 MB, free: 57.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.4121, allocations: 124.7 kB / 490.4 MB, free: 57.16 MB / 410.8 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.001071/0.4131, allocations: 357.6 kB / 490.7 MB, free: 56.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.4136, allocations: 366.6 kB / 491.1 MB, free: 56.76 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.4161, allocations: 2.415 MB / 493.5 MB, free: 55.14 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4162, allocations: 36 kB / 493.5 MB, free: 55.11 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4162, allocations: 16 kB / 493.5 MB, free: 55.09 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.4162, allocations: 15.94 kB / 493.6 MB, free: 55.08 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.422, allocations: 5.279 MB / 498.8 MB, free: 50.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.422, allocations: 7.938 kB / 498.8 MB, free: 50.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/0.4229, allocations: 415.9 kB / 499.2 MB, free: 50.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.4246, allocations: 1.135 MB / 0.4887 GB, free: 49.56 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4247, allocations: 67.16 kB / 0.4887 GB, free: 49.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007753/0.4325, allocations: 23.33 MB / 0.5115 GB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4325, allocations: 4 kB / 0.5115 GB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.4358, allocations: 3.109 MB / 0.5145 GB, free: 22.46 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.4365, allocations: 0.5148 MB / 0.515 GB, free: 21.95 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.4368, allocations: 66.41 kB / 0.5151 GB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.4376, allocations: 135.9 kB / 0.5152 GB, free: 21.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.438, allocations: 261.3 kB / 0.5155 GB, free: 21.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.4381, allocations: 71.98 kB / 0.5156 GB, free: 21.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0008643/0.439, allocations: 1.318 MB / 0.5168 GB, free: 20.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.439, allocations: 0 / 0.5168 GB, free: 20.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002676/0.4416, allocations: 1.34 MB / 0.5182 GB, free: 18.95 MB / 410.8 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%), (1,2,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003902/0.442, allocations: 275.1 kB / 0.5184 GB, free: 18.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.4445, allocations: 3.3 MB / 0.5216 GB, free: 15.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.653e-05/0.4445, allocations: 56.03 kB / 0.5217 GB, free: 15.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.4464, allocations: 3.186 MB / 0.5248 GB, free: 12.04 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.4485, allocations: 1.155 MB / 0.5259 GB, free: 10.93 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/0.4579, allocations: 10.79 MB / 0.5365 GB, free: 76 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4593, allocations: 1.493 MB / 0.5379 GB, free: 14.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001157/0.4604, allocations: 0.5198 MB / 0.5384 GB, free: 14.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/0.4621, allocations: 1.024 MB / 0.5394 GB, free: 12.98 MB / 426.8 MB Notification: Performance of SimCode: time 1.152e-06/0.4621, allocations: 0 / 0.5394 GB, free: 12.98 MB / 426.8 MB Notification: Performance of Templates: time 0.08431/0.5464, allocations: 71.14 MB / 0.6089 GB, free: 6.82 MB / 490.8 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.000837548170239]