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.0007183/0.0007183, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009969/0.001715, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000725/0.000725, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009329/0.001658, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.083/1.083, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.189, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2695/0.2695, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02774/0.2972, allocations: 13.25 MB / 292.8 MB, free: 6.371 MB / 282.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.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 1.423e-06/1.423e-06, allocations: 0 / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.302e-05, allocations: 3.734 kB / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00757/0.007593, allocations: 9.546 MB / 303.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.01344, allocations: 3.214 MB / 307 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.01475, allocations: 35.81 kB / 307 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.0161, allocations: 0.5781 MB / 307.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.01775, allocations: 0.6161 MB / 308.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.01839, allocations: 323.4 kB / 308.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.02035, allocations: 1.838 MB / 310.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.02098, allocations: 433.3 kB / 310.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.02316, allocations: 1.232 MB / 312 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009707/0.02413, allocations: 0.5726 MB / 312.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.02443, allocations: 156 kB / 312.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.02492, allocations: 192 kB / 312.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.02509, allocations: 255.1 kB / 313.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.02561, allocations: 479.1 kB / 313.6 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.02686, allocations: 1.082 MB / 314.7 MB, free: 352 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.394e-05/0.02687, allocations: 4 kB / 314.7 MB, free: 348 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02687, allocations: 0 / 314.7 MB, free: 348 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.02691, allocations: 0 / 314.7 MB, free: 348 kB / 298.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.002271/0.02918, allocations: 2.028 MB / 316.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.02922, allocations: 12.92 kB / 316.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.02963, allocations: 313.8 kB / 317.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000818/0.03045, allocations: 0.5827 MB / 317.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.03055, allocations: 163.8 kB / 317.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.03066, allocations: 120.3 kB / 317.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.03195, allocations: 1.265 MB / 319.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.03198, allocations: 11.88 kB / 319.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.03203, allocations: 48 kB / 319.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.03205, allocations: 28 kB / 319.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.03245, allocations: 297.7 kB / 319.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.03547, allocations: 2.686 MB / 322.2 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.03604, allocations: 339.5 kB / 322.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.03616, allocations: 106.8 kB / 322.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.0362, allocations: 16.44 kB / 322.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.03645, allocations: 223.9 kB / 322.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.507e-06/0.03646, allocations: 0 / 322.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001831/0.03829, allocations: 1.11 MB / 324 MB, free: 6.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.03833, allocations: 68.06 kB / 324.1 MB, free: 6.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.03895, allocations: 0.8461 MB / 324.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.03899, allocations: 37.7 kB / 325 MB, free: 5.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.03958, allocations: 0.5481 MB / 325.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.03971, allocations: 249.8 kB / 325.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.03987, allocations: 194.8 kB / 326 MB, free: 4.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.03996, allocations: 349.9 kB / 326.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.04009, allocations: 142 kB / 326.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.04058, allocations: 1.009 MB / 327.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.04114, allocations: 0.7306 MB / 328.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.04114, allocations: 8 kB / 328.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0007602/0.04191, allocations: 0.7478 MB / 328.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.04196, allocations: 67.39 kB / 329 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.04198, allocations: 12 kB / 329 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.04226, allocations: 134.7 kB / 329.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.04266, allocations: 241.9 kB / 329.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.04508, allocations: 3.008 MB / 332.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.04565, allocations: 59.92 kB / 332.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.04569, allocations: 40 kB / 332.5 MB, free: 13.26 MB / 330.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 {(5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.04594, allocations: 182.5 kB / 332.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.04603, allocations: 91.95 kB / 332.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.0465, allocations: 405.7 kB / 333.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.0465, allocations: 7.938 kB / 333.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.04651, allocations: 0 / 333.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004225/0.04693, allocations: 0.67 MB / 333.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.04808, allocations: 0.9336 MB / 334.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.04809, allocations: 4 kB / 334.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.04837, allocations: 124.1 kB / 334.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.04856, allocations: 99.28 kB / 335 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.04879, allocations: 109.5 kB / 335.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.04881, allocations: 19.98 kB / 335.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.05048, allocations: 2.844 MB / 337.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.05049, allocations: 0 / 337.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.0511, allocations: 0.5962 MB / 338.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.05121, allocations: 16 kB / 338.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.05148, allocations: 35.97 kB / 338.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.05159, allocations: 52.39 kB / 338.6 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.05161, allocations: 19.94 kB / 338.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004111/0.05202, allocations: 406.9 kB / 339.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05202, allocations: 0 / 339.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00134/0.05336, allocations: 311.9 kB / 339.4 MB, free: 5.953 MB / 330.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.0002098/0.05357, allocations: 120.3 kB / 339.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.05454, allocations: 0.9131 MB / 340.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.323e-05/0.05458, allocations: 24.48 kB / 340.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.05505, allocations: 482.7 kB / 340.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.0568, allocations: 2.807 MB / 343.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.06924, allocations: 2.086 MB / 345.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.06974, allocations: 213.8 kB / 346 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.07023, allocations: 132.9 kB / 346.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.07072, allocations: 361.1 kB / 346.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.07073, allocations: 4 kB / 346.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Templates: time 0.02888/0.0996, allocations: 19.76 MB / 366.2 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] 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: 3.243295173160732]