Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0478/0.0478, allocations: 8.033 MB / 23.3 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006999/0.0006999, allocations: 82.92 kB / 25.87 MB, free: 3.352 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008593/0.0008594, allocations: 176.8 kB / 28.56 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 254.4 MB, free: 3.773 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01197/0.01197, allocations: 3.111 MB / 310.4 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007149/0.000715, allocations: 15.02 kB / 378.2 MB, free: 53.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1213, allocations: 52.98 MB / 431.2 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003108/0.1245, allocations: 2.814 MB / 434 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1275, allocations: 2.074 MB / 436.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.128, allocations: 11.94 kB / 436.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1284, allocations: 71.53 kB / 436.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.1288, allocations: 123.2 kB / 436.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.1297, allocations: 364.6 kB / 436.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.1304, allocations: 0.5841 MB / 437.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.1307, allocations: 128.8 kB / 437.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.1311, allocations: 231 kB / 437.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1315, allocations: 218.9 kB / 437.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.1316, allocations: 20 kB / 437.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1319, allocations: 127.9 kB / 437.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1321, allocations: 87.66 kB / 438 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.1323, allocations: 232.5 kB / 438.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.1329, allocations: 0.6075 MB / 438.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1329, allocations: 0 / 438.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1329, allocations: 0 / 438.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1329, allocations: 0 / 438.8 MB, free: 9.359 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001277/0.1342, allocations: 0.7457 MB / 439.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1342, allocations: 8.031 kB / 439.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1344, allocations: 52.38 kB / 439.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.1348, allocations: 368.1 kB / 440 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.1349, allocations: 59.2 kB / 440 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.135, allocations: 47.86 kB / 440.1 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.1357, allocations: 469.5 kB / 440.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1357, allocations: 8 kB / 440.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.1358, allocations: 16 kB / 440.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.1358, allocations: 11.94 kB / 440.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.1365, allocations: 355.7 kB / 440.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1384, allocations: 1.389 MB / 442.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.1394, allocations: 437.1 kB / 442.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1397, allocations: 156.8 kB / 442.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1398, allocations: 12.47 kB / 442.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.1403, allocations: 247.7 kB / 443.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.1403, allocations: 4 kB / 443.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003899/0.1442, allocations: 1.871 MB / 445 MB, free: 2.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1442, allocations: 170.1 kB / 445.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1445, allocations: 320.5 kB / 445.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1446, allocations: 41.7 kB / 445.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.1447, allocations: 216.4 kB / 445.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.1448, allocations: 142.1 kB / 445.9 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1449, allocations: 37.7 kB / 445.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.1449, allocations: 346.8 kB / 446.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.1453, allocations: 172.8 kB / 446.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.1457, allocations: 279.4 kB / 446.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.1464, allocations: 379.7 kB / 447.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1464, allocations: 0 / 447.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001166/0.1476, allocations: 0.5796 MB / 447.7 MB, free: 32 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1477, allocations: 154.2 kB / 447.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1477, allocations: 4 kB / 447.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.1482, allocations: 160.8 kB / 448 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.1485, allocations: 87.89 kB / 448.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/0.1492, allocations: 0.7123 MB / 448.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.1497, allocations: 72 kB / 448.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.1497, allocations: 19.98 kB / 448.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.1497, allocations: 4 kB / 448.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009711/0.1507, allocations: 440.2 kB / 449.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1507, allocations: 4 kB / 449.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.1511, allocations: 162.8 kB / 449.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.1513, allocations: 63.92 kB / 449.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/0.152, allocations: 0.7086 MB / 450.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.1524, allocations: 71.94 kB / 450.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.1524, allocations: 16 kB / 450.3 MB, free: 13.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.1527, allocations: 246.1 kB / 450.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.1528, allocations: 39.61 kB / 450.6 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1529, allocations: 48.06 kB / 450.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1529, allocations: 4 kB / 450.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1529, allocations: 7.875 kB / 450.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.153, allocations: 4 kB / 450.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.1553, allocations: 1.192 MB / 451.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1553, allocations: 4 kB / 451.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.1556, allocations: 75.98 kB / 451.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.156, allocations: 144.8 kB / 452.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.156, allocations: 11.98 kB / 452.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006181/0.1567, allocations: 0.6851 MB / 452.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1567, allocations: 3.938 kB / 452.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.1584, allocations: 0.8301 MB / 453.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.1587, allocations: 152.6 kB / 453.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.1588, allocations: 19.94 kB / 453.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.1592, allocations: 72 kB / 453.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.1593, allocations: 59.84 kB / 453.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.1594, allocations: 19.98 kB / 453.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.1596, allocations: 231 kB / 454.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1596, allocations: 4 kB / 454.2 MB, free: 9.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007017/0.1603, allocations: 172 kB / 454.3 MB, free: 9.133 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1615, allocations: 485.1 kB / 454.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.1632, allocations: 0.6533 MB / 455.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1632, allocations: 4 kB / 455.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.1639, allocations: 239.8 kB / 455.7 MB, free: 7.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.1646, allocations: 100.3 kB / 455.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.167, allocations: 1.226 MB / 457 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1674, allocations: 0.8199 MB / 457.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000257/0.1677, allocations: 59.23 kB / 457.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1678, allocations: 39.42 kB / 457.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1678, allocations: 0 / 457.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Templates: time 0.01645/0.1843, allocations: 8.834 MB / 466.8 MB, free: 12.83 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)