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.0468/0.0468, allocations: 8.03 MB / 23.51 MB, free: 332 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.0008323/0.0008324, allocations: 104.1 kB / 26.08 MB, free: 3.324 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.0009158/0.0009158, allocations: 191.3 kB / 28.77 MB, free: 0.6406 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.127/1.127, allocations: 222.9 MB / 254.2 MB, free: 4.785 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01108/0.01108, allocations: 3.119 MB / 309.2 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001506, allocations: 88 kB / 376.4 MB, free: 52.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06509/0.06661, allocations: 51.98 MB / 428.4 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003185/0.06983, allocations: 3.163 MB / 431.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.07182, allocations: 2.122 MB / 433.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.07198, allocations: 7.938 kB / 433.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.07226, allocations: 95.22 kB / 433.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.07254, allocations: 150.9 kB / 433.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.07307, allocations: 411.1 kB / 434.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.07341, allocations: 0.6193 MB / 434.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.07359, allocations: 152.8 kB / 435.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.07377, allocations: 263.1 kB / 435.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.07402, allocations: 247 kB / 435.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.07409, allocations: 48 kB / 435.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.07428, allocations: 163.8 kB / 435.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.07437, allocations: 119.6 kB / 435.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.07452, allocations: 246.7 kB / 436.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.07493, allocations: 0.639 MB / 436.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.07494, allocations: 0 / 436.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.07495, allocations: 0 / 436.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.07496, allocations: 4 kB / 436.8 MB, free: 11.7 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.0009963/0.07596, allocations: 0.8078 MB / 437.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.463e-05/0.07599, allocations: 12.03 kB / 437.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.07612, allocations: 48.38 kB / 437.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.07647, allocations: 376.1 kB / 438 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.07652, allocations: 51.27 kB / 438.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.07659, allocations: 43.84 kB / 438.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.07721, allocations: 469.4 kB / 438.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.07723, allocations: 4 kB / 438.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.07727, allocations: 12 kB / 438.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.07728, allocations: 12 kB / 438.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.07786, allocations: 335.7 kB / 438.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.07939, allocations: 1.339 MB / 440.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.08017, allocations: 387.8 kB / 440.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.08044, allocations: 152.8 kB / 440.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.08049, allocations: 8.469 kB / 440.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.08089, allocations: 247 kB / 441 MB, free: 7.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.0809, allocations: 0 / 441 MB, free: 7.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003184/0.08409, allocations: 1.761 MB / 442.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.08414, allocations: 166.1 kB / 443 MB, free: 5.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.08438, allocations: 328.5 kB / 443.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.08442, allocations: 41.69 kB / 443.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.0845, allocations: 208.5 kB / 443.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.08457, allocations: 134.2 kB / 443.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.08468, allocations: 90.02 kB / 443.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.08474, allocations: 354.7 kB / 444.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.08503, allocations: 162.5 kB / 444.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.08536, allocations: 267.4 kB / 444.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.0859, allocations: 359.7 kB / 444.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.08591, allocations: 0 / 444.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009613/0.08687, allocations: 0.5563 MB / 445.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.0869, allocations: 8 kB / 445.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08691, allocations: 0 / 445.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/0.08726, allocations: 160.1 kB / 445.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.08751, allocations: 83.88 kB / 445.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004379/0.08796, allocations: 0.7162 MB / 446.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.08828, allocations: 51.94 kB / 446.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.08832, allocations: 16 kB / 446.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002695/0.0886, allocations: 244.9 kB / 446.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002319/0.08884, allocations: 231.5 kB / 446.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003428/0.08919, allocations: 295.8 kB / 447.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.0892, allocations: 0 / 447.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007704/0.08997, allocations: 493.6 kB / 447.7 MB, free: 200 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-06/0.08999, allocations: 4 kB / 447.7 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.09, allocations: 4 kB / 447.7 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.0903, allocations: 168.8 kB / 447.9 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.09053, allocations: 63.91 kB / 447.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005441/0.09109, allocations: 0.7123 MB / 448.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.0914, allocations: 47.98 kB / 448.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.09144, allocations: 16 kB / 448.7 MB, free: 15.16 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.0001358/0.09158, allocations: 212.4 kB / 448.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.09165, allocations: 35.53 kB / 448.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.09177, allocations: 60 kB / 449 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09178, allocations: 4 kB / 449 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.09179, allocations: 0 / 449 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.0918, allocations: 3.984 kB / 449 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.09358, allocations: 1.169 MB / 450.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.0936, allocations: 4 kB / 450.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.09386, allocations: 63.89 kB / 450.2 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.09419, allocations: 148.8 kB / 450.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.09424, allocations: 19.92 kB / 450.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/0.09476, allocations: 0.6771 MB / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.09477, allocations: 0 / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.09621, allocations: 0.7989 MB / 451.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.09638, allocations: 152.5 kB / 452 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.09645, allocations: 12 kB / 452 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.09678, allocations: 51.94 kB / 452.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.09691, allocations: 55.97 kB / 452.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.09695, allocations: 19.98 kB / 452.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.09717, allocations: 231.1 kB / 452.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09718, allocations: 7.938 kB / 452.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.09774, allocations: 172 kB / 452.6 MB, free: 11.13 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.0009502/0.0987, allocations: 491.4 kB / 453 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.1001, allocations: 0.6479 MB / 453.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1001, allocations: 0 / 453.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.1006, allocations: 228.3 kB / 453.9 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.1012, allocations: 99.91 kB / 454 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1029, allocations: 0.964 MB / 455 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1032, allocations: 0.8161 MB / 455.8 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.1034, allocations: 59.25 kB / 455.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.1035, allocations: 39.42 kB / 455.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1035, allocations: 3.938 kB / 455.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of Templates: time 0.01267/0.1162, allocations: 9.367 MB / 465.3 MB, free: 14.59 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)