Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEV.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04653/0.04653, allocations: 8.028 MB / 24.33 MB, free: 404 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.001191/0.001191, allocations: 109.1 kB / 26.92 MB, free: 3.113 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.001385/0.001385, allocations: 191.3 kB / 29.62 MB, free: 440 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.426/1.426, 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.01267/0.01267, allocations: 3.115 MB / 310.1 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 95.83 kB / 430.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09378, allocations: 51.96 MB / 482.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004329/0.09814, allocations: 3.181 MB / 485.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1012, allocations: 2.13 MB / 487.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1014, allocations: 11.94 kB / 487.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1017, allocations: 91.22 kB / 487.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1022, allocations: 154.9 kB / 487.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.1029, allocations: 406.6 kB / 488.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.1035, allocations: 0.6309 MB / 488.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.1038, allocations: 152.8 kB / 489.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1041, allocations: 271.1 kB / 489.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1045, allocations: 247 kB / 489.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.1045, allocations: 52 kB / 489.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1048, allocations: 159.9 kB / 489.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1049, allocations: 123.6 kB / 489.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1051, allocations: 242.7 kB / 490.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.1058, allocations: 0.6465 MB / 490.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1058, allocations: 0 / 490.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1058, allocations: 3.938 kB / 490.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1058, allocations: 0 / 490.8 MB, free: 2.23 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.001415/0.1072, allocations: 0.804 MB / 491.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1073, allocations: 8.031 kB / 491.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.1075, allocations: 60.3 kB / 491.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.108, allocations: 380.1 kB / 492.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.1081, allocations: 55.27 kB / 492.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.1082, allocations: 43.84 kB / 492.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.109, allocations: 465.5 kB / 492.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.109, allocations: 7.969 kB / 492.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1091, allocations: 20 kB / 492.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1091, allocations: 8 kB / 492.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.1099, allocations: 327.8 kB / 493 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.112, allocations: 1.331 MB / 494.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009749/0.1129, allocations: 389.3 kB / 494.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1133, allocations: 152.8 kB / 494.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.1133, allocations: 4.312 kB / 494.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.1138, allocations: 243.7 kB / 495.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/0.1138, allocations: 3.938 kB / 495.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00411/0.118, allocations: 1.761 MB / 496.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.118, allocations: 166.2 kB / 497 MB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.1184, allocations: 328.5 kB / 497.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.1185, allocations: 37.7 kB / 497.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1186, allocations: 208.5 kB / 497.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.1187, allocations: 130.2 kB / 497.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1189, allocations: 94.02 kB / 497.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.119, allocations: 354.7 kB / 498.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.1194, allocations: 166.5 kB / 498.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.1198, allocations: 267.4 kB / 498.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.1206, allocations: 363.6 kB / 498.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1206, allocations: 0 / 498.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001252/0.1218, allocations: 0.5601 MB / 499.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1219, allocations: 4 kB / 499.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1219, allocations: 4 kB / 499.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.1223, allocations: 156.9 kB / 499.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.1226, allocations: 83.83 kB / 499.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.1233, allocations: 0.7085 MB / 0.4887 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.1237, allocations: 59.89 kB / 0.4887 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.1238, allocations: 23.97 kB / 0.4888 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003661/0.1242, allocations: 244.9 kB / 0.489 GB, free: 7.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003258/0.1245, allocations: 235.5 kB / 0.4892 GB, free: 7.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004658/0.125, allocations: 287.8 kB / 0.4895 GB, free: 7.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.125, allocations: 0 / 0.4895 GB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001017/0.126, allocations: 493.7 kB / 0.49 GB, free: 6.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.126, allocations: 8 kB / 0.49 GB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.126, allocations: 0 / 0.49 GB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.1264, allocations: 164.8 kB / 0.4901 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1267, allocations: 59.91 kB / 0.4902 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006373/0.1273, allocations: 0.7201 MB / 0.4909 GB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.1277, allocations: 43.95 kB / 0.4909 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.1277, allocations: 19.98 kB / 0.491 GB, free: 5.688 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.0001682/0.1279, allocations: 212.3 kB / 0.4912 GB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.128, allocations: 39.59 kB / 0.4912 GB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1281, allocations: 56 kB / 0.4912 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1281, allocations: 4 kB / 0.4913 GB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1281, allocations: 0 / 0.4913 GB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1281, allocations: 3.984 kB / 0.4913 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.1302, allocations: 1.157 MB / 0.4924 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1302, allocations: 4 kB / 0.4924 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1305, allocations: 64 kB / 0.4925 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.1309, allocations: 148.7 kB / 0.4926 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.1309, allocations: 11.98 kB / 0.4926 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.1315, allocations: 0.681 MB / 0.4933 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1315, allocations: 0 / 0.4933 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.1332, allocations: 0.7963 MB / 0.494 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1333, allocations: 152.5 kB / 0.4942 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.1334, allocations: 16 kB / 0.4942 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.1338, allocations: 55.98 kB / 0.4943 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1339, allocations: 51.86 kB / 0.4943 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.134, allocations: 19.98 kB / 0.4943 GB, free: 2.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1342, allocations: 235.1 kB / 0.4946 GB, free: 1.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1342, allocations: 0 / 0.4946 GB, free: 1.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006282/0.1349, allocations: 175.9 kB / 0.4947 GB, free: 1.672 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.001065/0.1359, allocations: 486.1 kB / 0.4952 GB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.1374, allocations: 0.6358 MB / 0.4958 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1374, allocations: 0 / 0.4958 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.138, allocations: 232.7 kB / 0.496 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1386, allocations: 99.38 kB / 0.4961 GB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1406, allocations: 0.996 MB / 0.4971 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.141, allocations: 0.8083 MB / 0.4979 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1411, allocations: 47.42 kB / 0.4979 GB, free: 14.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1411, allocations: 0 / 0.4979 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01031/0.1515, allocations: 7.692 MB / 0.5054 GB, free: 6.812 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)