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.04532/0.04532, allocations: 8.016 MB / 23.9 MB, free: 500 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.001042/0.001042, allocations: 106.1 kB / 26.46 MB, free: 3.473 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.001205/0.001205, allocations: 195.8 kB / 29.14 MB, free: 0.8125 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.304/1.304, allocations: 222.9 MB / 254.6 MB, free: 4.949 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01226/0.01226, allocations: 3.129 MB / 309.6 MB, free: 2.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 87.55 kB / 376.5 MB, free: 53.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09886, allocations: 51.98 MB / 428.5 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003814/0.1027, allocations: 3.201 MB / 431.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1053, allocations: 2.079 MB / 433.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.1056, allocations: 12 kB / 433.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.1061, allocations: 79.47 kB / 433.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1064, allocations: 127.3 kB / 433.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.1072, allocations: 362.8 kB / 434.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.1077, allocations: 0.6231 MB / 434.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.108, allocations: 160.8 kB / 435.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.1082, allocations: 267 kB / 435.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1085, allocations: 250.9 kB / 435.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.1086, allocations: 48 kB / 435.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.1088, allocations: 163.9 kB / 435.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.1089, allocations: 119.6 kB / 435.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.109, allocations: 238.8 kB / 436.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1094, allocations: 495 kB / 436.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1094, allocations: 0 / 436.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1095, allocations: 0 / 436.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1095, allocations: 7.938 kB / 436.6 MB, free: 12.52 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.001169/0.1106, allocations: 0.8001 MB / 437.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1107, allocations: 12.03 kB / 437.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.1109, allocations: 52.38 kB / 437.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1112, allocations: 384 kB / 437.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.1113, allocations: 55.27 kB / 437.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.1114, allocations: 43.84 kB / 438 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.1121, allocations: 461.5 kB / 438.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1121, allocations: 0 / 438.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.1121, allocations: 19.92 kB / 438.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1122, allocations: 11.98 kB / 438.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.1128, allocations: 335.8 kB / 438.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.1145, allocations: 1.339 MB / 440.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.1154, allocations: 383.3 kB / 440.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1157, allocations: 152.8 kB / 440.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.1158, allocations: 16.81 kB / 440.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004971/0.1163, allocations: 235.7 kB / 440.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1163, allocations: 0 / 440.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003598/0.1199, allocations: 1.761 MB / 442.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1199, allocations: 170.1 kB / 442.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1202, allocations: 328.5 kB / 443.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.1203, allocations: 41.69 kB / 443.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.1204, allocations: 208.5 kB / 443.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1204, allocations: 130.2 kB / 443.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1206, allocations: 94.02 kB / 443.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.1206, allocations: 342.8 kB / 443.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.121, allocations: 170.5 kB / 444.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.1213, allocations: 274.7 kB / 444.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.1219, allocations: 355.7 kB / 444.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1219, allocations: 4 kB / 444.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001066/0.123, allocations: 0.5444 MB / 445.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.123, allocations: 8 kB / 445.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.123, allocations: 4.219 kB / 445.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.1234, allocations: 168.7 kB / 445.4 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1237, allocations: 79.95 kB / 445.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005073/0.1242, allocations: 0.7123 MB / 446.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.1246, allocations: 56 kB / 446.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.1246, allocations: 20 kB / 446.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003068/0.1249, allocations: 241 kB / 446.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002525/0.1252, allocations: 231.4 kB / 446.8 MB, free: 1.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003645/0.1256, allocations: 291.8 kB / 447.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1256, allocations: 3.938 kB / 447.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008339/0.1264, allocations: 489.7 kB / 447.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1264, allocations: 7.984 kB / 447.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1265, allocations: 4 kB / 447.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.1268, allocations: 156.9 kB / 447.7 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.127, allocations: 67.84 kB / 447.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004574/0.1275, allocations: 0.7124 MB / 448.5 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.1278, allocations: 43.95 kB / 448.5 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.1278, allocations: 19.98 kB / 448.5 MB, free: 15.99 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.0001823/0.128, allocations: 213.1 kB / 448.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.1281, allocations: 39.47 kB / 448.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1282, allocations: 56 kB / 448.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1283, allocations: 4 kB / 448.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1283, allocations: 0 / 448.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1283, allocations: 3.984 kB / 448.9 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.1303, allocations: 1.169 MB / 450 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1303, allocations: 0 / 450 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1306, allocations: 67.91 kB / 450.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.131, allocations: 148.9 kB / 450.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.131, allocations: 11.98 kB / 450.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/0.1316, allocations: 0.6927 MB / 450.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1316, allocations: 4.062 kB / 450.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.1332, allocations: 0.7872 MB / 451.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.1334, allocations: 160.5 kB / 451.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.1335, allocations: 12 kB / 451.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.1338, allocations: 51.94 kB / 451.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.134, allocations: 55.84 kB / 452 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.134, allocations: 24.05 kB / 452 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.1342, allocations: 227.1 kB / 452.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1342, allocations: 0 / 452.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.1349, allocations: 180 kB / 452.4 MB, free: 11.96 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.00112/0.136, allocations: 498.7 kB / 452.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1376, allocations: 0.6445 MB / 453.6 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1376, allocations: 0 / 453.6 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.1382, allocations: 223.5 kB / 453.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.1388, allocations: 99.19 kB / 453.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1409, allocations: 1.16 MB / 455 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1413, allocations: 0.8122 MB / 455.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1414, allocations: 39.42 kB / 455.9 MB, free: 8.613 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1414, allocations: 0 / 455.9 MB, free: 8.613 MB / 318.1 MB Notification: Performance of Templates: time 0.009823/0.1512, allocations: 7.666 MB / 463.5 MB, free: 0.9531 MB / 318.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)