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.04751/0.04751, allocations: 8.025 MB / 24.33 MB, free: 424 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.00113/0.00113, allocations: 111.8 kB / 26.92 MB, free: 3.133 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.001265/0.001265, allocations: 197.7 kB / 29.62 MB, free: 464 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.397/1.397, allocations: 222.9 MB / 255.1 MB, free: 4.676 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.122 MB / 310.1 MB, free: 2.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 95.84 kB / 427.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1026, allocations: 51.97 MB / 479.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004493/0.1071, allocations: 3.278 MB / 482.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1106, allocations: 2.254 MB / 485.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.1109, allocations: 11.94 kB / 485.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.1114, allocations: 135 kB / 485.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.1119, allocations: 162.8 kB / 485.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.1128, allocations: 417.5 kB / 485.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.1136, allocations: 0.6503 MB / 486.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.114, allocations: 165.4 kB / 486.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.1143, allocations: 267.1 kB / 486.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.1148, allocations: 266.8 kB / 487.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.113e-05/0.1149, allocations: 52 kB / 487.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1152, allocations: 163.8 kB / 487.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1154, allocations: 123.6 kB / 487.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.1157, allocations: 258.7 kB / 487.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008948/0.1166, allocations: 0.6654 MB / 488.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1166, allocations: 8 kB / 488.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1166, allocations: 0 / 488.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1167, allocations: 4 kB / 488.4 MB, free: 4.594 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.001529/0.1182, allocations: 0.8522 MB / 489.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1182, allocations: 12.03 kB / 489.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.1185, allocations: 60.56 kB / 489.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.1191, allocations: 397 kB / 489.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.1191, allocations: 55.27 kB / 489.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.1192, allocations: 35.94 kB / 489.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.12, allocations: 469.4 kB / 490.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.12, allocations: 7.938 kB / 490.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.1201, allocations: 20 kB / 490.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1201, allocations: 8 kB / 490.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.1208, allocations: 331.8 kB / 490.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.123, allocations: 1.339 MB / 491.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.124, allocations: 402.8 kB / 492.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.1243, allocations: 148.8 kB / 492.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1244, allocations: 8 kB / 492.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.1249, allocations: 239.7 kB / 492.7 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.1249, allocations: 0 / 492.7 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004217/0.1291, allocations: 1.785 MB / 494.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.1292, allocations: 166.2 kB / 494.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.1296, allocations: 365.6 kB / 495 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.1297, allocations: 37.64 kB / 495.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1298, allocations: 220.9 kB / 495.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1299, allocations: 142.8 kB / 495.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1301, allocations: 86.06 kB / 495.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1302, allocations: 354.8 kB / 495.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1306, allocations: 162.5 kB / 496 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.1311, allocations: 271.4 kB / 496.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.1318, allocations: 359.6 kB / 496.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1318, allocations: 0 / 496.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001239/0.133, allocations: 0.5526 MB / 497.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1331, allocations: 8 kB / 497.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1331, allocations: 0 / 497.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.1336, allocations: 176.8 kB / 497.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1339, allocations: 79.89 kB / 497.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007074/0.1346, allocations: 0.7007 MB / 498.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.135, allocations: 60 kB / 498.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.135, allocations: 19.98 kB / 498.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003819/0.1354, allocations: 248.8 kB / 498.5 MB, free: 10 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003356/0.1357, allocations: 231.5 kB / 498.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004628/0.1362, allocations: 291.8 kB / 499 MB, free: 9.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.569e-06/0.1362, allocations: 0 / 499 MB, free: 9.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009853/0.1372, allocations: 0.4939 MB / 499.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.1372, allocations: 8 kB / 499.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1373, allocations: 4 kB / 499.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.1376, allocations: 160.9 kB / 499.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1379, allocations: 63.91 kB / 499.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006561/0.1385, allocations: 0.7194 MB / 0.4887 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.1389, allocations: 43.95 kB / 0.4887 GB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.1389, allocations: 19.98 kB / 0.4887 GB, free: 7.883 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.0002064/0.1391, allocations: 208.1 kB / 0.4889 GB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.1392, allocations: 47.72 kB / 0.489 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1394, allocations: 56.25 kB / 0.489 GB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1394, allocations: 4 kB / 0.4891 GB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1394, allocations: 3.984 kB / 0.4891 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1394, allocations: 0 / 0.4891 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.1416, allocations: 1.173 MB / 0.4902 GB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1416, allocations: 4 kB / 0.4902 GB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.1419, allocations: 67.98 kB / 0.4903 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.1423, allocations: 152.6 kB / 0.4904 GB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.1423, allocations: 15.98 kB / 0.4904 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/0.1429, allocations: 0.6772 MB / 0.4911 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.143, allocations: 0 / 0.4911 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.1446, allocations: 0.8003 MB / 0.4919 GB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.1448, allocations: 164.7 kB / 0.492 GB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.1449, allocations: 12 kB / 0.492 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.1453, allocations: 52 kB / 0.4921 GB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.1454, allocations: 63.84 kB / 0.4922 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.1455, allocations: 15.98 kB / 0.4922 GB, free: 4.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.1458, allocations: 259.2 kB / 0.4924 GB, free: 3.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 0.4924 GB, free: 3.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006546/0.1464, allocations: 179.9 kB / 0.4926 GB, free: 3.805 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.001248/0.1477, allocations: 479 kB / 0.493 GB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1493, allocations: 0.636 MB / 0.4937 GB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1493, allocations: 0 / 0.4937 GB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.1499, allocations: 244.5 kB / 0.4939 GB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.1506, allocations: 99.72 kB / 0.494 GB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1528, allocations: 1.058 MB / 0.495 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1532, allocations: 0.82 MB / 0.4958 GB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1533, allocations: 43.42 kB / 0.4959 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1533, allocations: 0 / 0.4959 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of Templates: time 0.01255/0.1659, allocations: 8.037 MB / 0.5037 GB, free: 8.52 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)