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-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_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-main/package.mo): time 2.896/2.896, allocations: 8.037 MB / 24.29 MB, free: 4.785 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.001457/0.001457, allocations: 107.9 kB / 26.87 MB, free: 2.945 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.001966/0.001966, allocations: 191.3 kB / 29.57 MB, free: 264 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.428/1.428, allocations: 222.9 MB / 255 MB, free: 4.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01216/0.01216, allocations: 3.111 MB / 310.1 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 90.67 kB / 377.9 MB, free: 52.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 51.99 MB / 429.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004578/0.1188, allocations: 3.164 MB / 433.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1218, allocations: 2.134 MB / 435.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.1222, allocations: 8 kB / 435.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.1227, allocations: 99.16 kB / 435.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1233, allocations: 146.9 kB / 435.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.1242, allocations: 410.9 kB / 435.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.1249, allocations: 0.6231 MB / 436.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1251, allocations: 152.8 kB / 436.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.1255, allocations: 263.1 kB / 436.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.1259, allocations: 254.9 kB / 437.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.126, allocations: 48 kB / 437.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.1263, allocations: 159.9 kB / 437.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1264, allocations: 123.6 kB / 437.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1266, allocations: 238.8 kB / 437.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.1273, allocations: 0.6503 MB / 438.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1273, allocations: 0 / 438.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1273, allocations: 0 / 438.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1273, allocations: 0 / 438.3 MB, free: 10.75 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.001332/0.1287, allocations: 0.8079 MB / 439.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1287, allocations: 8.031 kB / 439.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.1289, allocations: 52.38 kB / 439.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1294, allocations: 388.1 kB / 439.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.1295, allocations: 55.27 kB / 439.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.1295, allocations: 43.83 kB / 439.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1302, allocations: 461.5 kB / 440.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1303, allocations: 7.984 kB / 440.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.1303, allocations: 16 kB / 440.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1303, allocations: 11.94 kB / 440.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.131, allocations: 331.7 kB / 440.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.1328, allocations: 1.335 MB / 441.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.1337, allocations: 383.8 kB / 442.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.134, allocations: 148.8 kB / 442.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.134, allocations: 4.531 kB / 442.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.1345, allocations: 243.1 kB / 442.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1345, allocations: 0 / 442.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003856/0.1384, allocations: 1.769 MB / 444.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.1385, allocations: 166.2 kB / 444.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.1388, allocations: 328.4 kB / 444.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.1389, allocations: 37.7 kB / 444.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.139, allocations: 212.5 kB / 445.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1392, allocations: 142.1 kB / 445.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1393, allocations: 90.02 kB / 445.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.1394, allocations: 342.8 kB / 445.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.1397, allocations: 166.5 kB / 445.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.1401, allocations: 267.4 kB / 446.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.1407, allocations: 355.7 kB / 446.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1407, allocations: 4 kB / 446.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001087/0.1418, allocations: 0.5523 MB / 447 MB, free: 1.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1419, allocations: 4 kB / 447 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1419, allocations: 4 kB / 447 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.1423, allocations: 161.5 kB / 447.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.1426, allocations: 71.94 kB / 447.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005843/0.1432, allocations: 0.7199 MB / 447.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.1436, allocations: 63.94 kB / 448 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.1436, allocations: 12 kB / 448 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003431/0.144, allocations: 249 kB / 448.2 MB, free: 332 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000275/0.1443, allocations: 227.5 kB / 448.5 MB, free: 60 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005481/0.1448, allocations: 295.8 kB / 448.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.1448, allocations: 4 kB / 448.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00102/0.1459, allocations: 485.6 kB / 449.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1459, allocations: 8 kB / 449.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1459, allocations: 0 / 449.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.1463, allocations: 168.9 kB / 449.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.1465, allocations: 72.03 kB / 449.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006863/0.1472, allocations: 0.7045 MB / 450.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.1476, allocations: 51.88 kB / 450.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.1476, allocations: 16 kB / 450.2 MB, free: 14.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.000195/0.1478, allocations: 208.2 kB / 450.5 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.1479, allocations: 43.59 kB / 450.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.1481, allocations: 55.94 kB / 450.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1481, allocations: 4 kB / 450.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1481, allocations: 0 / 450.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1481, allocations: 0 / 450.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.1503, allocations: 1.161 MB / 451.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1503, allocations: 4 kB / 451.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.1506, allocations: 67.98 kB / 451.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000375/0.151, allocations: 144.8 kB / 451.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.1511, allocations: 15.98 kB / 451.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007563/0.1518, allocations: 0.681 MB / 452.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1518, allocations: 0 / 452.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1535, allocations: 0.7924 MB / 453.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.1537, allocations: 156.5 kB / 453.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.1538, allocations: 16 kB / 453.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.1542, allocations: 52 kB / 453.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1543, allocations: 59.66 kB / 453.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.1544, allocations: 19.98 kB / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1547, allocations: 231.1 kB / 453.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1547, allocations: 3.938 kB / 453.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007256/0.1554, allocations: 172 kB / 454.1 MB, free: 10.19 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.001328/0.1567, allocations: 483.6 kB / 454.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1585, allocations: 0.6397 MB / 455.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1585, allocations: 4 kB / 455.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.1591, allocations: 228.8 kB / 455.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.1597, allocations: 107.5 kB / 455.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1622, allocations: 0.9557 MB / 456.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.1628, allocations: 0.8199 MB / 457.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.1631, allocations: 67.22 kB / 457.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1632, allocations: 35.42 kB / 457.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1632, allocations: 0 / 457.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01801/0.1812, allocations: 9.369 MB / 466.8 MB, free: 13.66 MB / 334.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 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)