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.04907/0.04907, allocations: 8.336 MB / 23.61 MB, free: 4.707 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.0007163/0.0007163, allocations: 95.53 kB / 26.25 MB, free: 3.047 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.0008736/0.0008736, allocations: 190.5 kB / 29 MB, free: 308 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.449/1.449, allocations: 223.3 MB / 254.9 MB, free: 3.367 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01242/0.01242, allocations: 3.115 MB / 311 MB, free: 112 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004356, allocations: 12.28 kB / 376.1 MB, free: 52.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 53.05 MB / 429.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.002934/0.1048, allocations: 2.918 MB / 432.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1074, allocations: 2.199 MB / 434.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1077, allocations: 12 kB / 434.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.1081, allocations: 117.2 kB / 434.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.1085, allocations: 127.2 kB / 434.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.1092, allocations: 358.8 kB / 434.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.1097, allocations: 0.6113 MB / 435.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.11, allocations: 145.5 kB / 435.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1102, allocations: 226.9 kB / 435.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1105, allocations: 231 kB / 436.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.1106, allocations: 23.94 kB / 436.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1108, allocations: 127.9 kB / 436.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1109, allocations: 99.56 kB / 436.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1111, allocations: 240.4 kB / 436.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.1116, allocations: 0.6231 MB / 437.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1116, allocations: 4 kB / 437.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1116, allocations: 0 / 437.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1116, allocations: 0 / 437.2 MB, free: 10.74 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.001242/0.1128, allocations: 0.7611 MB / 437.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1129, allocations: 8.031 kB / 437.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.113, allocations: 56.28 kB / 438 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1135, allocations: 396.6 kB / 438.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.1135, allocations: 55.27 kB / 438.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.1136, allocations: 39.94 kB / 438.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.1144, allocations: 485.4 kB / 438.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1144, allocations: 4 kB / 438.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.1145, allocations: 16 kB / 439 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1145, allocations: 8 kB / 439 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.1152, allocations: 359.8 kB / 439.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1171, allocations: 1.389 MB / 440.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1181, allocations: 438.2 kB / 441.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.1185, allocations: 156.8 kB / 441.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1185, allocations: 4.531 kB / 441.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.119, allocations: 255.7 kB / 441.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.344e-06/0.1191, allocations: 0 / 441.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004063/0.1231, allocations: 1.887 MB / 443.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1232, allocations: 162.2 kB / 443.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1235, allocations: 365.7 kB / 443.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.1236, allocations: 33.7 kB / 444 MB, free: 3.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1237, allocations: 236.7 kB / 444.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.1238, allocations: 134.2 kB / 444.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1239, allocations: 41.69 kB / 444.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.1239, allocations: 354.8 kB / 444.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.1243, allocations: 164.8 kB / 444.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.1247, allocations: 279.4 kB / 445.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.1254, allocations: 387.7 kB / 445.5 MB, free: 1.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1254, allocations: 0 / 445.5 MB, free: 1.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001194/0.1266, allocations: 0.5757 MB / 446.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.1267, allocations: 147.2 kB / 446.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1267, allocations: 0 / 446.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.1271, allocations: 172.7 kB / 446.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1274, allocations: 83.89 kB / 446.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.128, allocations: 0.7132 MB / 447.2 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.1284, allocations: 80.03 kB / 447.3 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.1285, allocations: 19.98 kB / 447.3 MB, free: 40 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.1285, allocations: 4 kB / 447.3 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/0.1295, allocations: 444.4 kB / 447.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1295, allocations: 0 / 447.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.1299, allocations: 164.6 kB / 447.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.1302, allocations: 63.91 kB / 448 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006327/0.1308, allocations: 0.7124 MB / 448.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1312, allocations: 55.89 kB / 448.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.1312, allocations: 19.98 kB / 448.8 MB, free: 14.56 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.0002827/0.1315, allocations: 253.9 kB / 449 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.1316, allocations: 43.44 kB / 449.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1318, allocations: 56.23 kB / 449.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1318, allocations: 4 kB / 449.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1318, allocations: 7.938 kB / 449.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1318, allocations: 0 / 449.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.1341, allocations: 1.193 MB / 450.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1341, allocations: 48 / 450.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1344, allocations: 83.81 kB / 450.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.1348, allocations: 152.7 kB / 450.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.1348, allocations: 15.98 kB / 450.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006085/0.1355, allocations: 0.681 MB / 451.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1355, allocations: 0 / 451.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.1373, allocations: 0.8455 MB / 452.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.1375, allocations: 152.6 kB / 452.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1376, allocations: 19.94 kB / 452.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.138, allocations: 75.98 kB / 452.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1382, allocations: 51.91 kB / 452.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.1382, allocations: 19.98 kB / 452.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.1385, allocations: 259.2 kB / 452.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1385, allocations: 4 kB / 452.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007261/0.1393, allocations: 180 kB / 452.8 MB, free: 10.33 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.001109/0.1404, allocations: 473.6 kB / 453.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.142, allocations: 0.6567 MB / 454 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1421, allocations: 0.5625 kB / 454 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.1427, allocations: 239.6 kB / 454.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.1434, allocations: 104.8 kB / 454.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.1459, allocations: 1.281 MB / 455.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1464, allocations: 0.8238 MB / 456.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.1467, allocations: 63.27 kB / 456.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1468, allocations: 39.36 kB / 456.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1468, allocations: 0 / 456.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01597/0.1628, allocations: 9.079 MB / 465.6 MB, free: 13.73 MB / 334.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)