Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.001021/0.001021, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001021/0.001021, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9951/0.9951, allocations: 177 MB / 205.2 MB, free: 5.062 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.2642/0.2642, 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.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.946e-05, allocations: 3.406 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0206/0.02063, allocations: 16.84 MB / 342.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.03493, allocations: 6.102 MB / 349 MB, free: 8 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.03869, allocations: 147.1 kB / 349.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.04217, allocations: 1.393 MB / 350.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.04761, allocations: 1.891 MB / 352.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.04994, allocations: 1.087 MB / 353.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007978/0.05792, allocations: 6.678 MB / 360.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.06215, allocations: 2.834 MB / 363 MB, free: 1.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007918/0.07007, allocations: 4.615 MB / 367.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.07481, allocations: 3.212 MB / 370.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.07594, allocations: 0.7812 MB / 371.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.07796, allocations: 1.085 MB / 372.7 MB, free: 8.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.07936, allocations: 1.944 MB / 374.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0032/0.08257, allocations: 2.315 MB / 377 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00741/0.08998, allocations: 5.554 MB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.08998, allocations: 4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08998, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002184/0.0902, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.009947/0.1001, allocations: 6.328 MB / 388.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1002, allocations: 12.03 kB / 388.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.1041, allocations: 1.452 MB / 390.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.1078, allocations: 2.206 MB / 392.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.108, allocations: 362.1 kB / 392.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005648/0.1086, allocations: 492.2 kB / 393.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/0.1138, allocations: 3.849 MB / 397.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/0.1139, allocations: 7.984 kB / 397.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.1142, allocations: 196 kB / 397.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.1144, allocations: 249.9 kB / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.117, allocations: 1.463 MB / 399.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.137, allocations: 12.62 MB / 411.7 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.1398, allocations: 2.49 MB / 414.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.1409, allocations: 0.9506 MB / 415.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004516/0.1454, allocations: 2.923 MB / 418.1 MB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1455, allocations: 60.5 kB / 418.2 MB, free: 9.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 3.406e-06/0.1455, allocations: 0 / 418.2 MB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.007163/0.1526, allocations: 3.958 MB / 422.1 MB, free: 5.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1527, allocations: 77.41 kB / 422.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.1543, allocations: 1.792 MB / 424 MB, free: 4.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.1544, allocations: 69.7 kB / 424 MB, free: 3.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.1553, allocations: 1.879 MB / 425.9 MB, free: 2.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.1557, allocations: 0.7822 MB / 426.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.1561, allocations: 452.9 kB / 427.2 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.1562, allocations: 301.1 kB / 427.4 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.1566, allocations: 308.6 kB / 427.7 MB, free: 232 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.1574, allocations: 0.9142 MB / 428.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.1588, allocations: 1.475 MB / 430.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.1588, allocations: 4 kB / 430.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.002157/0.1609, allocations: 1.696 MB / 431.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1609, allocations: 16.5 kB / 431.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.161, allocations: 23.94 kB / 431.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.1622, allocations: 0.5798 MB / 432.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.1637, allocations: 0.6563 MB / 433.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005016/0.1687, allocations: 7.358 MB / 440.5 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.1695, allocations: 87.98 kB / 440.6 MB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.1696, allocations: 79.98 kB / 440.6 MB, free: 2.422 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008195/0.1704, allocations: 264 kB / 440.9 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.1708, allocations: 255.7 kB / 441.1 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.1729, allocations: 1.582 MB / 442.7 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.1729, allocations: 27.94 kB / 442.8 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.1729, allocations: 12 kB / 442.8 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.1729, allocations: 11.97 kB / 442.8 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1783/0.3512, allocations: 3.586 MB / 446.4 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3512, allocations: 6.688 kB / 446.4 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.3527, allocations: 0.502 MB / 446.9 MB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.3545, allocations: 0.7272 MB / 447.6 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.3547, allocations: 56.42 kB / 447.7 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.3614, allocations: 10.89 MB / 458.5 MB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3614, allocations: 10.75 kB / 458.6 MB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.3643, allocations: 2.061 MB / 460.6 MB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.3651, allocations: 336.6 kB / 460.9 MB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.3654, allocations: 57.72 kB / 461 MB, free: 81.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/0.3662, allocations: 90.91 kB / 461.1 MB, free: 81.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.3666, allocations: 178.5 kB / 461.3 MB, free: 81.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.3667, allocations: 45.61 kB / 461.3 MB, free: 81.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009571/0.3677, allocations: 0.9202 MB / 462.2 MB, free: 81.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3677, allocations: 0 / 462.2 MB, free: 81.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002392/0.37, allocations: 0.9396 MB / 463.2 MB, free: 81.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000515/0.3706, allocations: 256.2 kB / 463.4 MB, free: 81.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3728, allocations: 1.903 MB / 465.3 MB, free: 80.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.433e-05/0.3729, allocations: 34.16 kB / 465.4 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.3745, allocations: 1.7 MB / 467.1 MB, free: 80.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.3765, allocations: 0.7507 MB / 467.8 MB, free: 80.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3867, allocations: 7.752 MB / 475.6 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.3878, allocations: 1.057 MB / 476.6 MB, free: 74.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.3889, allocations: 374.8 kB / 477 MB, free: 73.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.3903, allocations: 0.6891 MB / 477.7 MB, free: 73.34 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3903, allocations: 0 / 477.7 MB, free: 73.34 MB / 410.7 MB Notification: Performance of Templates: time 0.0504/0.4407, allocations: 46.76 MB / 0.5121 GB, free: 29.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3692106059752405]