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.0487/0.0487, allocations: 8.03 MB / 23.53 MB, free: 348 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.0009637/0.0009639, allocations: 103.4 kB / 26.11 MB, free: 3.324 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.001276/0.001276, allocations: 203 kB / 28.81 MB, free: 0.6406 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.329/1.329, allocations: 222.9 MB / 254.2 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01186/0.01186, allocations: 3.123 MB / 309.3 MB, free: 2.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 90.75 kB / 376.5 MB, free: 52.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1061, allocations: 51.98 MB / 428.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004541/0.1107, allocations: 3.162 MB / 431.6 MB, free: 16.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1135, allocations: 2.126 MB / 433.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.1137, allocations: 11.94 kB / 433.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.1141, allocations: 95.2 kB / 433.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1145, allocations: 150.9 kB / 434 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1152, allocations: 414.2 kB / 434.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1157, allocations: 0.6193 MB / 435 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1159, allocations: 156.8 kB / 435.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1161, allocations: 263.1 kB / 435.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1164, allocations: 247 kB / 435.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.1165, allocations: 48 kB / 435.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1167, allocations: 163.8 kB / 435.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1169, allocations: 123.6 kB / 436 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.117, allocations: 234.8 kB / 436.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.1176, allocations: 0.639 MB / 436.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1176, allocations: 4 kB / 436.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1177, allocations: 0 / 436.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1177, allocations: 0 / 436.8 MB, free: 11.64 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.001225/0.1189, allocations: 0.8078 MB / 437.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1189, allocations: 8.031 kB / 437.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1191, allocations: 52.38 kB / 437.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1195, allocations: 376.1 kB / 438.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/0.1196, allocations: 55.25 kB / 438.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.1197, allocations: 47.78 kB / 438.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.1204, allocations: 465.5 kB / 438.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.1204, allocations: 4 kB / 438.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1205, allocations: 15.98 kB / 438.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1205, allocations: 8 kB / 438.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.1212, allocations: 339.7 kB / 439 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.123, allocations: 1.335 MB / 440.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.1239, allocations: 392.1 kB / 440.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.1242, allocations: 152.8 kB / 440.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.1243, allocations: 4.531 kB / 440.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.1248, allocations: 243 kB / 441.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.1248, allocations: 0 / 441.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003769/0.1286, allocations: 1.764 MB / 442.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.1287, allocations: 166.1 kB / 443 MB, free: 5.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.129, allocations: 324.5 kB / 443.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.129, allocations: 41.69 kB / 443.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1292, allocations: 212.5 kB / 443.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.1293, allocations: 130.2 kB / 443.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1294, allocations: 86.02 kB / 443.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.1295, allocations: 346.8 kB / 444.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.1299, allocations: 170.5 kB / 444.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1303, allocations: 267.4 kB / 444.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.1309, allocations: 363.7 kB / 444.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1309, allocations: 0 / 444.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001107/0.132, allocations: 0.5522 MB / 445.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.132, allocations: 8.219 kB / 445.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1321, allocations: 4 kB / 445.5 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.1324, allocations: 163.8 kB / 445.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.1327, allocations: 75.88 kB / 445.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005196/0.1332, allocations: 0.7162 MB / 446.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.1336, allocations: 55.97 kB / 446.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.1336, allocations: 16 kB / 446.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00031/0.134, allocations: 245 kB / 446.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002683/0.1342, allocations: 231.5 kB / 447 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000388/0.1346, allocations: 295.8 kB / 447.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.1346, allocations: 4 kB / 447.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008356/0.1355, allocations: 489.6 kB / 447.8 MB, free: 144 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.1355, allocations: 8 kB / 447.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.1355, allocations: 0 / 447.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.1359, allocations: 160.9 kB / 447.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.1361, allocations: 67.91 kB / 448 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006631/0.1368, allocations: 0.7162 MB / 448.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.1371, allocations: 43.89 kB / 448.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.1372, allocations: 16 kB / 448.8 MB, free: 15.11 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.0001741/0.1373, allocations: 216.2 kB / 449 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.1374, allocations: 39.53 kB / 449 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1375, allocations: 52 kB / 449.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.1375, allocations: 4 kB / 449.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1376, allocations: 0 / 449.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1376, allocations: 4.109 kB / 449.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.1396, allocations: 1.173 MB / 450.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1396, allocations: 0 / 450.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.1399, allocations: 67.95 kB / 450.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.1403, allocations: 152.8 kB / 450.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.1403, allocations: 15.98 kB / 450.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.141, allocations: 0.6772 MB / 451.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.141, allocations: 4.031 kB / 451.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1427, allocations: 0.791 MB / 451.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1429, allocations: 164.5 kB / 452.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.143, allocations: 8 kB / 452.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.1434, allocations: 51.94 kB / 452.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.1435, allocations: 59.97 kB / 452.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.1436, allocations: 19.98 kB / 452.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.1438, allocations: 227.1 kB / 452.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1438, allocations: 0 / 452.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006427/0.1445, allocations: 180 kB / 452.6 MB, free: 11.07 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.001114/0.1456, allocations: 481.4 kB / 453.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.1474, allocations: 0.6441 MB / 453.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1474, allocations: 7.938 kB / 453.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.1481, allocations: 227.5 kB / 454 MB, free: 9.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.1487, allocations: 103.6 kB / 454.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.151, allocations: 0.9602 MB / 455 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1514, allocations: 0.82 MB / 455.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.1516, allocations: 63.23 kB / 455.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.1517, allocations: 35.42 kB / 456 MB, free: 7.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1517, allocations: 0 / 456 MB, free: 7.855 MB / 318.1 MB Notification: Performance of Templates: time 0.01457/0.1663, allocations: 9.369 MB / 465.3 MB, free: 14.54 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)