Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05583/0.05583, allocations: 8.038 MB / 24.29 MB, free: 4.785 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 100.8 kB / 26.87 MB, free: 2.949 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.001147/0.001147, allocations: 191.3 kB / 29.56 MB, free: 272 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.332/1.332, allocations: 222.9 MB / 255 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01263/0.01263, allocations: 3.124 MB / 310.1 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 91.86 kB / 375.1 MB, free: 1.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2149, allocations: 51.97 MB / 427.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004056/0.219, allocations: 3.266 MB / 430.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.222, allocations: 2.27 MB / 432.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.2222, allocations: 11.94 kB / 432.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2227, allocations: 131 kB / 432.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.2231, allocations: 166.8 kB / 432.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.2238, allocations: 404.4 kB / 433.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.2242, allocations: 0.6465 MB / 434 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.2244, allocations: 159.9 kB / 434.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.2247, allocations: 275 kB / 434.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.225, allocations: 262.8 kB / 434.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.225, allocations: 52 kB / 434.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.2253, allocations: 159.9 kB / 434.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2254, allocations: 127.6 kB / 435 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2256, allocations: 254.6 kB / 435.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.2261, allocations: 0.6657 MB / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2261, allocations: 4 kB / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2261, allocations: 0 / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2261, allocations: 0 / 435.9 MB, free: 12.46 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.001187/0.2273, allocations: 0.8311 MB / 436.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2273, allocations: 15.97 kB / 436.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2275, allocations: 60.27 kB / 436.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.228, allocations: 392.7 kB / 437.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.2281, allocations: 59.27 kB / 437.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.2282, allocations: 39.94 kB / 437.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.2288, allocations: 465.4 kB / 437.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2288, allocations: 4 kB / 437.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.2289, allocations: 16 kB / 437.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2289, allocations: 8 kB / 437.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.2295, allocations: 331.8 kB / 438.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.2312, allocations: 1.346 MB / 439.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000839/0.232, allocations: 388.1 kB / 439.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2323, allocations: 144.8 kB / 440 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.2323, allocations: 8.516 kB / 440 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.2328, allocations: 243.1 kB / 440.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2328, allocations: 0 / 440.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003534/0.2363, allocations: 1.78 MB / 442 MB, free: 6.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2364, allocations: 162.2 kB / 442.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.2367, allocations: 365.7 kB / 442.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2367, allocations: 37.69 kB / 442.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.2368, allocations: 220.5 kB / 442.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.2369, allocations: 142 kB / 442.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.237, allocations: 86.02 kB / 443 MB, free: 4.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.2371, allocations: 354.8 kB / 443.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.2374, allocations: 162.5 kB / 443.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.2378, allocations: 275.4 kB / 443.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.2383, allocations: 359.7 kB / 444.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2383, allocations: 4 kB / 444.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001016/0.2393, allocations: 0.5484 MB / 444.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2394, allocations: 8 kB / 444.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2394, allocations: 0 / 444.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.2398, allocations: 160.9 kB / 444.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.2401, allocations: 79.83 kB / 444.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004835/0.2405, allocations: 0.7162 MB / 445.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.2409, allocations: 55.94 kB / 445.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.2409, allocations: 19.98 kB / 445.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002969/0.2412, allocations: 245 kB / 445.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002452/0.2415, allocations: 235 kB / 446.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003499/0.2418, allocations: 287.8 kB / 446.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.2419, allocations: 3.984 kB / 446.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008033/0.2427, allocations: 0.4898 MB / 446.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.2427, allocations: 5.25 kB / 446.9 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2427, allocations: 8.062 kB / 446.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.243, allocations: 160.9 kB / 447.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2432, allocations: 63.91 kB / 447.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/0.2437, allocations: 0.7124 MB / 447.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2441, allocations: 47.94 kB / 447.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.2441, allocations: 19.94 kB / 447.9 MB, free: 15.79 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.0001703/0.2443, allocations: 208.3 kB / 448.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2444, allocations: 51.5 kB / 448.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.2445, allocations: 56.17 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2445, allocations: 4 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2445, allocations: 0 / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2445, allocations: 0 / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.2465, allocations: 1.169 MB / 449.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2465, allocations: 4 kB / 449.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2468, allocations: 67.98 kB / 449.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.2472, allocations: 152.6 kB / 449.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.2472, allocations: 11.98 kB / 449.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005774/0.2478, allocations: 0.6849 MB / 450.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2478, allocations: 0 / 450.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2494, allocations: 0.8001 MB / 451.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.2495, allocations: 156.5 kB / 451.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.2496, allocations: 15.94 kB / 451.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.25, allocations: 52 kB / 451.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2501, allocations: 63.66 kB / 451.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.2502, allocations: 15.98 kB / 451.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.2505, allocations: 259.2 kB / 451.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2505, allocations: 0 / 451.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.2511, allocations: 180 kB / 451.9 MB, free: 11.71 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.001207/0.2523, allocations: 487.1 kB / 452.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.2538, allocations: 0.632 MB / 453 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2538, allocations: 0 / 453 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2544, allocations: 232.8 kB / 453.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.255, allocations: 108.9 kB / 453.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.2572, allocations: 1.012 MB / 454.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.2576, allocations: 0.8239 MB / 455.1 MB, free: 8.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.2578, allocations: 59.22 kB / 455.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2579, allocations: 39.42 kB / 455.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2579, allocations: 0 / 455.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of Templates: time 0.01433/0.2722, allocations: 9.603 MB / 464.8 MB, free: 14.89 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)