Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.0007987/0.0007987, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.000914/0.000914, allocations: 163.3 kB / 24.91 MB, free: 8.77 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.9262/0.9262, allocations: 177 MB / 205.2 MB, free: 5.422 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.2593/0.2593, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.702e-05, allocations: 3.844 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02204/0.02206, allocations: 31.66 MB / 357.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.03969, allocations: 9.621 MB / 367.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004714/0.04441, allocations: 294.4 kB / 367.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008902/0.05331, allocations: 8.479 MB / 376.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008435/0.06174, allocations: 3.856 MB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.06519, allocations: 2.174 MB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.07716, allocations: 13.77 MB / 395.9 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01945/0.09661, allocations: 15.19 MB / 411.1 MB, free: 1.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.1092, allocations: 9.988 MB / 421.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009682/0.1189, allocations: 7.138 MB / 428.2 MB, free: 376 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004118/0.123, allocations: 1.875 MB / 430.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.127, allocations: 2.257 MB / 432.3 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.1296, allocations: 3.885 MB / 436.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00578/0.1354, allocations: 4.842 MB / 441.1 MB, free: 3.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1897/0.325, allocations: 11.85 MB / 452.9 MB, free: 60.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3251, allocations: 0 / 452.9 MB, free: 60.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3251, allocations: 0 / 452.9 MB, free: 60.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006565/0.3257, allocations: 0 / 452.9 MB, free: 60.35 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.02581/0.3515, allocations: 13.81 MB / 466.7 MB, free: 56.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3516, allocations: 10.56 kB / 466.7 MB, free: 56.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/0.3775, allocations: 7.094 MB / 473.8 MB, free: 56.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009534/0.387, allocations: 4.361 MB / 478.2 MB, free: 55.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.3874, allocations: 0.8007 MB / 479 MB, free: 54.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.3887, allocations: 1.055 MB / 480 MB, free: 54.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.4003, allocations: 8.714 MB / 488.7 MB, free: 52.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.4004, allocations: 14.44 kB / 488.8 MB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007681/0.4012, allocations: 440.4 kB / 489.2 MB, free: 52.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/0.4016, allocations: 0.6275 MB / 489.8 MB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/0.4078, allocations: 4.302 MB / 494.1 MB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.4473, allocations: 33.01 MB / 0.5148 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/0.4541, allocations: 6.426 MB / 0.5211 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4556, allocations: 1.521 MB / 0.5225 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007328/0.4629, allocations: 5.043 MB / 0.5275 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.463, allocations: 73.81 kB / 0.5275 GB, free: 2.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=398): time 6.231e-06/0.463, allocations: 0 / 0.5275 GB, free: 2.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.0172/0.4802, allocations: 9.474 MB / 0.5368 GB, free: 9.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4802, allocations: 120.7 kB / 0.5369 GB, free: 9.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.4829, allocations: 2.94 MB / 0.5398 GB, free: 6.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.4831, allocations: 101.7 kB / 0.5399 GB, free: 6.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4849, allocations: 4.303 MB / 0.5441 GB, free: 2.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/0.4857, allocations: 1.504 MB / 0.5455 GB, free: 1.219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.4869, allocations: 1.063 MB / 0.5466 GB, free: 268 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.4869, allocations: 307.2 kB / 0.5469 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.488, allocations: 0.7852 MB / 0.5476 GB, free: 15.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.4898, allocations: 2.725 MB / 0.5503 GB, free: 11.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.4933, allocations: 4.096 MB / 0.5543 GB, free: 7.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.4933, allocations: 20 kB / 0.5543 GB, free: 7.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.005426/0.4987, allocations: 4.272 MB / 0.5585 GB, free: 3.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4988, allocations: 38.56 kB / 0.5585 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/0.4988, allocations: 64 kB / 0.5586 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.5015, allocations: 1.399 MB / 0.56 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.5038, allocations: 1.199 MB / 0.5611 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008605/0.5124, allocations: 9.83 MB / 0.5707 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.5148, allocations: 203.9 kB / 0.5709 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.515, allocations: 231.9 kB / 0.5711 GB, free: 6.219 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * 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 {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.5173, allocations: 493.9 kB / 0.5716 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/0.518, allocations: 423.5 kB / 0.572 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.5223, allocations: 3.258 MB / 0.5752 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.5223, allocations: 47.94 kB / 0.5752 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.5223, allocations: 16 kB / 0.5753 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.5224, allocations: 23.91 kB / 0.5753 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.5329, allocations: 8.689 MB / 0.5838 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5329, allocations: 8 kB / 0.5838 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.5345, allocations: 0.627 MB / 0.5844 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.537, allocations: 1.287 MB / 0.5856 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.5372, allocations: 104 kB / 0.5857 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009499/0.5467, allocations: 13.67 MB / 0.5991 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.5467, allocations: 7.844 kB / 0.5991 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.5523, allocations: 4.18 MB / 0.6032 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.5537, allocations: 0.5808 MB / 0.6037 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.5541, allocations: 88 kB / 0.6038 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.5551, allocations: 132 kB / 0.604 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/0.5556, allocations: 334.7 kB / 0.6043 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.5558, allocations: 95.95 kB / 0.6044 GB, free: 5.047 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001583/0.5573, allocations: 1.423 MB / 0.6058 GB, free: 3.781 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5573, allocations: 0 / 0.6058 GB, free: 3.781 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004818/0.5622, allocations: 1.859 MB / 0.6076 GB, free: 1.922 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004984/0.5627, allocations: 262.2 kB / 0.6078 GB, free: 1.699 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1606/0.7232, allocations: 3.979 MB / 0.6117 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000182/0.7234, allocations: 74.2 kB / 0.6118 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/0.7266, allocations: 2.685 MB / 0.6144 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/0.7301, allocations: 1.134 MB / 0.6155 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.7495, allocations: 15.73 MB / 0.6309 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.7514, allocations: 2.095 MB / 0.6329 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002033/0.7534, allocations: 0.7531 MB / 0.6337 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/0.7552, allocations: 1.066 MB / 0.6347 GB, free: 131 MB / 490.7 MB Notification: Performance of SimCode: time 2.064e-06/0.7552, allocations: 0 / 0.6347 GB, free: 131 MB / 490.7 MB Notification: Performance of Templates: time 0.09406/0.8492, allocations: 80.57 MB / 0.7134 GB, free: 62.51 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.200449375901371]