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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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.08869/0.08869, allocations: 8.318 MB / 23.82 MB, free: 4.57 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 96.17 kB / 26.46 MB, free: 2.785 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.001521/0.001521, allocations: 205.9 kB / 29.22 MB, free: 32 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 254.7 MB, free: 4.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01308/0.01308, allocations: 3.118 MB / 309.8 MB, free: 2.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 89.73 kB / 377.1 MB, free: 52.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1362, allocations: 52.05 MB / 429.1 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.005478/0.1418, allocations: 3.167 MB / 432.3 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.1454, allocations: 2.118 MB / 434.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.1457, allocations: 8 kB / 434.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1461, allocations: 99.14 kB / 434.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1465, allocations: 154.9 kB / 434.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.1474, allocations: 407.5 kB / 435.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.1478, allocations: 0.6231 MB / 435.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.1481, allocations: 160.8 kB / 435.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1483, allocations: 259.2 kB / 436.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.1486, allocations: 254.9 kB / 436.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.819e-05/0.1487, allocations: 48 kB / 436.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.149, allocations: 155.9 kB / 436.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1491, allocations: 127.6 kB / 436.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1493, allocations: 238.8 kB / 436.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.1499, allocations: 0.639 MB / 437.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1499, allocations: 0 / 437.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1499, allocations: 0 / 437.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1499, allocations: 0 / 437.5 MB, free: 10.82 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.00119/0.1511, allocations: 0.804 MB / 438.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1512, allocations: 8.031 kB / 438.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1514, allocations: 52.38 kB / 438.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1518, allocations: 384.1 kB / 438.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.1518, allocations: 51.27 kB / 438.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.1519, allocations: 47.83 kB / 438.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1526, allocations: 465.5 kB / 439.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1526, allocations: 0 / 439.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1527, allocations: 16 kB / 439.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1527, allocations: 8 kB / 439.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.1533, allocations: 331.8 kB / 439.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1551, allocations: 1.346 MB / 441 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.156, allocations: 396.1 kB / 441.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.1563, allocations: 144.8 kB / 441.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1563, allocations: 4.531 kB / 441.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.1568, allocations: 239.1 kB / 441.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.1568, allocations: 0 / 441.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003622/0.1604, allocations: 1.768 MB / 443.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1605, allocations: 162.2 kB / 443.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1608, allocations: 328.5 kB / 444 MB, free: 3.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.1608, allocations: 37.7 kB / 444.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.1609, allocations: 216.5 kB / 444.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.161, allocations: 134.2 kB / 444.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1611, allocations: 82.03 kB / 444.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.1612, allocations: 346.8 kB / 444.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.1615, allocations: 166.5 kB / 445 MB, free: 2.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.1619, allocations: 271.4 kB / 445.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.1625, allocations: 355.8 kB / 445.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1625, allocations: 0 / 445.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001095/0.1636, allocations: 0.564 MB / 446.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1636, allocations: 6.812 kB / 446.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1636, allocations: 4 kB / 446.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.164, allocations: 164.9 kB / 446.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1643, allocations: 75.83 kB / 446.4 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004943/0.1648, allocations: 0.7123 MB / 447.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.1651, allocations: 64.02 kB / 447.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.1652, allocations: 16 kB / 447.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003041/0.1655, allocations: 245 kB / 447.5 MB, free: 400 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.1658, allocations: 231.4 kB / 447.7 MB, free: 124 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004433/0.1662, allocations: 295.8 kB / 448 MB, free: 15.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.1662, allocations: 4 kB / 448 MB, free: 15.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009324/0.1672, allocations: 481.6 kB / 448.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1672, allocations: 12.22 kB / 448.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.1672, allocations: 0 / 448.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.1676, allocations: 167.9 kB / 448.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1678, allocations: 63.92 kB / 448.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006082/0.1684, allocations: 0.7046 MB / 449.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1688, allocations: 52 kB / 449.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1688, allocations: 16 kB / 449.5 MB, free: 14.28 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.0001733/0.169, allocations: 216.2 kB / 449.7 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.1691, allocations: 43.52 kB / 449.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1692, allocations: 52 kB / 449.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1692, allocations: 8 kB / 449.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1692, allocations: 0 / 449.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1692, allocations: 0 / 449.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.1712, allocations: 1.165 MB / 450.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1712, allocations: 0 / 450.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.1715, allocations: 75.98 kB / 451 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.1719, allocations: 144.8 kB / 451.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.1719, allocations: 15.98 kB / 451.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005747/0.1725, allocations: 0.6849 MB / 451.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1725, allocations: 7.969 kB / 451.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.174, allocations: 0.7832 MB / 452.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1742, allocations: 160.5 kB / 452.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.1743, allocations: 16.06 kB / 452.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.1747, allocations: 51.94 kB / 452.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.1748, allocations: 55.91 kB / 452.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.1748, allocations: 16 kB / 452.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.1751, allocations: 231 kB / 453.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1751, allocations: 0 / 453.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006731/0.1758, allocations: 180 kB / 453.3 MB, free: 10.25 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.001113/0.1769, allocations: 480.8 kB / 453.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.1785, allocations: 0.6523 MB / 454.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1785, allocations: 0 / 454.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.1791, allocations: 227.6 kB / 454.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.1797, allocations: 102.9 kB / 454.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1817, allocations: 0.9681 MB / 455.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1821, allocations: 0.8122 MB / 456.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.1823, allocations: 63.22 kB / 456.6 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.1824, allocations: 35.42 kB / 456.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1824, allocations: 4 kB / 456.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of Templates: time 0.01445/0.1968, allocations: 9.364 MB / 466 MB, free: 13.72 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)