Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.EVdata.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) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04184/0.04184, allocations: 8.035 MB / 24.3 MB, free: 396 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.0009919/0.0009919, allocations: 111.3 kB / 26.88 MB, free: 3.152 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.001277/0.001277, allocations: 193.9 kB / 29.58 MB, free: 476 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 255 MB, free: 4.707 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01242/0.01242, allocations: 3.127 MB / 310.1 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 103.8 kB / 375.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.196, allocations: 51.97 MB / 427.1 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003613/0.1997, allocations: 3.275 MB / 430.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.2022, allocations: 2.253 MB / 432.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.2024, allocations: 7.938 kB / 432.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.2028, allocations: 139 kB / 432.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.2031, allocations: 158.8 kB / 432.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.2038, allocations: 413.9 kB / 433.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.2042, allocations: 0.6503 MB / 434 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2044, allocations: 159.9 kB / 434.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2047, allocations: 271 kB / 434.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.205, allocations: 258.9 kB / 434.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.205, allocations: 52 kB / 434.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2052, allocations: 167.8 kB / 434.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2053, allocations: 131.5 kB / 435 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2055, allocations: 246.8 kB / 435.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.206, allocations: 0.6696 MB / 435.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.206, allocations: 0 / 435.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.206, allocations: 0 / 435.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.206, allocations: 3.938 kB / 435.9 MB, free: 12.47 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.001149/0.2072, allocations: 0.8349 MB / 436.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2072, allocations: 8.031 kB / 436.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2074, allocations: 60.28 kB / 436.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.2078, allocations: 392.7 kB / 437.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.2079, allocations: 59.27 kB / 437.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.208, allocations: 39.94 kB / 437.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.2086, allocations: 457.5 kB / 437.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2086, allocations: 8 kB / 437.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.2087, allocations: 12 kB / 437.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2087, allocations: 12 kB / 437.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.2093, allocations: 331.7 kB / 438.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.211, allocations: 1.346 MB / 439.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.2118, allocations: 395.8 kB / 439.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.2121, allocations: 152.8 kB / 440 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2122, allocations: 4.531 kB / 440 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.2126, allocations: 243.1 kB / 440.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2126, allocations: 0 / 440.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003498/0.2161, allocations: 1.78 MB / 442 MB, free: 6.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2162, allocations: 162.2 kB / 442.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2165, allocations: 361.7 kB / 442.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2165, allocations: 37.7 kB / 442.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2166, allocations: 224.4 kB / 442.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.2167, allocations: 138.1 kB / 442.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2168, allocations: 90.02 kB / 443 MB, free: 4.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.2169, allocations: 354.8 kB / 443.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.2172, allocations: 166.5 kB / 443.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2176, allocations: 274.7 kB / 443.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.2182, allocations: 355.7 kB / 444.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2182, allocations: 4 kB / 444.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001028/0.2192, allocations: 0.5523 MB / 444.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2192, allocations: 8 kB / 444.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2193, allocations: 4 kB / 444.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.2196, allocations: 156.9 kB / 444.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2199, allocations: 79.89 kB / 444.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004828/0.2204, allocations: 0.7162 MB / 445.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2208, allocations: 51.94 kB / 445.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.2208, allocations: 19.94 kB / 445.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002867/0.2211, allocations: 249 kB / 445.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002405/0.2213, allocations: 231.5 kB / 446.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003478/0.2217, allocations: 287.8 kB / 446.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.2217, allocations: 4 kB / 446.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008064/0.2225, allocations: 497.5 kB / 446.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.2225, allocations: 4 kB / 446.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2225, allocations: 4.125 kB / 447 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.2229, allocations: 164.9 kB / 447.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2231, allocations: 63.91 kB / 447.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004758/0.2235, allocations: 0.7123 MB / 447.9 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.2239, allocations: 47.95 kB / 447.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.2239, allocations: 19.98 kB / 448 MB, free: 15.8 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.0001431/0.2241, allocations: 200.2 kB / 448.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.2241, allocations: 51.5 kB / 448.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.2243, allocations: 56.19 kB / 448.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2243, allocations: 4 kB / 448.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2243, allocations: 0 / 448.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2243, allocations: 3.984 kB / 448.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.2262, allocations: 1.177 MB / 449.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2262, allocations: 0 / 449.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.2265, allocations: 75.98 kB / 449.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.2269, allocations: 140.8 kB / 449.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2269, allocations: 11.98 kB / 449.7 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005431/0.2275, allocations: 0.6771 MB / 450.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2275, allocations: 4.031 kB / 450.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.229, allocations: 0.7923 MB / 451.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.2292, allocations: 160.5 kB / 451.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.2293, allocations: 15.98 kB / 451.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.2296, allocations: 56 kB / 451.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2298, allocations: 51.67 kB / 451.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.2298, allocations: 19.98 kB / 451.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.23, allocations: 263.1 kB / 451.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2301, allocations: 0 / 451.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000595/0.2307, allocations: 180 kB / 451.9 MB, free: 11.73 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.0009979/0.2317, allocations: 488.8 kB / 452.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.2331, allocations: 0.6358 MB / 453 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2331, allocations: 0 / 453 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.2336, allocations: 232.8 kB / 453.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.2342, allocations: 104.9 kB / 453.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2361, allocations: 1.008 MB / 454.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.2364, allocations: 0.8317 MB / 455.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.2366, allocations: 59.27 kB / 455.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.2367, allocations: 39.42 kB / 455.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2367, allocations: 0 / 455.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of Templates: time 0.09268/0.3294, allocations: 9.609 MB / 464.9 MB, free: 14.91 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)