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-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) 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-main/package.mo): time 0.04963/0.04963, allocations: 8.033 MB / 23.67 MB, free: 260 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.001013/0.001014, allocations: 100.8 kB / 26.25 MB, free: 3.238 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.001156/0.001156, allocations: 198.2 kB / 28.94 MB, free: 0.5586 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 254.4 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.01281/0.01281, allocations: 3.111 MB / 309.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 91.86 kB / 426.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09692, allocations: 51.97 MB / 478.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.005151/0.1021, allocations: 3.277 MB / 482.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.1058, allocations: 2.258 MB / 484.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.106, allocations: 11.94 kB / 484.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.1065, allocations: 131 kB / 484.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.107, allocations: 170.8 kB / 484.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.1079, allocations: 414.5 kB / 485.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1086, allocations: 0.6465 MB / 485.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.1088, allocations: 165.4 kB / 485.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.1092, allocations: 279.1 kB / 486.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.1095, allocations: 254.8 kB / 486.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.1096, allocations: 52 kB / 486.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.1099, allocations: 167.8 kB / 486.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1101, allocations: 127.6 kB / 486.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1103, allocations: 254.6 kB / 487 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.1111, allocations: 0.6732 MB / 487.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1111, allocations: 0 / 487.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1111, allocations: 0 / 487.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1111, allocations: 4 kB / 487.7 MB, free: 4.637 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.001403/0.1125, allocations: 0.8458 MB / 488.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1126, allocations: 12.03 kB / 488.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1128, allocations: 64.55 kB / 488.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.1133, allocations: 397 kB / 489 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.1134, allocations: 55.27 kB / 489.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.1135, allocations: 39.94 kB / 489.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/0.1144, allocations: 469.4 kB / 489.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1144, allocations: 3.953 kB / 489.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.1144, allocations: 16 kB / 489.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1145, allocations: 11.94 kB / 489.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.1153, allocations: 331.8 kB / 489.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1175, allocations: 1.347 MB / 491.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/0.1185, allocations: 394.8 kB / 491.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.1189, allocations: 152.8 kB / 491.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.119, allocations: 4 kB / 491.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.1194, allocations: 235.7 kB / 492 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/0.1194, allocations: 0 / 492 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004258/0.1237, allocations: 1.785 MB / 493.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1238, allocations: 166.2 kB / 494 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1242, allocations: 373.6 kB / 494.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.1243, allocations: 37.7 kB / 494.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1244, allocations: 212.9 kB / 494.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1245, allocations: 138.8 kB / 494.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1247, allocations: 90.06 kB / 494.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1249, allocations: 350.8 kB / 495.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.1252, allocations: 170.5 kB / 495.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.1257, allocations: 271.3 kB / 495.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.1264, allocations: 359.6 kB / 495.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1264, allocations: 0 / 495.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00131/0.1278, allocations: 0.5641 MB / 496.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1278, allocations: 4 kB / 496.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1278, allocations: 4.219 kB / 496.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.1283, allocations: 164.8 kB / 496.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.1286, allocations: 75.89 kB / 496.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007114/0.1293, allocations: 0.7122 MB / 497.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.1297, allocations: 59.98 kB / 497.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.1298, allocations: 20 kB / 497.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003828/0.1302, allocations: 244.9 kB / 497.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003382/0.1305, allocations: 231.5 kB / 498 MB, free: 9.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004934/0.131, allocations: 295.8 kB / 498.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.131, allocations: 3.938 kB / 498.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001042/0.1321, allocations: 493.9 kB / 498.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1321, allocations: 8 kB / 498.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.1321, allocations: 0 / 498.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.1325, allocations: 168.8 kB / 499 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1327, allocations: 63.91 kB / 499 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006172/0.1333, allocations: 0.7046 MB / 499.7 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.1337, allocations: 52 kB / 499.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.1337, allocations: 16 kB / 499.8 MB, free: 7.934 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.0001686/0.1339, allocations: 212.1 kB / 0.4883 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.134, allocations: 43.72 kB / 0.4883 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.1341, allocations: 64.12 kB / 0.4884 GB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1341, allocations: 4 kB / 0.4884 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1342, allocations: 4 kB / 0.4884 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1342, allocations: 0 / 0.4884 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.1363, allocations: 1.177 MB / 0.4895 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1363, allocations: 128 / 0.4895 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.1366, allocations: 67.97 kB / 0.4896 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.137, allocations: 152.7 kB / 0.4898 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.1371, allocations: 19.92 kB / 0.4898 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/0.1377, allocations: 0.6773 MB / 0.4904 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1377, allocations: 0 / 0.4904 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.1394, allocations: 0.7965 MB / 0.4912 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.1396, allocations: 156.7 kB / 0.4914 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.1397, allocations: 16 kB / 0.4914 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.14, allocations: 59.86 kB / 0.4914 GB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.1402, allocations: 55.98 kB / 0.4915 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.1402, allocations: 15.98 kB / 0.4915 GB, free: 4.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.1405, allocations: 259.2 kB / 0.4917 GB, free: 4.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1405, allocations: 0 / 0.4917 GB, free: 4.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006632/0.1412, allocations: 179.9 kB / 0.4919 GB, free: 3.852 MB / 366.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.001043/0.1422, allocations: 480.9 kB / 0.4924 GB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1438, allocations: 0.6437 MB / 0.493 GB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1439, allocations: 0 / 0.493 GB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.1445, allocations: 236.4 kB / 0.4932 GB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.1451, allocations: 107.7 kB / 0.4933 GB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1472, allocations: 1.018 MB / 0.4943 GB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1476, allocations: 0.8161 MB / 0.4951 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.1478, allocations: 67.25 kB / 0.4952 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.148, allocations: 43.42 kB / 0.4952 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.148, allocations: 0 / 0.4952 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of Templates: time 0.01498/0.1629, allocations: 9.684 MB / 0.5047 GB, free: 6.938 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)