Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0009952/0.0009952, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001633/0.001633, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9857/0.9857, allocations: 177 MB / 205.9 MB, free: 4.453 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.1553/0.1553, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.255e-05, allocations: 4.141 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.009901/0.009924, allocations: 13.74 MB / 393.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.01796, allocations: 5.247 MB / 399.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.02015, allocations: 103.4 kB / 399.2 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.02263, allocations: 1.064 MB / 400.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.0263, allocations: 1.51 MB / 401.8 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.02814, allocations: 1.017 MB / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.03307, allocations: 4.584 MB / 407.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.03549, allocations: 1.803 MB / 409.2 MB, free: 9.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.04076, allocations: 3.228 MB / 412.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.04386, allocations: 2.101 MB / 414.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.04498, allocations: 0.5273 MB / 415.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.04684, allocations: 0.8976 MB / 416 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.048, allocations: 1.406 MB / 417.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.05059, allocations: 1.563 MB / 418.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.05511, allocations: 3.929 MB / 422.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.05512, allocations: 0 / 422.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.05512, allocations: 0 / 422.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.05522, allocations: 0 / 422.9 MB, free: 11.7 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.007514/0.06273, allocations: 5.161 MB / 428 MB, free: 6.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.06277, allocations: 12.02 kB / 428 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.06546, allocations: 1.259 MB / 429.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.06873, allocations: 2.533 MB / 431.8 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.06887, allocations: 255.1 kB / 432.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.06924, allocations: 340.3 kB / 432.4 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/0.07257, allocations: 2.51 MB / 434.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.269e-05/0.07263, allocations: 7.953 kB / 434.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.07283, allocations: 136 kB / 435 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.07295, allocations: 154.7 kB / 435.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.07449, allocations: 0.9941 MB / 436.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.0875, allocations: 11.14 MB / 447.3 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.09012, allocations: 2.042 MB / 449.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.09113, allocations: 0.8321 MB / 450.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003853/0.09499, allocations: 2.622 MB / 452.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.09502, allocations: 54.7 kB / 452.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 3.877e-06/0.09503, allocations: 0 / 452.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.007361/0.1024, allocations: 4.172 MB / 457.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1024, allocations: 69.41 kB / 457.1 MB, free: 8.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.1041, allocations: 1.892 MB / 459 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.1041, allocations: 53.7 kB / 459.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.105, allocations: 1.819 MB / 460.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.1054, allocations: 0.6701 MB / 461.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.1059, allocations: 372.9 kB / 461.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.106, allocations: 476.8 kB / 462.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.1064, allocations: 243.8 kB / 462.6 MB, free: 3.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.107, allocations: 0.8338 MB / 463.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1081, allocations: 1.219 MB / 464.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1081, allocations: 7.938 kB / 464.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002226/0.1103, allocations: 1.674 MB / 466.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1104, allocations: 15.94 kB / 466.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1104, allocations: 12 kB / 466.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009876/0.1114, allocations: 486.5 kB / 466.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000892/0.1123, allocations: 395.4 kB / 467.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.1172, allocations: 6.186 MB / 473.4 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.1183, allocations: 59.98 kB / 473.5 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.1184, allocations: 64.05 kB / 473.6 MB, free: 7.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008257/0.1192, allocations: 264.1 kB / 473.8 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.1196, allocations: 314.3 kB / 474.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.1217, allocations: 1.544 MB / 475.7 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.1217, allocations: 16 kB / 475.7 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1217, allocations: 16 kB / 475.7 MB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.1217, allocations: 7.969 kB / 475.7 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/0.1267, allocations: 3.576 MB / 479.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1267, allocations: 0 / 479.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/0.1273, allocations: 251.7 kB / 479.5 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.1285, allocations: 0.5245 MB / 480 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.1285, allocations: 51.97 kB / 480.1 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/0.1356, allocations: 10.36 MB / 490.5 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1356, allocations: 12 kB / 490.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.1388, allocations: 2.023 MB / 492.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.1395, allocations: 414.2 kB / 492.9 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.1397, allocations: 36 kB / 492.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.1402, allocations: 59.97 kB / 493 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.1405, allocations: 141.7 kB / 493.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.1406, allocations: 47.97 kB / 493.2 MB, free: 3.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.1416, allocations: 1.011 MB / 494.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1416, allocations: 4 kB / 494.2 MB, free: 2.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001955/0.1436, allocations: 0.6796 MB / 494.9 MB, free: 1.773 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009499/0.1445, allocations: 426.3 kB / 495.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1455/0.29, allocations: 1.733 MB / 497 MB, free: 95.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.29, allocations: 0.9375 kB / 497 MB, free: 95.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.2921, allocations: 1.571 MB / 498.6 MB, free: 95.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.2943, allocations: 0.4935 MB / 499.1 MB, free: 95.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008915/0.3032, allocations: 5.936 MB / 0.4932 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.3041, allocations: 0.9552 MB / 0.4941 GB, free: 92.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001225/0.3053, allocations: 308.3 kB / 0.4944 GB, free: 92.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008228/0.3061, allocations: 0.5477 MB / 0.495 GB, free: 92.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.3061, allocations: 0 / 0.495 GB, free: 92.63 MB / 410.7 MB Notification: Performance of Templates: time 0.04417/0.3503, allocations: 36.72 MB / 0.5308 GB, free: 65.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418127292767167]