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.002583/0.002583, allocations: 113.9 kB / 20.43 MB, free: 4.59 MB / 13.93 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.002997/0.002997, allocations: 217.3 kB / 23.73 MB, free: 2.129 MB / 13.93 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.696/1.696, allocations: 230.5 MB / 257.4 MB, free: 9.484 MB / 202.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.2619/0.2619, allocations: 47.7 MB / 361.6 MB, free: 2.352 MB / 282.7 MB " [Timeout remaining time 179] 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 0.004971/0.004971, allocations: 99.81 kB / 0.4978 GB, free: 6.895 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.149, allocations: 66.21 MB / 0.5625 GB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2937/0.4427, allocations: 12.59 MB / 0.5748 GB, free: 8.699 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.4528, allocations: 5.094 MB / 0.5797 GB, free: 5.227 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.4556, allocations: 104.8 kB / 0.5798 GB, free: 5.188 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.4588, allocations: 1.048 MB / 0.5809 GB, free: 4.648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.4636, allocations: 1.464 MB / 0.5823 GB, free: 3.715 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.4664, allocations: 1.007 MB / 0.5833 GB, free: 3.113 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.4728, allocations: 4.376 MB / 0.5876 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.4767, allocations: 1.782 MB / 0.5893 GB, free: 15.9 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.4812, allocations: 2.088 MB / 0.5913 GB, free: 14.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.4867, allocations: 2.303 MB / 0.5936 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.4884, allocations: 0.5323 MB / 0.5941 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.492, allocations: 0.9019 MB / 0.595 GB, free: 13.74 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.4947, allocations: 1.382 MB / 0.5963 GB, free: 12.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.5001, allocations: 1.861 MB / 0.5981 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.5134, allocations: 7.448 MB / 0.6054 GB, free: 7.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5134, allocations: 0 / 0.6054 GB, free: 7.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5134, allocations: 1.281 kB / 0.6054 GB, free: 7.324 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000276/0.5137, allocations: 0 / 0.6054 GB, free: 7.324 MB / 442.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.01852/0.5322, allocations: 5.066 MB / 0.6104 GB, free: 3.891 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5323, allocations: 9.5 kB / 0.6104 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.5374, allocations: 0.9107 MB / 0.6113 GB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006658/0.5441, allocations: 2.767 MB / 0.614 GB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.5443, allocations: 246.3 kB / 0.6142 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007375/0.5451, allocations: 348 kB / 0.6145 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/0.5544, allocations: 4.698 MB / 0.6191 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-05/0.5545, allocations: 7.938 kB / 0.6191 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.5548, allocations: 144 kB / 0.6193 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.555, allocations: 150.7 kB / 0.6194 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007892/0.5629, allocations: 3.913 MB / 0.6232 GB, free: 9.934 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02519/0.5881, allocations: 12.12 MB / 0.6351 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00656/0.5947, allocations: 2.971 MB / 0.638 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00342/0.5981, allocations: 1.575 MB / 0.6395 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008805/0.6069, allocations: 3.606 MB / 0.643 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.607, allocations: 51.88 kB / 0.6431 GB, free: 5.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=165): time 3.677e-06/0.607, allocations: 0 / 0.6431 GB, free: 5.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.01894/0.6259, allocations: 7.426 MB / 0.6503 GB, free: 13.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.626, allocations: 69.41 kB / 0.6504 GB, free: 13.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.6303, allocations: 2.472 MB / 0.6528 GB, free: 11.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.6305, allocations: 53.7 kB / 0.6529 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.6322, allocations: 1.685 MB / 0.6545 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007443/0.6329, allocations: 0.6545 MB / 0.6551 GB, free: 8.984 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/0.6336, allocations: 343.5 kB / 0.6555 GB, free: 8.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6337, allocations: 301.1 kB / 0.6558 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.6355, allocations: 0.9135 MB / 0.6567 GB, free: 7.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.6377, allocations: 1.327 MB / 0.6579 GB, free: 5.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.6422, allocations: 2.359 MB / 0.6603 GB, free: 3.445 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.6422, allocations: 7.938 kB / 0.6603 GB, free: 3.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006613/0.6488, allocations: 3.051 MB / 0.6632 GB, free: 380 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.6489, allocations: 8 kB / 0.6632 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.6489, allocations: 12 kB / 0.6633 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.6507, allocations: 0.5517 MB / 0.6638 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.6526, allocations: 431.4 kB / 0.6642 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.6642, allocations: 7.218 MB / 0.6713 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.6662, allocations: 91.97 kB / 0.6713 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.6664, allocations: 83.91 kB / 0.6714 GB, free: 7.773 MB / 0.4948 GB 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.002918/0.6693, allocations: 1.161 MB / 0.6726 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/0.67, allocations: 250.4 kB / 0.6728 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/0.6764, allocations: 2.857 MB / 0.6756 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/0.6764, allocations: 20 kB / 0.6756 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.6764, allocations: 11.94 kB / 0.6756 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.6764, allocations: 7.969 kB / 0.6756 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.6886, allocations: 5.489 MB / 0.681 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6886, allocations: 0 / 0.681 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.69, allocations: 279.6 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.6918, allocations: 0.62 MB / 0.6819 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.6919, allocations: 43.92 kB / 0.6819 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.7068, allocations: 10.78 MB / 0.6924 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.7068, allocations: 3.938 kB / 0.6924 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/0.7157, allocations: 4.137 MB / 0.6965 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/0.7174, allocations: 478.1 kB / 0.6969 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.7178, allocations: 44 kB / 0.697 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7189, allocations: 80 kB / 0.697 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.7194, allocations: 149.6 kB / 0.6972 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.7196, allocations: 55.97 kB / 0.6972 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003214/0.7228, allocations: 1.714 MB / 0.6989 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7228, allocations: 0 / 0.6989 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003278/0.7261, allocations: 0.6952 MB / 0.6996 GB, free: 10.34 MB / 0.5261 GB 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.002857/0.7289, allocations: 458.5 kB / 0.7 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.7351, allocations: 2.732 MB / 0.7027 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.7351, allocations: 0 / 0.7027 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003571/0.7387, allocations: 1.844 MB / 0.7045 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.7416, allocations: 0.4965 MB / 0.705 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.7559, allocations: 7.175 MB / 0.712 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/0.7589, allocations: 2.08 MB / 0.714 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001848/0.7607, allocations: 499.2 kB / 0.7145 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.7612, allocations: 163.4 kB / 0.7147 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.132e-06/0.7612, allocations: 0 / 0.7147 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of Templates: time 0.1096/0.8708, allocations: 39.83 MB / 0.7536 GB, free: 3.367 MB / 0.573 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.738116693217307]