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.05272/0.05273, allocations: 8.315 MB / 23.43 MB, free: 292 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.001457/0.001457, allocations: 115.3 kB / 26.08 MB, free: 3.219 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.002164/0.002165, allocations: 195.2 kB / 28.81 MB, free: 496 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.395/1.395, allocations: 222.9 MB / 254.3 MB, free: 2.965 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01546/0.01546, allocations: 3.131 MB / 309.4 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 95.8 kB / 376.3 MB, free: 52.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 52.05 MB / 428.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.00493/0.1335, allocations: 3.201 MB / 431.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.137, allocations: 2.099 MB / 433.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.1376, allocations: 7.938 kB / 433.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.1382, allocations: 75.47 kB / 433.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.1389, allocations: 123.3 kB / 433.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.14, allocations: 361.9 kB / 434.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.1408, allocations: 0.5879 MB / 434.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1411, allocations: 136.8 kB / 434.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.1416, allocations: 231.1 kB / 435.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.142, allocations: 238.9 kB / 435.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.1421, allocations: 28 kB / 435.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.1425, allocations: 131.9 kB / 435.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1427, allocations: 103.6 kB / 435.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.1429, allocations: 210.8 kB / 435.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.1437, allocations: 0.6233 MB / 436.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1437, allocations: 4 kB / 436.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1437, allocations: 0 / 436.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1437, allocations: 0 / 436.5 MB, free: 11.74 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.001708/0.1454, allocations: 0.8001 MB / 437.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1455, allocations: 8.031 kB / 437.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.1457, allocations: 56.38 kB / 437.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.1462, allocations: 368.1 kB / 437.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/0.1463, allocations: 59.25 kB / 437.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.1464, allocations: 43.84 kB / 437.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.1473, allocations: 465.5 kB / 438.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1473, allocations: 4 kB / 438.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.1474, allocations: 16 kB / 438.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1474, allocations: 8 kB / 438.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.1481, allocations: 335.7 kB / 438.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1502, allocations: 1.35 MB / 440 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.1512, allocations: 387.6 kB / 440.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1515, allocations: 156.7 kB / 440.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.1516, allocations: 4.531 kB / 440.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.1521, allocations: 243.6 kB / 440.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.1521, allocations: 0 / 440.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003936/0.1561, allocations: 1.757 MB / 442.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.1562, allocations: 174.1 kB / 442.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1565, allocations: 324.5 kB / 443 MB, free: 4.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.1566, allocations: 41.69 kB / 443 MB, free: 4.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1567, allocations: 208.5 kB / 443.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.1568, allocations: 130.2 kB / 443.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.157, allocations: 94.02 kB / 443.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.157, allocations: 346.8 kB / 443.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.1574, allocations: 170.5 kB / 443.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.1578, allocations: 259.4 kB / 444.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.1585, allocations: 359.7 kB / 444.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1585, allocations: 0 / 444.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001179/0.1597, allocations: 0.5562 MB / 445.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1597, allocations: 4 kB / 445.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1597, allocations: 8.219 kB / 445.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.1602, allocations: 153.5 kB / 445.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.1605, allocations: 87.81 kB / 445.3 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006285/0.1611, allocations: 0.7077 MB / 446.1 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.1615, allocations: 60 kB / 446.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.1616, allocations: 16 kB / 446.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003463/0.1619, allocations: 245 kB / 446.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002826/0.1622, allocations: 231.4 kB / 446.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004242/0.1627, allocations: 291.8 kB / 446.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.1627, allocations: 0 / 446.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009228/0.1636, allocations: 489.8 kB / 447.4 MB, free: 260 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1636, allocations: 8 kB / 447.4 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1636, allocations: 3.938 kB / 447.4 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.164, allocations: 168.7 kB / 447.5 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1642, allocations: 64.03 kB / 447.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007034/0.1649, allocations: 0.7124 MB / 448.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.1653, allocations: 48.02 kB / 448.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.1653, allocations: 12 kB / 448.4 MB, free: 15.21 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.0002066/0.1656, allocations: 216.9 kB / 448.6 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.1656, allocations: 39.53 kB / 448.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1658, allocations: 52 kB / 448.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1658, allocations: 7.938 kB / 448.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.1658, allocations: 4 kB / 448.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1658, allocations: 3.984 kB / 448.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.1681, allocations: 1.165 MB / 449.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1681, allocations: 0 / 449.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.1684, allocations: 71.98 kB / 449.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.1688, allocations: 144.7 kB / 450.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.1689, allocations: 11.98 kB / 450.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/0.1695, allocations: 0.681 MB / 450.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1695, allocations: 0 / 450.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.1712, allocations: 0.7988 MB / 451.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.1714, allocations: 152.5 kB / 451.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.1715, allocations: 16 kB / 451.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1719, allocations: 52 kB / 451.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.1721, allocations: 55.91 kB / 451.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.1721, allocations: 16.03 kB / 451.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.1724, allocations: 239 kB / 452.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 0 / 452.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.1731, allocations: 176 kB / 452.2 MB, free: 11.18 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.001276/0.1744, allocations: 491.4 kB / 452.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.1761, allocations: 0.6283 MB / 453.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.1761, allocations: 0 / 453.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.1767, allocations: 236.4 kB / 453.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.1774, allocations: 96.34 kB / 453.7 MB, free: 9.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1798, allocations: 1.115 MB / 454.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.1802, allocations: 0.816 MB / 455.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.1805, allocations: 63.23 kB / 455.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1806, allocations: 39.42 kB / 455.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1807, allocations: 0 / 455.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of Templates: time 0.0167/0.1974, allocations: 8.922 MB / 464.6 MB, free: 14.95 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)