Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05006/0.05006, allocations: 8.031 MB / 24.17 MB, free: 4.859 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.001058/0.001058, allocations: 109.5 kB / 26.74 MB, free: 3.059 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.001368/0.001368, allocations: 202.1 kB / 29.44 MB, free: 380 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.491/1.491, allocations: 222.9 MB / 254.9 MB, free: 4.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01249/0.01249, allocations: 3.118 MB / 309.9 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 86.95 kB / 377 MB, free: 52.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1202, allocations: 51.99 MB / 429 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004111/0.1244, allocations: 3.158 MB / 432.2 MB, free: 17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1273, allocations: 2.118 MB / 434.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.1276, allocations: 11.94 kB / 434.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.128, allocations: 95.2 kB / 434.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.1285, allocations: 150.9 kB / 434.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.1293, allocations: 411.5 kB / 435 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1298, allocations: 0.6231 MB / 435.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.13, allocations: 160.8 kB / 435.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1303, allocations: 251.2 kB / 436 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.1306, allocations: 258.9 kB / 436.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.1307, allocations: 59.94 kB / 436.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1309, allocations: 151.9 kB / 436.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.131, allocations: 123.6 kB / 436.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1312, allocations: 238.8 kB / 436.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1318, allocations: 0.6389 MB / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1318, allocations: 3.984 kB / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1318, allocations: 0 / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1318, allocations: 0 / 437.4 MB, free: 11.73 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.001182/0.133, allocations: 0.8039 MB / 438.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.133, allocations: 16.02 kB / 438.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1332, allocations: 48.38 kB / 438.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1336, allocations: 376.1 kB / 438.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.1337, allocations: 59.27 kB / 438.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.1337, allocations: 39.84 kB / 438.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1344, allocations: 465.4 kB / 439.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1345, allocations: 4 kB / 439.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.1345, allocations: 19.98 kB / 439.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1345, allocations: 8 kB / 439.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.1351, allocations: 331.8 kB / 439.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1369, allocations: 1.346 MB / 440.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.1377, allocations: 386.7 kB / 441.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.138, allocations: 148.8 kB / 441.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.1381, allocations: 12.52 kB / 441.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.1385, allocations: 239.1 kB / 441.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.1386, allocations: 0 / 441.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003611/0.1422, allocations: 1.76 MB / 443.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1422, allocations: 166.2 kB / 443.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.1426, allocations: 328.5 kB / 443.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1426, allocations: 37.7 kB / 444 MB, free: 4.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1428, allocations: 216.5 kB / 444.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.1429, allocations: 130.2 kB / 444.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.143, allocations: 90.02 kB / 444.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.1431, allocations: 346.8 kB / 444.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.1434, allocations: 162.5 kB / 444.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.1438, allocations: 275.4 kB / 445.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.1444, allocations: 351.7 kB / 445.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1444, allocations: 4 kB / 445.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001089/0.1455, allocations: 0.5524 MB / 446.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1455, allocations: 11.98 kB / 446.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1456, allocations: 0 / 446.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.146, allocations: 164.8 kB / 446.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1463, allocations: 79.89 kB / 446.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005457/0.1468, allocations: 0.7123 MB / 447 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.1472, allocations: 47.94 kB / 447.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.1472, allocations: 31.98 kB / 447.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003314/0.1476, allocations: 241 kB / 447.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.1478, allocations: 231.4 kB / 447.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003771/0.1482, allocations: 291.8 kB / 447.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.1482, allocations: 4 kB / 447.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008501/0.1491, allocations: 493.6 kB / 448.3 MB, free: 228 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1491, allocations: 5.094 kB / 448.3 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1491, allocations: 8.219 kB / 448.3 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.1495, allocations: 163.9 kB / 448.5 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1497, allocations: 59.95 kB / 448.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006293/0.1504, allocations: 0.7162 MB / 449.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1507, allocations: 56 kB / 449.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.1507, allocations: 16 kB / 449.4 MB, free: 15.18 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.0001947/0.1509, allocations: 204.2 kB / 449.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.151, allocations: 35.53 kB / 449.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1512, allocations: 56 kB / 449.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1512, allocations: 4 kB / 449.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1512, allocations: 7.984 kB / 449.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1512, allocations: 0 / 449.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.1532, allocations: 1.165 MB / 450.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.1532, allocations: 0 / 450.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.1535, allocations: 71.98 kB / 450.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.1539, allocations: 152.8 kB / 451 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.1539, allocations: 19.98 kB / 451.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005789/0.1545, allocations: 0.6733 MB / 451.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1545, allocations: 4.062 kB / 451.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1561, allocations: 0.7987 MB / 452.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.1563, allocations: 152.5 kB / 452.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.1564, allocations: 15.98 kB / 452.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.1567, allocations: 56 kB / 452.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.1569, allocations: 51.92 kB / 452.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.1569, allocations: 15.98 kB / 452.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1572, allocations: 235 kB / 453 MB, free: 11.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1572, allocations: 0 / 453 MB, free: 11.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006908/0.1579, allocations: 172 kB / 453.2 MB, free: 11.16 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.001153/0.159, allocations: 481.6 kB / 453.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.1606, allocations: 0.6398 MB / 454.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1606, allocations: 0.875 kB / 454.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.1611, allocations: 227.6 kB / 454.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.1618, allocations: 95.22 kB / 454.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1638, allocations: 1.005 MB / 455.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1641, allocations: 0.8083 MB / 456.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1643, allocations: 43.42 kB / 456.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1643, allocations: 0 / 456.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of Templates: time 0.01005/0.1743, allocations: 7.67 MB / 464.2 MB, free: 336 kB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)