Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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 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/package.mo) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.045/0.045, allocations: 8.037 MB / 24.34 MB, free: 364 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.0009784/0.0009785, allocations: 100.2 kB / 26.92 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.001174/0.001174, allocations: 197.1 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.365/1.365, allocations: 222.9 MB / 255.1 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01296/0.01296, allocations: 3.131 MB / 310.1 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003232/0.003232, allocations: 95.84 kB / 427.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1044, allocations: 51.97 MB / 479.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004215/0.1087, allocations: 3.278 MB / 482.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.1117, allocations: 2.258 MB / 485.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1119, allocations: 11.94 kB / 485.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.1124, allocations: 135 kB / 485.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.1128, allocations: 162.8 kB / 485.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.1137, allocations: 422.7 kB / 485.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.1143, allocations: 0.6464 MB / 486.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1146, allocations: 157.4 kB / 486.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1149, allocations: 275.1 kB / 486.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1152, allocations: 266.8 kB / 487.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.148e-05/0.1153, allocations: 52 kB / 487.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1156, allocations: 163.9 kB / 487.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1157, allocations: 127.6 kB / 487.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.1159, allocations: 254.7 kB / 487.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.1167, allocations: 0.6693 MB / 488.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1167, allocations: 0 / 488.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1167, allocations: 0 / 488.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.1167, allocations: 0 / 488.4 MB, free: 4.652 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.001364/0.1181, allocations: 0.8537 MB / 489.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1181, allocations: 8.031 kB / 489.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1183, allocations: 60.56 kB / 489.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.1188, allocations: 401 kB / 489.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.1189, allocations: 55.27 kB / 489.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.119, allocations: 39.94 kB / 489.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.1198, allocations: 473.4 kB / 490.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1198, allocations: 7.953 kB / 490.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.1199, allocations: 16 kB / 490.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1199, allocations: 8 kB / 490.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.1207, allocations: 331.8 kB / 490.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1228, allocations: 1.347 MB / 492 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.1238, allocations: 392.9 kB / 492.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.1241, allocations: 148.8 kB / 492.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1242, allocations: 4 kB / 492.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/0.1246, allocations: 247.7 kB / 492.7 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.376e-06/0.1247, allocations: 0 / 492.7 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004138/0.1288, allocations: 1.777 MB / 494.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1289, allocations: 162.2 kB / 494.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.1293, allocations: 365.6 kB / 495 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.1293, allocations: 37.7 kB / 495.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1295, allocations: 232.8 kB / 495.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1296, allocations: 138.8 kB / 495.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1298, allocations: 90.06 kB / 495.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1299, allocations: 350.7 kB / 495.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1303, allocations: 166.5 kB / 496 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.1308, allocations: 271.4 kB / 496.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.1315, allocations: 363.6 kB / 496.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1315, allocations: 0 / 496.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001326/0.1328, allocations: 0.5525 MB / 497.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1329, allocations: 7.984 kB / 497.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1329, allocations: 4 kB / 497.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.1334, allocations: 168.9 kB / 497.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1337, allocations: 75.89 kB / 497.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007239/0.1344, allocations: 0.7084 MB / 498.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1348, allocations: 55.97 kB / 498.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.1349, allocations: 19.98 kB / 498.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003878/0.1353, allocations: 245 kB / 498.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003323/0.1356, allocations: 231.5 kB / 498.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004693/0.1361, allocations: 295.8 kB / 499 MB, free: 9.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.1361, allocations: 0 / 499 MB, free: 9.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001009/0.1371, allocations: 0.4899 MB / 499.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.1371, allocations: 7.938 kB / 499.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1371, allocations: 7.984 kB / 499.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.1375, allocations: 168.6 kB / 499.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1378, allocations: 63.91 kB / 499.7 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006148/0.1384, allocations: 0.7085 MB / 0.4887 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.1387, allocations: 47.94 kB / 0.4887 GB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.1388, allocations: 16 kB / 0.4888 GB, free: 7.938 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.0001476/0.1389, allocations: 216.2 kB / 0.489 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.139, allocations: 43.72 kB / 0.489 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1391, allocations: 52.25 kB / 0.4891 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1391, allocations: 7.922 kB / 0.4891 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1391, allocations: 0 / 0.4891 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.1393, allocations: 152.8 kB / 0.4892 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.1394, allocations: 15.98 kB / 0.4892 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.1398, allocations: 59.94 kB / 0.4893 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1399, allocations: 47.92 kB / 0.4893 GB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00148/0.1414, allocations: 0.5874 MB / 0.4899 GB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001288/0.1427, allocations: 0.7656 MB / 0.4906 GB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003612/0.1431, allocations: 159.9 kB / 0.4908 GB, free: 5.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.1433, allocations: 263.2 kB / 0.4911 GB, free: 5.535 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.1433, allocations: 0 / 0.4911 GB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.1459, allocations: 1.001 MB / 0.492 GB, free: 4.73 MB / 366.1 MB Notification: Performance of SimCode: time 0.001631/0.1476, allocations: 1.423 MB / 0.4934 GB, free: 3.266 MB / 366.1 MB Notification: Performance of Templates: time 0.01525/0.1628, allocations: 10.13 MB / 0.5033 GB, free: 9.188 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)