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.04255/0.04255, allocations: 8.587 MB / 24.72 MB, free: 4.375 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.00114/0.00114, allocations: 109.2 kB / 27.44 MB, free: 2.406 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.001144/0.001144, allocations: 194 kB / 30.26 MB, free: 6.133 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 255.8 MB, free: 4.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01263/0.01263, allocations: 3.135 MB / 311 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001819, allocations: 90.73 kB / 378.3 MB, free: 52.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1159, allocations: 52.12 MB / 430.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003951/0.1199, allocations: 3.159 MB / 433.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1225, allocations: 2.118 MB / 435.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1227, allocations: 11.94 kB / 435.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.1231, allocations: 99.16 kB / 435.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.1235, allocations: 147 kB / 435.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.1242, allocations: 410.5 kB / 436.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.1246, allocations: 0.6309 MB / 436.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1249, allocations: 152.8 kB / 437.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1251, allocations: 259.2 kB / 437.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.1254, allocations: 247 kB / 437.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.1255, allocations: 51.94 kB / 437.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.1257, allocations: 155.9 kB / 437.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1258, allocations: 119.6 kB / 437.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.126, allocations: 242.8 kB / 438.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.1265, allocations: 0.6429 MB / 438.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1265, allocations: 0 / 438.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1265, allocations: 0 / 438.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1265, allocations: 0 / 438.8 MB, free: 10.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.001148/0.1277, allocations: 0.8039 MB / 439.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1277, allocations: 12.03 kB / 439.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1279, allocations: 52.38 kB / 439.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1283, allocations: 372.1 kB / 440 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.1283, allocations: 55.27 kB / 440.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.1284, allocations: 43.84 kB / 440.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1291, allocations: 469.4 kB / 440.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1291, allocations: 0 / 440.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.1291, allocations: 16 kB / 440.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1291, allocations: 8 kB / 440.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.1298, allocations: 339.7 kB / 440.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1314, allocations: 1.346 MB / 442.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.1323, allocations: 380.2 kB / 442.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.1326, allocations: 152.8 kB / 442.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.1326, allocations: 4.531 kB / 442.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1331, allocations: 243.1 kB / 443 MB, free: 5.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.1332, allocations: 0 / 443 MB, free: 5.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003493/0.1367, allocations: 1.76 MB / 444.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1367, allocations: 166.1 kB / 445 MB, free: 3.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.137, allocations: 336.4 kB / 445.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1371, allocations: 37.7 kB / 445.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.1372, allocations: 208.5 kB / 445.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.1372, allocations: 134.2 kB / 445.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1374, allocations: 90.03 kB / 445.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.1374, allocations: 350.8 kB / 446.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1378, allocations: 162.5 kB / 446.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.1381, allocations: 267.4 kB / 446.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1387, allocations: 355.7 kB / 446.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1387, allocations: 4 kB / 446.9 MB, free: 1.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001031/0.1397, allocations: 0.5602 MB / 447.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1398, allocations: 9.875 kB / 447.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1398, allocations: 0 / 447.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.1402, allocations: 156.8 kB / 447.6 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.1404, allocations: 79.89 kB / 447.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005024/0.141, allocations: 0.716 MB / 448.4 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.1413, allocations: 55.92 kB / 448.4 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.1414, allocations: 23.94 kB / 448.5 MB, free: 92 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003596/0.1417, allocations: 241 kB / 448.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003051/0.142, allocations: 231.5 kB / 448.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004327/0.1425, allocations: 291.8 kB / 449.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.1425, allocations: 0 / 449.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009286/0.1434, allocations: 497.7 kB / 449.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1434, allocations: 4 kB / 449.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1435, allocations: 4 kB / 449.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/0.1438, allocations: 164.9 kB / 449.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.144, allocations: 63.91 kB / 449.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005938/0.1446, allocations: 0.7162 MB / 450.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.145, allocations: 51.94 kB / 450.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.145, allocations: 12 kB / 450.7 MB, free: 13.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.0001593/0.1452, allocations: 212.3 kB / 450.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.1453, allocations: 35.53 kB / 450.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1454, allocations: 59.98 kB / 451 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1454, allocations: 4 kB / 451 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1454, allocations: 4.125 kB / 451 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1454, allocations: 0 / 451 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.1474, allocations: 1.173 MB / 452.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1474, allocations: 4 kB / 452.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.1477, allocations: 63.89 kB / 452.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.148, allocations: 156.7 kB / 452.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.1481, allocations: 11.98 kB / 452.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005535/0.1486, allocations: 0.6772 MB / 453.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1486, allocations: 7.922 kB / 453.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1502, allocations: 0.795 MB / 453.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1503, allocations: 152.5 kB / 454 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.1504, allocations: 15.98 kB / 454.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.1508, allocations: 51.94 kB / 454.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1509, allocations: 55.92 kB / 454.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1509, allocations: 19.98 kB / 454.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.1512, allocations: 235 kB / 454.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1512, allocations: 4 kB / 454.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006195/0.1518, allocations: 172 kB / 454.6 MB, free: 9.699 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.001062/0.1529, allocations: 477.1 kB / 455.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.1544, allocations: 0.6362 MB / 455.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1544, allocations: 0 / 455.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.155, allocations: 232.2 kB / 455.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.1555, allocations: 99.55 kB / 456 MB, free: 8.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1575, allocations: 0.9757 MB / 457 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1578, allocations: 0.8122 MB / 457.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.158, allocations: 67.17 kB / 457.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1581, allocations: 39.42 kB / 457.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1582, allocations: 0 / 457.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of Templates: time 0.0135/0.1717, allocations: 9.354 MB / 467.3 MB, free: 13.19 MB / 334.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 -s cvode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)