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.0008253/0.0008253, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008991/0.0008991, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9719/0.9719, allocations: 177 MB / 205.2 MB, free: 5.008 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.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.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.893e-06/1.893e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.556e-05, allocations: 6.312 kB / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01197/0.012, allocations: 9.501 MB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.01926, allocations: 3.187 MB / 338.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.02036, allocations: 31.88 kB / 338.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.02162, allocations: 0.582 MB / 339.3 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.02287, allocations: 0.6161 MB / 340 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.02343, allocations: 327.4 kB / 340.3 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.02506, allocations: 1.835 MB / 342.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.02563, allocations: 437.2 kB / 342.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.02681, allocations: 1.044 MB / 343.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.02753, allocations: 0.5609 MB / 344.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.02773, allocations: 160 kB / 344.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.02802, allocations: 200 kB / 344.5 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.02819, allocations: 342.7 kB / 344.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.02866, allocations: 0.5612 MB / 345.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.02979, allocations: 1.16 MB / 346.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02979, allocations: 0 / 346.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02979, allocations: 0 / 346.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.02983, allocations: 0 / 346.6 MB, free: 2.414 MB / 314.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.00179/0.03162, allocations: 1.707 MB / 348.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.03165, allocations: 12.03 kB / 348.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.03204, allocations: 244.7 kB / 348.5 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.03281, allocations: 0.581 MB / 349.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.03292, allocations: 163.8 kB / 349.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.03301, allocations: 124.3 kB / 349.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.03396, allocations: 1.266 MB / 350.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.03399, allocations: 7.953 kB / 350.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.03404, allocations: 47.98 kB / 350.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.03406, allocations: 28 kB / 350.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.0345, allocations: 293.8 kB / 351 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.03769, allocations: 2.678 MB / 353.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.03829, allocations: 336.2 kB / 354 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.03841, allocations: 111.4 kB / 354.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.03845, allocations: 16.5 kB / 354.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.03868, allocations: 215.9 kB / 354.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.124e-06/0.03868, allocations: 0 / 354.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.0018/0.04048, allocations: 1.094 MB / 355.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.04064, allocations: 475.3 kB / 355.9 MB, free: 8.453 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.04126, allocations: 0.8422 MB / 356.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.0413, allocations: 45.7 kB / 356.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.04156, allocations: 0.5519 MB / 357.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.04168, allocations: 237.9 kB / 357.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.04185, allocations: 206.7 kB / 357.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.04194, allocations: 349.8 kB / 358.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.04209, allocations: 138 kB / 358.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.04256, allocations: 1.009 MB / 359.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.04311, allocations: 0.6988 MB / 360 MB, free: 3.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.04312, allocations: 4 kB / 360 MB, free: 3.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0007628/0.04388, allocations: 0.7478 MB / 360.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.04392, allocations: 67.39 kB / 360.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.04394, allocations: 16.06 kB / 360.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.04425, allocations: 128 kB / 360.9 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.04465, allocations: 227.6 kB / 361.2 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.04681, allocations: 3.004 MB / 364.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.04723, allocations: 59.86 kB / 364.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.04727, allocations: 44.06 kB / 364.3 MB, free: 15.33 MB / 346.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.0002085/0.04748, allocations: 185.5 kB / 364.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.04756, allocations: 91.89 kB / 364.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.04802, allocations: 397.6 kB / 364.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.04803, allocations: 11.98 kB / 364.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.04803, allocations: 4 kB / 364.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004191/0.04845, allocations: 0.6661 MB / 365.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.04953, allocations: 0.9296 MB / 366.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.04953, allocations: 0 / 366.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.0498, allocations: 128.3 kB / 366.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.05002, allocations: 113.3 kB / 366.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.05005, allocations: 16 kB / 366.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.05168, allocations: 2.842 MB / 369.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.05168, allocations: 4.031 kB / 369.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.05221, allocations: 0.5805 MB / 370.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.05238, allocations: 107.3 kB / 370.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.05245, allocations: 15.98 kB / 370.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.05268, allocations: 35.92 kB / 370.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.05278, allocations: 60.39 kB / 370.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.0528, allocations: 12 kB / 370.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003204/0.05312, allocations: 414.8 kB / 370.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05312, allocations: 0 / 370.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.05375, allocations: 308 kB / 371.1 MB, free: 8.035 MB / 346.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.0001676/0.05392, allocations: 124.2 kB / 371.3 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.0547, allocations: 0.8897 MB / 372.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/0.05472, allocations: 14.5 kB / 372.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.05506, allocations: 446.2 kB / 372.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.05569, allocations: 305.6 kB / 372.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.05813, allocations: 1.959 MB / 374.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.05827, allocations: 201.7 kB / 375.1 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.05859, allocations: 136.8 kB / 375.2 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.05909, allocations: 353.1 kB / 375.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05909, allocations: 0 / 375.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of Templates: time 0.02208/0.08117, allocations: 18.53 MB / 394.1 MB, free: 1.352 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.435690535698086]