Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.0018/0.0018, allocations: 112.9 kB / 20.44 MB, free: 4.605 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.001905/0.001905, allocations: 213.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.731/1.731, allocations: 230.5 MB / 257.4 MB, free: 9.504 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.2928/0.2928, allocations: 47.71 MB / 361.6 MB, free: 2.375 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.007018/0.007018, allocations: 99.84 kB / 0.4978 GB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1599, allocations: 66.21 MB / 0.5624 GB, free: 4.625 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2762/0.4362, allocations: 11.41 MB / 0.5736 GB, free: 9.453 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009117/0.4453, allocations: 4.065 MB / 0.5775 GB, free: 6.691 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.4482, allocations: 99.66 kB / 0.5776 GB, free: 6.652 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.4512, allocations: 0.9632 MB / 0.5786 GB, free: 6.168 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.4556, allocations: 1.268 MB / 0.5798 GB, free: 5.367 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.4576, allocations: 0.5339 MB / 0.5803 GB, free: 5.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007767/0.4654, allocations: 4.69 MB / 0.5849 GB, free: 2.676 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.4687, allocations: 2.005 MB / 0.5869 GB, free: 1.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.4736, allocations: 2.208 MB / 0.589 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.4792, allocations: 2.548 MB / 0.5915 GB, free: 15.54 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.4815, allocations: 0.5533 MB / 0.5921 GB, free: 15.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.4853, allocations: 0.6522 MB / 0.5927 GB, free: 15.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.4882, allocations: 1.545 MB / 0.5942 GB, free: 14.65 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006094/0.4943, allocations: 2.032 MB / 0.5962 GB, free: 13.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.5074, allocations: 7.529 MB / 0.6035 GB, free: 9.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5074, allocations: 5 kB / 0.6035 GB, free: 9.016 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5074, allocations: 0 / 0.6035 GB, free: 9.016 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.5077, allocations: 0 / 0.6035 GB, free: 9.016 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01515/0.5229, allocations: 4.763 MB / 0.6082 GB, free: 5.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5229, allocations: 8.625 kB / 0.6082 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.5254, allocations: 0.5507 MB / 0.6087 GB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006535/0.532, allocations: 2.566 MB / 0.6112 GB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.5323, allocations: 266.1 kB / 0.6115 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.5336, allocations: 359.7 kB / 0.6118 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.5493, allocations: 5.303 MB / 0.617 GB, free: 340 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.5495, allocations: 16.02 kB / 0.617 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000972/0.5504, allocations: 144.3 kB / 0.6172 GB, free: 192 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.5507, allocations: 191.1 kB / 0.6174 GB, free: 16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.562, allocations: 4.31 MB / 0.6216 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/0.5989, allocations: 12.88 MB / 0.6341 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005788/0.6047, allocations: 2.699 MB / 0.6368 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004333/0.609, allocations: 1.862 MB / 0.6386 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.6094, allocations: 53.97 kB / 0.6387 GB, free: 9.926 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.302e-05/0.6094, allocations: 60.56 kB / 0.6387 GB, free: 9.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=198): time 5.039e-06/0.6094, allocations: 4 kB / 0.6387 GB, free: 9.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.02855/0.638, allocations: 9.597 MB / 0.6481 GB, free: 252 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.6381, allocations: 73.41 kB / 0.6482 GB, free: 164 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00599/0.6441, allocations: 2.199 MB / 0.6503 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005755/0.6447, allocations: 61.7 kB / 0.6504 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/0.6467, allocations: 1.691 MB / 0.652 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/0.6483, allocations: 0.7669 MB / 0.6528 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.6498, allocations: 416.5 kB / 0.6532 GB, free: 10.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.65, allocations: 301.1 kB / 0.6534 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.653, allocations: 1.304 MB / 0.6547 GB, free: 9.359 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.6563, allocations: 1.778 MB / 0.6565 GB, free: 7.395 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/0.6624, allocations: 3.212 MB / 0.6596 GB, free: 4.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.6624, allocations: 4 kB / 0.6596 GB, free: 4 MB / 490.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009613/0.672, allocations: 4.045 MB / 0.6635 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.6721, allocations: 12 kB / 0.6636 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.6721, allocations: 12 kB / 0.6636 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/0.6755, allocations: 0.8772 MB / 0.6644 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.6781, allocations: 0.5304 MB / 0.6649 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.692, allocations: 8.998 MB / 0.6737 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.6948, allocations: 115.9 kB / 0.6738 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005636/0.6954, allocations: 91.98 kB / 0.6739 GB, free: 4.977 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003761/0.6992, allocations: 1.219 MB / 0.6751 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/0.7003, allocations: 262.4 kB / 0.6754 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/0.7091, allocations: 3.685 MB / 0.679 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.7092, allocations: 24 kB / 0.679 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/0.7092, allocations: 4 kB / 0.679 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.7092, allocations: 15.97 kB / 0.679 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.7279, allocations: 7.113 MB / 0.686 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.7279, allocations: 4 kB / 0.686 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.7298, allocations: 379.8 kB / 0.6863 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/0.7334, allocations: 0.9373 MB / 0.6872 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.7337, allocations: 51.98 kB / 0.6873 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.7488, allocations: 10.48 MB / 0.6975 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7488, allocations: 96 / 0.6975 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.7607, allocations: 5.489 MB / 0.7029 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/0.7631, allocations: 0.5373 MB / 0.7034 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/0.7642, allocations: 51.98 kB / 0.7035 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.7665, allocations: 119.8 kB / 0.7036 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006839/0.7672, allocations: 185.7 kB / 0.7038 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002627/0.7674, allocations: 63.92 kB / 0.7038 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003876/0.7713, allocations: 1.497 MB / 0.7053 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7713, allocations: 0 / 0.7053 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004893/0.7762, allocations: 0.8007 MB / 0.7061 GB, free: 3.426 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.7773, allocations: 235.7 kB / 0.7063 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008/0.7853, allocations: 3.62 MB / 0.7098 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7853, allocations: 0.8125 kB / 0.7098 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004879/0.7901, allocations: 2.31 MB / 0.7121 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/0.795, allocations: 0.6352 MB / 0.7127 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.8149, allocations: 7.876 MB / 0.7204 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004472/0.8194, allocations: 2.251 MB / 0.7226 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002746/0.8221, allocations: 0.6491 MB / 0.7232 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/0.823, allocations: 163.4 kB / 0.7234 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.823, allocations: 0 / 0.7234 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.089/0.912, allocations: 45.02 MB / 0.7673 GB, free: 4.871 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.964340813923627]