Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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/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_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04585/0.04585, allocations: 8.035 MB / 23.92 MB, free: 472 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.001197/0.001197, allocations: 110.8 kB / 26.48 MB, free: 3.457 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.001632/0.001632, allocations: 193.8 kB / 29.16 MB, free: 0.793 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.499/1.499, allocations: 222.9 MB / 254.6 MB, free: 3.266 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01316/0.01316, allocations: 3.122 MB / 309.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 95.11 kB / 376.5 MB, free: 52.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1203, allocations: 51.99 MB / 428.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004137/0.1245, allocations: 3.2 MB / 431.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.1275, allocations: 2.083 MB / 433.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.1279, allocations: 11.94 kB / 433.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.1283, allocations: 79.53 kB / 433.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1288, allocations: 131.2 kB / 434 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.1296, allocations: 366.7 kB / 434.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005036/0.1301, allocations: 0.6154 MB / 435 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.1304, allocations: 156.8 kB / 435.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.1307, allocations: 271 kB / 435.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.131, allocations: 250.9 kB / 435.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.131, allocations: 52 kB / 435.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.1313, allocations: 159.9 kB / 435.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1314, allocations: 127.6 kB / 436 MB, free: 13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1316, allocations: 242.8 kB / 436.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.132, allocations: 490.9 kB / 436.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.132, allocations: 4 kB / 436.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.132, allocations: 0 / 436.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1321, allocations: 0 / 436.7 MB, free: 12.28 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.001171/0.1332, allocations: 0.8079 MB / 437.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1333, allocations: 8.031 kB / 437.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1335, allocations: 52.31 kB / 437.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1338, allocations: 376.1 kB / 438 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.1339, allocations: 55.27 kB / 438 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.134, allocations: 51.83 kB / 438.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.1347, allocations: 461.5 kB / 438.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1347, allocations: 4 kB / 438.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.1348, allocations: 16 kB / 438.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1348, allocations: 8 kB / 438.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.1354, allocations: 335.7 kB / 438.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.1372, allocations: 1.343 MB / 440.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.1381, allocations: 383.3 kB / 440.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.1384, allocations: 148.8 kB / 440.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.1384, allocations: 4.531 kB / 440.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.1389, allocations: 243.9 kB / 441 MB, free: 7.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/0.1389, allocations: 7.922 kB / 441 MB, free: 7.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003561/0.1425, allocations: 1.761 MB / 442.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1426, allocations: 166.2 kB / 442.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.1429, allocations: 332.5 kB / 443.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.1429, allocations: 37.7 kB / 443.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.143, allocations: 212.5 kB / 443.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.1431, allocations: 138.2 kB / 443.6 MB, free: 5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1433, allocations: 90.03 kB / 443.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.1433, allocations: 346.8 kB / 444 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.1437, allocations: 166.5 kB / 444.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.144, allocations: 267.4 kB / 444.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.1446, allocations: 359.7 kB / 444.8 MB, free: 3.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1446, allocations: 3.938 kB / 444.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/0.1457, allocations: 0.5523 MB / 445.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1457, allocations: 8 kB / 445.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1458, allocations: 0 / 445.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.1462, allocations: 160.9 kB / 445.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1465, allocations: 83.89 kB / 445.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/0.147, allocations: 0.7118 MB / 446.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.1474, allocations: 59.92 kB / 446.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.1474, allocations: 16 kB / 446.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003296/0.1477, allocations: 249 kB / 446.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002557/0.148, allocations: 223.5 kB / 446.9 MB, free: 1.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000371/0.1484, allocations: 291.8 kB / 447.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1484, allocations: 0 / 447.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008239/0.1492, allocations: 497.6 kB / 447.6 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1493, allocations: 6.656 kB / 447.6 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1493, allocations: 4 kB / 447.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.1496, allocations: 173 kB / 447.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1498, allocations: 55.92 kB / 447.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000563/0.1504, allocations: 0.7122 MB / 448.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.1507, allocations: 56.03 kB / 448.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1508, allocations: 12 kB / 448.6 MB, free: 15.73 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.0002232/0.151, allocations: 209 kB / 448.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.1511, allocations: 43.52 kB / 448.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1513, allocations: 52 kB / 448.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1513, allocations: 4 kB / 448.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1513, allocations: 0 / 448.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1513, allocations: 4 kB / 448.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.1535, allocations: 1.165 MB / 450.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.1536, allocations: 8 kB / 450.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.1539, allocations: 60.05 kB / 450.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.1543, allocations: 152.7 kB / 450.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.1543, allocations: 11.98 kB / 450.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000735/0.1551, allocations: 0.681 MB / 451 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1551, allocations: 0 / 451 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.1569, allocations: 0.799 MB / 451.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.1571, allocations: 160.5 kB / 452 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.1572, allocations: 16 kB / 452 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1575, allocations: 52 kB / 452 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.1577, allocations: 51.91 kB / 452.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.1577, allocations: 19.98 kB / 452.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.158, allocations: 235.1 kB / 452.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 452.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007438/0.1588, allocations: 179.9 kB / 452.5 MB, free: 11.7 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.001714/0.1605, allocations: 471.7 kB / 453 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.1623, allocations: 0.6477 MB / 453.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1623, allocations: 0 / 453.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.1629, allocations: 236.6 kB / 453.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.1636, allocations: 103.3 kB / 454 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.166, allocations: 1.16 MB / 455.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1666, allocations: 0.8122 MB / 455.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1667, allocations: 43.42 kB / 456 MB, free: 8.355 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1667, allocations: 0 / 456 MB, free: 8.355 MB / 318.1 MB Notification: Performance of Templates: time 0.01262/0.1793, allocations: 7.664 MB / 463.6 MB, free: 0.6953 MB / 318.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)