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.004306/0.004306, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001593/0.001593, allocations: 162.4 kB / 24.91 MB, free: 8.734 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.9838/0.9838, allocations: 177 MB / 205.2 MB, free: 5.441 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.2831/0.2831, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.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 2.325e-06/2.325e-06, allocations: 0 / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.456e-05, allocations: 2.312 kB / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01226/0.01228, allocations: 13.81 MB / 339.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02241, allocations: 5.455 MB / 345.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.02504, allocations: 103.4 kB / 345.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.0281, allocations: 1.087 MB / 346.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.03308, allocations: 1.498 MB / 348 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.03555, allocations: 1.028 MB / 349.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005706/0.04126, allocations: 4.583 MB / 353.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.04355, allocations: 1.842 MB / 355.5 MB, free: 9.398 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/0.04893, allocations: 3.224 MB / 358.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.05206, allocations: 2.105 MB / 360.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008978/0.05296, allocations: 0.5273 MB / 361.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.0548, allocations: 0.9171 MB / 362.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.05589, allocations: 1.41 MB / 363.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.05839, allocations: 1.559 MB / 365.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005538/0.06393, allocations: 3.929 MB / 369.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.06393, allocations: 3.984 kB / 369.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06394, allocations: 0 / 369.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.0641, allocations: 0 / 369.2 MB, free: 11.69 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.009331/0.07344, allocations: 4.859 MB / 374 MB, free: 6.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.07348, allocations: 8.031 kB / 374 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.0778, allocations: 1.179 MB / 375.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.08207, allocations: 1.777 MB / 377 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.08225, allocations: 251.1 kB / 377.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.08286, allocations: 340.3 kB / 377.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005232/0.0881, allocations: 2.567 MB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.08817, allocations: 3.953 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.08845, allocations: 132 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.08859, allocations: 154.7 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.09055, allocations: 1.004 MB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.1038, allocations: 8.659 MB / 390.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.1065, allocations: 1.826 MB / 391.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.1076, allocations: 0.7557 MB / 392.7 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/0.1123, allocations: 2.147 MB / 394.8 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.1123, allocations: 51.86 kB / 394.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 4.348e-06/0.1123, allocations: 0 / 394.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.007888/0.1202, allocations: 3.977 MB / 398.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1203, allocations: 81.34 kB / 398.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.1227, allocations: 1.727 MB / 400.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.1228, allocations: 57.7 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/0.1235, allocations: 1.329 MB / 402 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.1239, allocations: 0.6506 MB / 402.7 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.1242, allocations: 315.3 kB / 403 MB, free: 9.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.1243, allocations: 309.1 kB / 403.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.1247, allocations: 238.7 kB / 403.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.1252, allocations: 0.6322 MB / 404.2 MB, free: 7.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.1263, allocations: 1.052 MB / 405.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.1263, allocations: 0 / 405.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001922/0.1282, allocations: 1.328 MB / 406.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1282, allocations: 12 kB / 406.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1282, allocations: 11.94 kB / 406.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/0.1292, allocations: 459.9 kB / 407 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.1302, allocations: 459.4 kB / 407.5 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.1348, allocations: 4.748 MB / 412.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.1359, allocations: 63.92 kB / 412.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.136, allocations: 59.97 kB / 412.3 MB, free: 15.33 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.0009204/0.1369, allocations: 224.2 kB / 412.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.1373, allocations: 199.9 kB / 412.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.1392, allocations: 1.302 MB / 414 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.1392, allocations: 20 kB / 414.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.1393, allocations: 8 kB / 414.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.1393, allocations: 7.969 kB / 414.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/0.1441, allocations: 2.739 MB / 416.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1442, allocations: 0 / 416.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.1449, allocations: 308.7 kB / 417.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.1459, allocations: 0.4905 MB / 417.6 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-05/0.146, allocations: 43.91 kB / 417.6 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/0.1521, allocations: 7.808 MB / 425.5 MB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1521, allocations: 3.938 kB / 425.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.1546, allocations: 1.681 MB / 427.1 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.1552, allocations: 262.3 kB / 427.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.1554, allocations: 40 kB / 427.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.1559, allocations: 59.97 kB / 427.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.1562, allocations: 141.6 kB / 427.6 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/0.1562, allocations: 47.95 kB / 427.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009208/0.1572, allocations: 0.8123 MB / 428.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1572, allocations: 0 / 428.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001957/0.1591, allocations: 0.6874 MB / 429.2 MB, free: 13.95 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.001242/0.1604, allocations: 0.523 MB / 429.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.1625, allocations: 1.497 MB / 431.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.518e-05/0.1626, allocations: 24.5 kB / 431.2 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.164, allocations: 1.271 MB / 432.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.1656, allocations: 0.5022 MB / 433 MB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.1745, allocations: 5.741 MB / 438.7 MB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.1754, allocations: 0.7826 MB / 439.5 MB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.1764, allocations: 298.2 kB / 439.8 MB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/0.1774, allocations: 499.1 kB / 440.3 MB, free: 2.836 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/0.1774, allocations: 0 / 440.3 MB, free: 2.836 MB / 410.7 MB Notification: Performance of Templates: time 0.2164/0.3938, allocations: 36.35 MB / 476.6 MB, free: 76.6 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 -s gbode -gbm=radauIIA3 -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.167001636233181]