Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0445/0.0445, allocations: 8.029 MB / 24.2 MB, free: 384 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.001005/0.001005, allocations: 111.6 kB / 26.77 MB, free: 3.25 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.001103/0.001103, allocations: 203.2 kB / 29.47 MB, free: 0.5625 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.379/1.379, allocations: 222.9 MB / 254.9 MB, free: 4.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01336/0.01336, allocations: 3.12 MB / 310 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 90.47 kB / 377.1 MB, free: 52.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0763/0.07809, allocations: 51.99 MB / 429.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003657/0.08177, allocations: 3.159 MB / 432.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.08417, allocations: 2.13 MB / 434.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.08435, allocations: 11.94 kB / 434.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.08468, allocations: 99.16 kB / 434.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.08504, allocations: 147 kB / 434.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.08566, allocations: 415.3 kB / 435.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.0861, allocations: 0.6115 MB / 435.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.08633, allocations: 160.7 kB / 435.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.08655, allocations: 259.2 kB / 436.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.08685, allocations: 247 kB / 436.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.08693, allocations: 55.94 kB / 436.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.08715, allocations: 159.9 kB / 436.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.08726, allocations: 123.6 kB / 436.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.08743, allocations: 238.8 kB / 436.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.08794, allocations: 0.639 MB / 437.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08795, allocations: 0 / 437.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08796, allocations: 4 kB / 437.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.08797, allocations: 0 / 437.5 MB, free: 11.63 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.001193/0.08917, allocations: 0.8117 MB / 438.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.0892, allocations: 8.031 kB / 438.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.08936, allocations: 56.36 kB / 438.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.08976, allocations: 372.1 kB / 438.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.08983, allocations: 47.27 kB / 438.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.08989, allocations: 43.84 kB / 438.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.09065, allocations: 469.5 kB / 439.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.09068, allocations: 3.984 kB / 439.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.09073, allocations: 16 kB / 439.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.09074, allocations: 8 kB / 439.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.09145, allocations: 335.7 kB / 439.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.09327, allocations: 1.346 MB / 441 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.09424, allocations: 379.9 kB / 441.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.09457, allocations: 152.8 kB / 441.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.09461, allocations: 4.531 kB / 441.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.09511, allocations: 243.1 kB / 441.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.09512, allocations: 0 / 441.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003885/0.09901, allocations: 1.76 MB / 443.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.09908, allocations: 166.2 kB / 443.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.09935, allocations: 332.4 kB / 444 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.0994, allocations: 41.7 kB / 444.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.0995, allocations: 212.8 kB / 444.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.09958, allocations: 126.2 kB / 444.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.09973, allocations: 90.02 kB / 444.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.09979, allocations: 346.8 kB / 444.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.1001, allocations: 170.5 kB / 445 MB, free: 3.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.1005, allocations: 271.4 kB / 445.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/0.1012, allocations: 355.7 kB / 445.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.1012, allocations: 0 / 445.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001188/0.1024, allocations: 0.5561 MB / 446.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1024, allocations: 4.219 kB / 446.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1024, allocations: 8 kB / 446.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1028, allocations: 160.7 kB / 446.3 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1031, allocations: 75.89 kB / 446.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005124/0.1037, allocations: 0.7123 MB / 447.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.104, allocations: 55.97 kB / 447.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.1041, allocations: 23.92 kB / 447.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003188/0.1044, allocations: 244.9 kB / 447.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000258/0.1047, allocations: 231.5 kB / 447.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003875/0.1051, allocations: 291.8 kB / 447.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1051, allocations: 4 kB / 447.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008953/0.106, allocations: 493.6 kB / 448.4 MB, free: 128 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.106, allocations: 8 kB / 448.4 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.106, allocations: 0 / 448.4 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.1064, allocations: 164 kB / 448.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1066, allocations: 63.91 kB / 448.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/0.1073, allocations: 0.7201 MB / 449.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.1077, allocations: 47.86 kB / 449.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1077, allocations: 24.11 kB / 449.4 MB, free: 15.08 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.0001595/0.1079, allocations: 208.3 kB / 449.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.108, allocations: 39.53 kB / 449.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1081, allocations: 52 kB / 449.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1081, allocations: 4 kB / 449.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1081, allocations: 0 / 449.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.1081, allocations: 7.984 kB / 449.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1103, allocations: 1.169 MB / 450.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1103, allocations: 0 / 450.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1106, allocations: 67.89 kB / 451 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.111, allocations: 144.8 kB / 451.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.111, allocations: 15.98 kB / 451.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/0.1117, allocations: 0.6733 MB / 451.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1117, allocations: 7.969 kB / 451.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.1134, allocations: 0.7949 MB / 452.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1136, allocations: 156.5 kB / 452.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.1137, allocations: 12 kB / 452.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.1141, allocations: 51.92 kB / 452.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1142, allocations: 56.02 kB / 452.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.1143, allocations: 27.97 kB / 452.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1145, allocations: 235 kB / 453.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1145, allocations: 0 / 453.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006132/0.1151, allocations: 172 kB / 453.3 MB, free: 11.05 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.001089/0.1162, allocations: 477.5 kB / 453.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.1179, allocations: 0.6557 MB / 454.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1179, allocations: 0 / 454.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.1185, allocations: 227.5 kB / 454.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.1191, allocations: 101 kB / 454.8 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1212, allocations: 0.9968 MB / 455.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1216, allocations: 0.8083 MB / 456.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1217, allocations: 47.36 kB / 456.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1218, allocations: 0 / 456.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of Templates: time 0.009783/0.1315, allocations: 7.669 MB / 464.3 MB, free: 220 kB / 318.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)