Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001798/0.001798, allocations: 110 kB / 20.43 MB, free: 4.609 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.001879/0.001879, allocations: 217.3 kB / 23.73 MB, free: 2.137 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.727/1.727, allocations: 230.5 MB / 257.4 MB, free: 9.492 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.2734/0.2734, allocations: 47.7 MB / 361.6 MB, free: 2.344 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.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.007956/0.007956, allocations: 107.8 kB / 0.4978 GB, free: 6.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1456, allocations: 66.21 MB / 0.5624 GB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2448/0.3904, allocations: 8.53 MB / 0.5708 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.3958, allocations: 2.945 MB / 0.5736 GB, free: 9.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3971, allocations: 35.41 kB / 0.5737 GB, free: 9.367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.3988, allocations: 0.5597 MB / 0.5742 GB, free: 9.098 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.4004, allocations: 0.5872 MB / 0.5748 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.4012, allocations: 316.8 kB / 0.5751 GB, free: 8.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.4034, allocations: 1.775 MB / 0.5768 GB, free: 7.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006681/0.4041, allocations: 427.8 kB / 0.5772 GB, free: 7.309 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.4051, allocations: 0.7002 MB / 0.5779 GB, free: 6.965 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008825/0.406, allocations: 0.642 MB / 0.5785 GB, free: 6.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.4062, allocations: 157.9 kB / 0.5787 GB, free: 6.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.4067, allocations: 195.8 kB / 0.5789 GB, free: 6.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.4069, allocations: 330.8 kB / 0.5792 GB, free: 6.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.4076, allocations: 0.6627 MB / 0.5798 GB, free: 6.082 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.4103, allocations: 2.011 MB / 0.5818 GB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4103, allocations: 0 / 0.5818 GB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4103, allocations: 1.219 kB / 0.5818 GB, free: 5.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.399e-05/0.4104, allocations: 4 kB / 0.5818 GB, free: 5.293 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003387/0.4137, allocations: 1.752 MB / 0.5835 GB, free: 4.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4138, allocations: 9.312 kB / 0.5835 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.4144, allocations: 210.7 kB / 0.5837 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.4158, allocations: 0.7649 MB / 0.5845 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.4159, allocations: 168.2 kB / 0.5846 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.4161, allocations: 116.8 kB / 0.5848 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.4182, allocations: 1.574 MB / 0.5863 GB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.4183, allocations: 7.438 kB / 0.5863 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.4184, allocations: 48.25 kB / 0.5863 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.4184, allocations: 25.66 kB / 0.5864 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4199, allocations: 0.7535 MB / 0.5871 GB, free: 1.949 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.4252, allocations: 3.198 MB / 0.5902 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.4269, allocations: 0.5413 MB / 0.5908 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.4277, allocations: 238.6 kB / 0.591 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.4278, allocations: 13.19 kB / 0.591 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007224/0.4285, allocations: 322.1 kB / 0.5913 GB, free: 15.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/0.4285, allocations: 0 / 0.5913 GB, free: 15.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.004999/0.4335, allocations: 1.851 MB / 0.5931 GB, free: 14.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003283/0.4338, allocations: 479.6 kB / 0.5936 GB, free: 13.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.4353, allocations: 0.9652 MB / 0.5945 GB, free: 13.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.4354, allocations: 39.8 kB / 0.5945 GB, free: 13.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.4361, allocations: 0.6663 MB / 0.5952 GB, free: 12.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.4363, allocations: 252.7 kB / 0.5954 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.4367, allocations: 193.8 kB / 0.5956 GB, free: 12.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4369, allocations: 347.8 kB / 0.596 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.4375, allocations: 302.7 kB / 0.5962 GB, free: 12.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4389, allocations: 1.177 MB / 0.5974 GB, free: 10.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4405, allocations: 0.9345 MB / 0.5983 GB, free: 10.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.4405, allocations: 3.812 kB / 0.5983 GB, free: 10.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002378/0.4429, allocations: 1.186 MB / 0.5995 GB, free: 9.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.443, allocations: 64.84 kB / 0.5995 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.443, allocations: 12.52 kB / 0.5995 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.4436, allocations: 167.6 kB / 0.5997 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.4444, allocations: 208.9 kB / 0.5999 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.4495, allocations: 3.606 MB / 0.6034 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.4506, allocations: 64.36 kB / 0.6035 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.4507, allocations: 47.73 kB / 0.6035 GB, free: 6.355 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000642/0.4514, allocations: 297.5 kB / 0.6038 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.4516, allocations: 114.5 kB / 0.6039 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.4532, allocations: 0.6918 MB / 0.6046 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4532, allocations: 5.906 kB / 0.6046 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.4532, allocations: 0.9375 kB / 0.6046 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/0.4548, allocations: 0.9556 MB / 0.6055 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.4581, allocations: 1.507 MB / 0.607 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4581, allocations: 5.438 kB / 0.607 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.4586, allocations: 105.2 kB / 0.6071 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.4591, allocations: 122.6 kB / 0.6072 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.4591, allocations: 27.86 kB / 0.6073 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.4633, allocations: 3.314 MB / 0.6105 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4633, allocations: 2.406 kB / 0.6105 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.4658, allocations: 1.03 MB / 0.6115 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.4664, allocations: 171.1 kB / 0.6117 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.4665, allocations: 15.19 kB / 0.6117 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.4671, allocations: 43.55 kB / 0.6117 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.4673, allocations: 60.69 kB / 0.6118 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.4673, allocations: 21.3 kB / 0.6118 GB, free: 284 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.4684, allocations: 0.6283 MB / 0.6124 GB, free: 15.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4684, allocations: 0 / 0.6124 GB, free: 15.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001287/0.4697, allocations: 311.7 kB / 0.6127 GB, free: 15.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.47, allocations: 134.6 kB / 0.6128 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.4724, allocations: 1.118 MB / 0.6139 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4724, allocations: 2.719 kB / 0.6139 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.4734, allocations: 0.5345 MB / 0.6145 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.4749, allocations: 290.9 kB / 0.6147 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.4792, allocations: 2.25 MB / 0.6169 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.4797, allocations: 0.4907 MB / 0.6174 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006169/0.4803, allocations: 136.5 kB / 0.6175 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4805, allocations: 68.09 kB / 0.6176 GB, free: 12.66 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4805, allocations: 0 / 0.6176 GB, free: 12.66 MB / 458.7 MB Notification: Performance of Templates: time 0.03708/0.5176, allocations: 18.94 MB / 0.6361 GB, free: 11.33 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.664685131981969]