Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04411/0.04411, allocations: 8.038 MB / 23.16 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009542, allocations: 107.7 kB / 25.72 MB, free: 3.547 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.001096/0.001095, allocations: 198.9 kB / 28.4 MB, free: 0.8711 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.25/1.25, allocations: 222.9 MB / 253.8 MB, free: 5.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01202/0.01202, allocations: 3.116 MB / 308.8 MB, free: 2.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 85.48 kB / 375.7 MB, free: 52.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09474, allocations: 51.98 MB / 427.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003567/0.09833, allocations: 3.205 MB / 430.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1007, allocations: 2.091 MB / 432.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1008, allocations: 8 kB / 432.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1012, allocations: 79.47 kB / 433 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1015, allocations: 123.3 kB / 433.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.102, allocations: 362 kB / 433.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.1024, allocations: 0.5802 MB / 434.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1026, allocations: 144.8 kB / 434.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1028, allocations: 231.1 kB / 434.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.103, allocations: 238.9 kB / 434.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.1031, allocations: 28 kB / 434.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1033, allocations: 131.9 kB / 434.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.1034, allocations: 99.53 kB / 434.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1035, allocations: 218.8 kB / 435.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.1039, allocations: 0.6152 MB / 435.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.104, allocations: 0 / 435.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.104, allocations: 0 / 435.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.104, allocations: 4 kB / 435.8 MB, free: 12.75 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.001069/0.1051, allocations: 0.804 MB / 436.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1051, allocations: 12.03 kB / 436.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1052, allocations: 52.38 kB / 436.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1056, allocations: 372.1 kB / 437 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.1056, allocations: 55.27 kB / 437.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.1057, allocations: 47.83 kB / 437.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.1063, allocations: 465.5 kB / 437.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1064, allocations: 4 kB / 437.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1064, allocations: 12 kB / 437.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1064, allocations: 8 kB / 437.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.107, allocations: 335.8 kB / 437.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.1087, allocations: 1.35 MB / 439.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/0.1096, allocations: 383.3 kB / 439.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1099, allocations: 148.8 kB / 439.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1099, allocations: 8.531 kB / 439.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.1105, allocations: 235.7 kB / 440 MB, free: 8.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.654e-06/0.1105, allocations: 0 / 440 MB, free: 8.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003619/0.1141, allocations: 1.765 MB / 441.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1142, allocations: 166.1 kB / 441.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1145, allocations: 328.5 kB / 442.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1145, allocations: 41.7 kB / 442.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.1146, allocations: 212.8 kB / 442.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.1147, allocations: 134.2 kB / 442.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1148, allocations: 90.03 kB / 442.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.1148, allocations: 346.8 kB / 443.1 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1152, allocations: 162.5 kB / 443.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1155, allocations: 278.3 kB / 443.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.1161, allocations: 355.8 kB / 443.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1161, allocations: 0 / 443.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.1171, allocations: 0.5562 MB / 444.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1171, allocations: 4 kB / 444.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1172, allocations: 4 kB / 444.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.1175, allocations: 160.9 kB / 444.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1178, allocations: 91.77 kB / 444.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004831/0.1183, allocations: 0.7007 MB / 445.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.1186, allocations: 59.92 kB / 445.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1187, allocations: 20.06 kB / 445.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002962/0.119, allocations: 245 kB / 445.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002431/0.1192, allocations: 227.4 kB / 445.9 MB, free: 2.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003588/0.1196, allocations: 291.8 kB / 446.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.1196, allocations: 4 kB / 446.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007978/0.1204, allocations: 489.6 kB / 446.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.1204, allocations: 8 kB / 446.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/0.1204, allocations: 224 / 446.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.1208, allocations: 172.7 kB / 446.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1209, allocations: 59.91 kB / 446.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000445/0.1214, allocations: 0.7118 MB / 447.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1217, allocations: 47.94 kB / 447.7 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1218, allocations: 20.05 kB / 447.7 MB, free: 220 kB / 302.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.0001368/0.1219, allocations: 217 kB / 447.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.122, allocations: 39.53 kB / 447.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1221, allocations: 51.94 kB / 448 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1221, allocations: 4 kB / 448 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1221, allocations: 0 / 448 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1221, allocations: 0 / 448 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.1241, allocations: 1.165 MB / 449.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1241, allocations: 4.062 kB / 449.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.1244, allocations: 75.89 kB / 449.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.1248, allocations: 144.8 kB / 449.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.1248, allocations: 11.98 kB / 449.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006339/0.1255, allocations: 0.6887 MB / 450.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1255, allocations: 4.031 kB / 450.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.1271, allocations: 0.791 MB / 450.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.1273, allocations: 156.5 kB / 451 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.1273, allocations: 16 kB / 451 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.1277, allocations: 47.94 kB / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1278, allocations: 60.06 kB / 451.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.1279, allocations: 19.97 kB / 451.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1281, allocations: 231.1 kB / 451.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1281, allocations: 0 / 451.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006429/0.1288, allocations: 176 kB / 451.6 MB, free: 12.18 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.001024/0.1298, allocations: 481.2 kB / 452 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1313, allocations: 0.6285 MB / 452.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1313, allocations: 0 / 452.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.1319, allocations: 228.2 kB / 452.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1324, allocations: 100.3 kB / 453 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1344, allocations: 1.119 MB / 454.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1348, allocations: 0.816 MB / 454.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.1351, allocations: 63.22 kB / 455 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.1352, allocations: 39.42 kB / 455 MB, free: 8.832 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1352, allocations: 0 / 455 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Templates: time 0.01368/0.1488, allocations: 8.93 MB / 463.9 MB, free: 15.95 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)