Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04259/0.04259, allocations: 8.037 MB / 23.27 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.0008836/0.0008838, allocations: 109.1 kB / 25.83 MB, free: 3.5 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.001052/0.001052, allocations: 195.2 kB / 28.51 MB, free: 0.8281 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.216/1.216, allocations: 222.9 MB / 253.9 MB, free: 3.277 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01227/0.01227, allocations: 3.121 MB / 309 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 91.12 kB / 375.9 MB, free: 52.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07298/0.07458, allocations: 51.97 MB / 427.8 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003301/0.0779, allocations: 3.197 MB / 431 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.08002, allocations: 2.095 MB / 433.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.0802, allocations: 8 kB / 433.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.08053, allocations: 71.48 kB / 433.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.08084, allocations: 131.3 kB / 433.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.08141, allocations: 371.7 kB / 433.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.08179, allocations: 0.6154 MB / 434.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.082, allocations: 156.8 kB / 434.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.08221, allocations: 275 kB / 434.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.08244, allocations: 254.9 kB / 435 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.0825, allocations: 48 kB / 435 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.08269, allocations: 151.9 kB / 435.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.08278, allocations: 123.6 kB / 435.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.08293, allocations: 234.8 kB / 435.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.08336, allocations: 0.6464 MB / 436.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.08338, allocations: 0 / 436.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08338, allocations: 0 / 436.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.08339, allocations: 0 / 436.2 MB, free: 12.22 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.001067/0.08446, allocations: 0.804 MB / 437 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.0845, allocations: 11.97 kB / 437 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.08464, allocations: 52.38 kB / 437.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.08499, allocations: 380.1 kB / 437.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.08504, allocations: 55.27 kB / 437.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.08511, allocations: 39.84 kB / 437.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.08577, allocations: 469.4 kB / 438 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.0858, allocations: 0 / 438 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.08584, allocations: 16 kB / 438 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.08586, allocations: 8 kB / 438 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.08648, allocations: 327.8 kB / 438.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.08808, allocations: 1.358 MB / 439.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.08892, allocations: 387.3 kB / 440.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.08921, allocations: 144.8 kB / 440.2 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.08926, allocations: 4.531 kB / 440.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004469/0.08971, allocations: 243.6 kB / 440.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.08972, allocations: 0 / 440.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003489/0.09321, allocations: 1.773 MB / 442.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.09327, allocations: 166.1 kB / 442.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.09354, allocations: 332.5 kB / 442.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.09358, allocations: 37.7 kB / 442.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.09367, allocations: 212.5 kB / 442.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.09375, allocations: 130.2 kB / 443.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.09387, allocations: 90.02 kB / 443.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.09393, allocations: 346.8 kB / 443.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.09425, allocations: 166.5 kB / 443.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.0946, allocations: 263.4 kB / 443.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.09516, allocations: 359.7 kB / 444.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09517, allocations: 0 / 444.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001029/0.09621, allocations: 0.5523 MB / 444.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.09623, allocations: 10.5 kB / 444.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.09624, allocations: 0 / 444.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.09662, allocations: 168.9 kB / 445 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.09689, allocations: 75.83 kB / 445.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/0.0974, allocations: 0.7085 MB / 445.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.09776, allocations: 56 kB / 445.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.09781, allocations: 23.98 kB / 445.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003111/0.09812, allocations: 241 kB / 446.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002502/0.09838, allocations: 235.4 kB / 446.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003649/0.09876, allocations: 295.8 kB / 446.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.09877, allocations: 0 / 446.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00082/0.09959, allocations: 489.8 kB / 447.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.09961, allocations: 8 kB / 447.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.09962, allocations: 4 kB / 447.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.09995, allocations: 156.7 kB / 447.3 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1001, allocations: 71.84 kB / 447.3 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005102/0.1007, allocations: 0.7078 MB / 448 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.101, allocations: 52 kB / 448.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.101, allocations: 20.09 kB / 448.1 MB, free: 15.68 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.0001622/0.1012, allocations: 208.9 kB / 448.3 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.1013, allocations: 43.53 kB / 448.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1014, allocations: 52 kB / 448.4 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1014, allocations: 8 kB / 448.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1014, allocations: 7.984 kB / 448.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1014, allocations: 0 / 448.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.1034, allocations: 1.157 MB / 449.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1034, allocations: 4.094 kB / 449.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.1037, allocations: 71.89 kB / 449.6 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.104, allocations: 136.8 kB / 449.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.1041, allocations: 19.98 kB / 449.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000551/0.1046, allocations: 0.6926 MB / 450.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1047, allocations: 0 / 450.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.1062, allocations: 0.7871 MB / 451.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1064, allocations: 156.5 kB / 451.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.1064, allocations: 20.05 kB / 451.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.1068, allocations: 51.94 kB / 451.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1069, allocations: 51.92 kB / 451.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.107, allocations: 19.98 kB / 451.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1072, allocations: 231 kB / 451.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.1072, allocations: 0 / 451.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005976/0.1078, allocations: 179.9 kB / 452 MB, free: 11.66 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.001/0.1088, allocations: 484 kB / 452.4 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.1104, allocations: 0.6523 MB / 453.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1104, allocations: 128 / 453.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.1109, allocations: 235.5 kB / 453.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.1115, allocations: 94.83 kB / 453.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1135, allocations: 1.132 MB / 454.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1138, allocations: 0.8122 MB / 455.4 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1141, allocations: 67.16 kB / 455.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.1142, allocations: 39.42 kB / 455.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1142, allocations: 0 / 455.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Templates: time 0.01304/0.1272, allocations: 9.35 MB / 464.8 MB, free: 14.96 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)