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.001873/0.001873, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002098/0.002098, allocations: 164.8 kB / 23.95 MB, free: 0.6016 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 1.615/1.615, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.353/0.353, allocations: 34.86 MB / 295.4 MB, free: 0.5469 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=45999,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=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 443.6 MB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.589e-05, allocations: 8.75 kB / 443.6 MB, free: 388 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2068/0.2069, allocations: 12.6 MB / 456.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008632/0.2155, allocations: 5.101 MB / 461.4 MB, free: 32.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.2178, allocations: 103.2 kB / 461.5 MB, free: 32.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.2204, allocations: 1.049 MB / 462.5 MB, free: 32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.2242, allocations: 1.494 MB / 464 MB, free: 31.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.2263, allocations: 1.02 MB / 465 MB, free: 30.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.2304, allocations: 4.567 MB / 469.6 MB, free: 27.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.2326, allocations: 1.791 MB / 471.4 MB, free: 27.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.2369, allocations: 3.014 MB / 474.4 MB, free: 25.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.2401, allocations: 1.959 MB / 476.3 MB, free: 24.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.2413, allocations: 0.5314 MB / 476.9 MB, free: 24.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.2435, allocations: 0.8952 MB / 477.8 MB, free: 24.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.2445, allocations: 1.407 MB / 479.2 MB, free: 23.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.2469, allocations: 1.575 MB / 480.8 MB, free: 23.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.2551, allocations: 7.459 MB / 488.2 MB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2551, allocations: 1 kB / 488.2 MB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2551, allocations: 0 / 488.2 MB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002311/0.2553, allocations: 0 / 488.2 MB, free: 20.38 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01454/0.2699, allocations: 5.011 MB / 493.2 MB, free: 17.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2699, allocations: 12.53 kB / 493.2 MB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.2749, allocations: 0.9114 MB / 494.1 MB, free: 17.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/0.2813, allocations: 2.753 MB / 496.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.2815, allocations: 251.1 kB / 497.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.2826, allocations: 335.8 kB / 497.5 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.2928, allocations: 4.704 MB / 0.4904 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/0.2928, allocations: 14.22 kB / 0.4904 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.2932, allocations: 136.3 kB / 0.4906 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.2934, allocations: 151.6 kB / 0.4907 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0074/0.3008, allocations: 3.91 MB / 0.4945 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.3209, allocations: 12.12 MB / 0.5063 GB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00541/0.3263, allocations: 2.974 MB / 0.5093 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/0.3289, allocations: 1.571 MB / 0.5108 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00859/0.3375, allocations: 3.61 MB / 0.5143 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.3375, allocations: 51.88 kB / 0.5144 GB, free: 12.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=165): time 4.518e-06/0.3375, allocations: 4 kB / 0.5144 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=185): time 0.01934/0.3569, allocations: 7.406 MB / 0.5216 GB, free: 4.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.357, allocations: 73.41 kB / 0.5217 GB, free: 4.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.3612, allocations: 2.464 MB / 0.5241 GB, free: 2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.3614, allocations: 57.7 kB / 0.5241 GB, free: 1.938 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.3631, allocations: 1.684 MB / 0.5258 GB, free: 240 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007511/0.3638, allocations: 0.6391 MB / 0.5264 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.3645, allocations: 343.4 kB / 0.5267 GB, free: 15.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3646, allocations: 301.1 kB / 0.527 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.3665, allocations: 0.9097 MB / 0.5279 GB, free: 14.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.369, allocations: 1.331 MB / 0.5292 GB, free: 12.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004277/0.3733, allocations: 2.344 MB / 0.5315 GB, free: 10.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3733, allocations: 4 kB / 0.5315 GB, free: 10.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00654/0.3798, allocations: 3.058 MB / 0.5345 GB, free: 6.988 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.3798, allocations: 15.94 kB / 0.5345 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.3799, allocations: 12 kB / 0.5345 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.3818, allocations: 0.5513 MB / 0.535 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.384, allocations: 423.3 kB / 0.5355 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.3972, allocations: 7.221 MB / 0.5425 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.3991, allocations: 95.81 kB / 0.5426 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/0.3995, allocations: 83.97 kB / 0.5427 GB, free: 14.4 MB / 458.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.002706/0.4022, allocations: 1.161 MB / 0.5438 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007409/0.4029, allocations: 254.3 kB / 0.5441 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006454/0.4094, allocations: 2.845 MB / 0.5468 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.4094, allocations: 19.98 kB / 0.5468 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/0.4094, allocations: 12 kB / 0.5469 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.4094, allocations: 7.969 kB / 0.5469 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.4226, allocations: 5.497 MB / 0.5522 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4226, allocations: 0 / 0.5522 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.4241, allocations: 280.4 kB / 0.5525 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.426, allocations: 0.612 MB / 0.5531 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.4262, allocations: 47.97 kB / 0.5531 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.4421, allocations: 10.78 MB / 0.5637 GB, free: 8.387 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.4421, allocations: 8.016 kB / 0.5637 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009157/0.4512, allocations: 4.13 MB / 0.5677 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/0.4528, allocations: 478.1 kB / 0.5682 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/0.4535, allocations: 47.86 kB / 0.5682 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.455, allocations: 79.94 kB / 0.5683 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004278/0.4554, allocations: 145.7 kB / 0.5684 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.4556, allocations: 55.97 kB / 0.5685 GB, free: 3.414 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003933/0.4595, allocations: 1.71 MB / 0.5702 GB, free: 1.688 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4595, allocations: 0 / 0.5702 GB, free: 1.688 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003221/0.4627, allocations: 0.6952 MB / 0.5708 GB, free: 0.9922 MB / 474.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.00299/0.4657, allocations: 466.9 kB / 0.5713 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006356/0.4721, allocations: 2.723 MB / 0.5739 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.4721, allocations: 11.94 kB / 0.5739 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003857/0.4759, allocations: 1.85 MB / 0.5758 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.4792, allocations: 0.4917 MB / 0.5762 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.4947, allocations: 6.971 MB / 0.583 GB, free: 4.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003795/0.4985, allocations: 2.091 MB / 0.5851 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002014/0.5005, allocations: 487.1 kB / 0.5855 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.5012, allocations: 168.5 kB / 0.5857 GB, free: 1.742 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5012, allocations: 0 / 0.5857 GB, free: 1.742 MB / 490.7 MB Notification: Performance of Templates: time 0.07562/0.5768, allocations: 35.37 MB / 0.6203 GB, free: 14.69 MB / 0.5261 GB " [Timeout remaining time 659] 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: 7.149248297093436]