Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04759/0.04759, allocations: 8.03 MB / 24.34 MB, free: 380 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.001025/0.001025, allocations: 106.9 kB / 26.93 MB, free: 3.09 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.001081/0.001081, allocations: 197.9 kB / 29.63 MB, free: 412 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.321/1.321, allocations: 222.9 MB / 255.1 MB, free: 4.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01282/0.01282, allocations: 3.121 MB / 310.1 MB, free: 2.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 91.86 kB / 427.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08629, allocations: 51.97 MB / 479.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004584/0.09091, allocations: 3.274 MB / 482.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.09423, allocations: 2.266 MB / 485.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.09447, allocations: 11.94 kB / 485.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.09495, allocations: 131 kB / 485.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.09535, allocations: 162.8 kB / 485.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.09614, allocations: 414.3 kB / 485.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.09675, allocations: 0.6503 MB / 486.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.09701, allocations: 165.4 kB / 486.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.09732, allocations: 279 kB / 486.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.09767, allocations: 258.9 kB / 487.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.09776, allocations: 52 kB / 487.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.09804, allocations: 163.9 kB / 487.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.09817, allocations: 127.6 kB / 487.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.09841, allocations: 262.6 kB / 487.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007371/0.09915, allocations: 0.6693 MB / 488.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09917, allocations: 0 / 488.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09918, allocations: 4 kB / 488.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.09919, allocations: 0 / 488.4 MB, free: 4.559 MB / 350.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.001433/0.1006, allocations: 0.8419 MB / 489.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1007, allocations: 8.031 kB / 489.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1009, allocations: 60.56 kB / 489.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.1015, allocations: 405 kB / 489.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.1015, allocations: 59.27 kB / 489.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.1016, allocations: 35.94 kB / 489.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.1025, allocations: 465.4 kB / 490.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1025, allocations: 7.953 kB / 490.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1025, allocations: 16 kB / 490.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.1026, allocations: 8 kB / 490.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.1033, allocations: 331.7 kB / 490.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1055, allocations: 1.343 MB / 492 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1065, allocations: 403.8 kB / 492.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.1069, allocations: 148.7 kB / 492.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.1069, allocations: 7.984 kB / 492.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.1074, allocations: 243.6 kB / 492.7 MB, free: 4 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.1074, allocations: 0 / 492.7 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004178/0.1116, allocations: 1.781 MB / 494.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1117, allocations: 162.2 kB / 494.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1121, allocations: 365.6 kB / 495 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.1121, allocations: 41.69 kB / 495.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1123, allocations: 216.8 kB / 495.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1124, allocations: 138.8 kB / 495.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.1126, allocations: 90.06 kB / 495.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1128, allocations: 358.7 kB / 495.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.1134, allocations: 166.5 kB / 496 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.1139, allocations: 271 kB / 496.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.1146, allocations: 363.6 kB / 496.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1146, allocations: 4 kB / 496.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001275/0.1159, allocations: 0.5603 MB / 497.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1159, allocations: 8 kB / 497.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.116, allocations: 0 / 497.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.1164, allocations: 160.9 kB / 497.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1167, allocations: 79.89 kB / 497.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000664/0.1174, allocations: 0.7085 MB / 498.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.1178, allocations: 51.94 kB / 498.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.1179, allocations: 23.98 kB / 498.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003892/0.1182, allocations: 248.9 kB / 498.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003287/0.1186, allocations: 231.5 kB / 498.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004699/0.1191, allocations: 283.8 kB / 499 MB, free: 9.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.1191, allocations: 0 / 499 MB, free: 9.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001005/0.1201, allocations: 0.4939 MB / 499.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1201, allocations: 8 kB / 499.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1201, allocations: 3.938 kB / 499.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.1205, allocations: 164.9 kB / 499.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.1208, allocations: 63.91 kB / 499.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006215/0.1214, allocations: 0.7124 MB / 0.4887 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.1218, allocations: 47.94 kB / 0.4887 GB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.1218, allocations: 20.12 kB / 0.4888 GB, free: 7.855 MB / 366.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.000156/0.122, allocations: 208.1 kB / 0.489 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.122, allocations: 47.78 kB / 0.489 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1222, allocations: 56.23 kB / 0.4891 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1222, allocations: 3.938 kB / 0.4891 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1222, allocations: 0 / 0.4891 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1224, allocations: 160.8 kB / 0.4892 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.1225, allocations: 15.98 kB / 0.4892 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.1228, allocations: 47.94 kB / 0.4893 GB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1229, allocations: 51.92 kB / 0.4893 GB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001502/0.1244, allocations: 0.5982 MB / 0.4899 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001333/0.1258, allocations: 0.7578 MB / 0.4906 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003885/0.1262, allocations: 163.9 kB / 0.4908 GB, free: 5.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1265, allocations: 259.2 kB / 0.4911 GB, free: 5.457 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.1265, allocations: 0 / 0.4911 GB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.1291, allocations: 0.9977 MB / 0.492 GB, free: 4.652 MB / 366.1 MB Notification: Performance of SimCode: time 0.001702/0.1309, allocations: 1.437 MB / 0.4934 GB, free: 3.176 MB / 366.1 MB Notification: Performance of Templates: time 0.01676/0.1476, allocations: 10.12 MB / 0.5033 GB, free: 9.105 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)