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-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_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-main/package.mo): time 0.04326/0.04326, allocations: 8.036 MB / 24.34 MB, free: 400 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.0009845/0.0009846, allocations: 103.8 kB / 26.92 MB, free: 3.117 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.001127/0.001127, allocations: 194.9 kB / 29.63 MB, free: 436 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.43/1.43, 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 main/package.mo): time 0.01263/0.01263, allocations: 3.126 MB / 310.1 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 91.86 kB / 427.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08728, allocations: 51.97 MB / 479.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004465/0.09177, allocations: 3.283 MB / 482.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.09514, allocations: 2.25 MB / 485.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.09543, allocations: 11.94 kB / 485.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.09591, allocations: 138.9 kB / 485.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.09638, allocations: 170.7 kB / 485.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.09722, allocations: 406.9 kB / 485.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.09782, allocations: 0.6426 MB / 486.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.09808, allocations: 169.4 kB / 486.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.09838, allocations: 278.9 kB / 486.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.09871, allocations: 270.8 kB / 487.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.0988, allocations: 52 kB / 487.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.09906, allocations: 163.9 kB / 487.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.09919, allocations: 119.6 kB / 487.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.0994, allocations: 250.7 kB / 487.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.1001, allocations: 0.6693 MB / 488.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1001, allocations: 4 kB / 488.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1002, allocations: 4 kB / 488.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1002, allocations: 0 / 488.4 MB, free: 4.629 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.0014/0.1016, allocations: 0.8497 MB / 489.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1016, allocations: 12.03 kB / 489.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1018, allocations: 60.56 kB / 489.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.1023, allocations: 397 kB / 489.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.1024, allocations: 55.27 kB / 489.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.1025, allocations: 39.94 kB / 489.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.1033, allocations: 461.5 kB / 490.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1034, allocations: 11.94 kB / 490.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1034, allocations: 12 kB / 490.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1034, allocations: 12 kB / 490.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.1042, allocations: 339.7 kB / 490.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1064, allocations: 1.347 MB / 492 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1075, allocations: 389.4 kB / 492.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.1078, allocations: 152.8 kB / 492.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.1079, allocations: 4 kB / 492.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.1084, allocations: 239.6 kB / 492.7 MB, free: 76 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.868e-06/0.1084, allocations: 7.984 kB / 492.7 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004395/0.1128, allocations: 1.781 MB / 494.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.1129, allocations: 162.2 kB / 494.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1133, allocations: 369.6 kB / 495 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.1134, allocations: 37.7 kB / 495.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1136, allocations: 220.8 kB / 495.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1137, allocations: 142.8 kB / 495.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1138, allocations: 90.06 kB / 495.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.114, allocations: 354.8 kB / 495.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.1144, allocations: 162.5 kB / 496 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.1148, allocations: 267.4 kB / 496.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.1156, allocations: 359.6 kB / 496.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1156, allocations: 3.938 kB / 496.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001256/0.1169, allocations: 0.5526 MB / 497.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1169, allocations: 12 kB / 497.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1169, allocations: 3.984 kB / 497.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.1173, allocations: 164.8 kB / 497.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.1177, allocations: 75.89 kB / 497.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006505/0.1183, allocations: 0.7119 MB / 498.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.1187, allocations: 60 kB / 498.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1188, allocations: 19.92 kB / 498.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003648/0.1192, allocations: 248.9 kB / 498.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003215/0.1195, allocations: 231.5 kB / 498.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004502/0.1199, allocations: 291.8 kB / 499 MB, free: 9.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.12, allocations: 0 / 499 MB, free: 9.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009788/0.1209, allocations: 0.4939 MB / 499.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.121, allocations: 4 kB / 499.5 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.121, allocations: 4 kB / 499.5 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.1214, allocations: 156.9 kB / 499.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.1216, allocations: 67.91 kB / 499.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006059/0.1222, allocations: 0.7085 MB / 0.4887 GB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.1226, allocations: 43.95 kB / 0.4887 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1226, allocations: 23.98 kB / 0.4888 GB, free: 7.922 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.0001737/0.1228, allocations: 208.1 kB / 0.4889 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.1229, allocations: 47.72 kB / 0.489 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.123, allocations: 60.23 kB / 0.4891 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.123, allocations: 4 kB / 0.4891 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.123, allocations: 3.984 kB / 0.4891 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1231, allocations: 0 / 0.4891 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1252, allocations: 1.173 MB / 0.4902 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1252, allocations: 4 kB / 0.4902 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.1255, allocations: 71.98 kB / 0.4903 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.1259, allocations: 148.7 kB / 0.4904 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.1259, allocations: 11.98 kB / 0.4904 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006108/0.1265, allocations: 0.6772 MB / 0.4911 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1265, allocations: 3.938 kB / 0.4911 GB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.1282, allocations: 0.7926 MB / 0.4919 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.1284, allocations: 168.8 kB / 0.492 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.1285, allocations: 12 kB / 0.492 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.1289, allocations: 59.98 kB / 0.4921 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.129, allocations: 55.84 kB / 0.4922 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1291, allocations: 19.98 kB / 0.4922 GB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1294, allocations: 255.2 kB / 0.4924 GB, free: 4.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1294, allocations: 0 / 0.4924 GB, free: 4.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.1301, allocations: 187.9 kB / 0.4926 GB, free: 3.836 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.00111/0.1312, allocations: 475.8 kB / 0.493 GB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1328, allocations: 0.6399 MB / 0.4937 GB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1328, allocations: 0 / 0.4937 GB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.1334, allocations: 240.5 kB / 0.4939 GB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.134, allocations: 99.98 kB / 0.494 GB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.1363, allocations: 1.05 MB / 0.495 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1367, allocations: 0.8278 MB / 0.4958 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1368, allocations: 35.42 kB / 0.4959 GB, free: 0.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1368, allocations: 0 / 0.4959 GB, free: 0.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01138/0.1482, allocations: 8.04 MB / 0.5037 GB, free: 8.559 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)