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.06639/0.06639, allocations: 8.033 MB / 23.51 MB, free: 368 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.001056/0.001057, allocations: 109.4 kB / 26.09 MB, free: 3.348 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.001363/0.001362, allocations: 193.3 kB / 28.77 MB, free: 0.668 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.351/1.351, allocations: 222.9 MB / 254.2 MB, free: 4.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01273/0.01273, allocations: 3.13 MB / 309.3 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 89.2 kB / 376.4 MB, free: 52.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08963, allocations: 51.98 MB / 428.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003893/0.09356, allocations: 3.166 MB / 431.5 MB, free: 16.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.09656, allocations: 2.114 MB / 433.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.09684, allocations: 11.94 kB / 433.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.09728, allocations: 99.16 kB / 433.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.09772, allocations: 147 kB / 433.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.09849, allocations: 420 kB / 434.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.09892, allocations: 0.6232 MB / 434.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.09916, allocations: 152.8 kB / 435.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.09938, allocations: 259.1 kB / 435.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.09968, allocations: 250.9 kB / 435.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.09974, allocations: 52 kB / 435.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.09998, allocations: 159.9 kB / 435.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.1001, allocations: 123.6 kB / 435.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1002, allocations: 238.8 kB / 436.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.1007, allocations: 0.639 MB / 436.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1008, allocations: 0 / 436.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1008, allocations: 0 / 436.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1008, allocations: 0 / 436.8 MB, free: 11.67 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.001273/0.1021, allocations: 0.8078 MB / 437.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1021, allocations: 12.03 kB / 437.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1023, allocations: 48.38 kB / 437.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.1027, allocations: 380.1 kB / 438 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.1028, allocations: 51.27 kB / 438.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.1028, allocations: 43.83 kB / 438.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.1035, allocations: 465.5 kB / 438.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1036, allocations: 3.938 kB / 438.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.1036, allocations: 16 kB / 438.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1036, allocations: 11.94 kB / 438.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.1042, allocations: 335.8 kB / 438.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.106, allocations: 1.339 MB / 440.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.1068, allocations: 387.8 kB / 440.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.1071, allocations: 148.7 kB / 440.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.1072, allocations: 8.828 kB / 440.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005095/0.1077, allocations: 239.1 kB / 441 MB, free: 7.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.1077, allocations: 8 kB / 441 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003603/0.1113, allocations: 1.764 MB / 442.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1114, allocations: 162.2 kB / 443 MB, free: 5.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1117, allocations: 332.5 kB / 443.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1117, allocations: 37.7 kB / 443.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.1118, allocations: 212.5 kB / 443.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/0.1119, allocations: 134.2 kB / 443.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1121, allocations: 90.03 kB / 443.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.1121, allocations: 346.8 kB / 444.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1125, allocations: 162.5 kB / 444.3 MB, free: 3.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1128, allocations: 271.4 kB / 444.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.1134, allocations: 351.7 kB / 444.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1134, allocations: 4 kB / 444.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001035/0.1145, allocations: 0.5562 MB / 445.4 MB, free: 2.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1145, allocations: 8 kB / 445.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1145, allocations: 0 / 445.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.1149, allocations: 160.9 kB / 445.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1152, allocations: 79.89 kB / 445.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005151/0.1157, allocations: 0.7184 MB / 446.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.1161, allocations: 51.92 kB / 446.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.1161, allocations: 20 kB / 446.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003112/0.1165, allocations: 241 kB / 446.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002572/0.1167, allocations: 235.5 kB / 446.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003679/0.1171, allocations: 291.8 kB / 447.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.1171, allocations: 0 / 447.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008233/0.1179, allocations: 493.6 kB / 447.7 MB, free: 176 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.118, allocations: 7.938 kB / 447.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.118, allocations: 4.125 kB / 447.7 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.1183, allocations: 173 kB / 447.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1185, allocations: 59.86 kB / 447.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006258/0.1192, allocations: 0.7084 MB / 448.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.1195, allocations: 51.94 kB / 448.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.1196, allocations: 20.06 kB / 448.7 MB, free: 15.12 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.000185/0.1198, allocations: 204.1 kB / 448.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.1198, allocations: 43.52 kB / 448.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.12, allocations: 59.94 kB / 449 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.12, allocations: 4 kB / 449 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.12, allocations: 0 / 449 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.12, allocations: 0 / 449 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.122, allocations: 1.165 MB / 450.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1221, allocations: 0 / 450.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.1223, allocations: 67.89 kB / 450.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.1227, allocations: 152.8 kB / 450.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.1228, allocations: 15.98 kB / 450.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005855/0.1234, allocations: 0.6772 MB / 451.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1234, allocations: 0 / 451.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.125, allocations: 0.7911 MB / 451.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.1251, allocations: 160.5 kB / 452 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.1252, allocations: 12 kB / 452 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1256, allocations: 56 kB / 452.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1257, allocations: 59.84 kB / 452.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.1258, allocations: 19.92 kB / 452.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.126, allocations: 231.1 kB / 452.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.126, allocations: 0 / 452.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006509/0.1267, allocations: 176 kB / 452.6 MB, free: 11.1 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.001056/0.1277, allocations: 485.3 kB / 453 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.1293, allocations: 0.6324 MB / 453.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1293, allocations: 0 / 453.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.1299, allocations: 236.2 kB / 453.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.1306, allocations: 93.5 kB / 454 MB, free: 9.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1327, allocations: 0.9715 MB / 455 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1331, allocations: 0.8122 MB / 455.8 MB, free: 8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.1333, allocations: 63.22 kB / 455.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1334, allocations: 39.42 kB / 455.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1334, allocations: 0 / 455.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of Templates: time 0.01482/0.1482, allocations: 9.364 MB / 465.2 MB, free: 14.58 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)