Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04291/0.04291, allocations: 8.017 MB / 23.9 MB, free: 492 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.0009993/0.0009992, allocations: 111.3 kB / 26.47 MB, free: 3.465 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.00128/0.00128, allocations: 199.1 kB / 29.14 MB, free: 0.8047 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.29/1.29, allocations: 222.9 MB / 254.6 MB, free: 3.309 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0123/0.0123, allocations: 3.126 MB / 309.6 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 91.84 kB / 373.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 51.97 MB / 425.7 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003812/0.2394, allocations: 3.315 MB / 429 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.2421, allocations: 2.207 MB / 431.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.2423, allocations: 11.94 kB / 431.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.2428, allocations: 117.8 kB / 431.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.2431, allocations: 139.1 kB / 431.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.2438, allocations: 370.7 kB / 431.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.2443, allocations: 0.6425 MB / 432.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.2445, allocations: 153.5 kB / 432.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2447, allocations: 278.9 kB / 432.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.245, allocations: 262.9 kB / 433.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.2451, allocations: 51.98 kB / 433.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.2453, allocations: 155.9 kB / 433.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.2454, allocations: 127.6 kB / 433.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.2456, allocations: 262.6 kB / 433.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.246, allocations: 0.5028 MB / 434.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.246, allocations: 0 / 434.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.246, allocations: 0 / 434.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.246, allocations: 0 / 434.3 MB, free: 13.07 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.001176/0.2472, allocations: 0.8349 MB / 435.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2472, allocations: 8.031 kB / 435.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2474, allocations: 56.28 kB / 435.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.2478, allocations: 392.6 kB / 435.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.2478, allocations: 59.25 kB / 435.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.2479, allocations: 43.88 kB / 435.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.2486, allocations: 461.5 kB / 436.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2486, allocations: 4 kB / 436.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.2487, allocations: 16 kB / 436.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2487, allocations: 15.94 kB / 436.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.2493, allocations: 327.8 kB / 436.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.2511, allocations: 1.358 MB / 437.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.2519, allocations: 383.4 kB / 438.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.2522, allocations: 152.7 kB / 438.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.2523, allocations: 12.81 kB / 438.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.2528, allocations: 239.7 kB / 438.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.2528, allocations: 0 / 438.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003589/0.2564, allocations: 1.769 MB / 440.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.2565, allocations: 166.2 kB / 440.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2568, allocations: 361.7 kB / 440.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2568, allocations: 41.7 kB / 440.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.2569, allocations: 220.4 kB / 441.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.257, allocations: 138.1 kB / 441.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2571, allocations: 94.02 kB / 441.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.2572, allocations: 350.8 kB / 441.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.2575, allocations: 162.5 kB / 441.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.2579, allocations: 263.4 kB / 442.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.2585, allocations: 367.7 kB / 442.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2585, allocations: 0 / 442.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001043/0.2595, allocations: 0.5522 MB / 443 MB, free: 3.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2596, allocations: 6.656 kB / 443 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2596, allocations: 4 kB / 443 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.26, allocations: 168.9 kB / 443.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.2603, allocations: 79.89 kB / 443.3 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005083/0.2608, allocations: 0.7075 MB / 444 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2611, allocations: 55.97 kB / 444 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.2612, allocations: 16 kB / 444 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000305/0.2615, allocations: 249 kB / 444.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002529/0.2618, allocations: 231.4 kB / 444.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003664/0.2621, allocations: 291.8 kB / 444.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.2622, allocations: 0 / 444.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000825/0.263, allocations: 497.5 kB / 445.3 MB, free: 1.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.263, allocations: 4 kB / 445.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.263, allocations: 7.984 kB / 445.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.2633, allocations: 165 kB / 445.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.2636, allocations: 63.84 kB / 445.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.264, allocations: 0.7085 MB / 446.2 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.2644, allocations: 52.05 kB / 446.3 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2644, allocations: 16 kB / 446.3 MB, free: 420 kB / 302.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.0001406/0.2645, allocations: 213 kB / 446.5 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.2646, allocations: 43.44 kB / 446.5 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2647, allocations: 64.12 kB / 446.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.2647, allocations: 8.078 kB / 446.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2647, allocations: 0 / 446.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2648, allocations: 3.984 kB / 446.6 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.2668, allocations: 1.173 MB / 447.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2668, allocations: 0 / 447.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.2671, allocations: 67.89 kB / 447.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/0.2675, allocations: 148.8 kB / 448 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.2675, allocations: 15.98 kB / 448 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005902/0.2681, allocations: 0.6772 MB / 448.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2681, allocations: 0 / 448.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2698, allocations: 0.7988 MB / 449.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.2699, allocations: 156.5 kB / 449.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.27, allocations: 15.98 kB / 449.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2704, allocations: 52 kB / 449.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2706, allocations: 59.86 kB / 449.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.2706, allocations: 15.98 kB / 449.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002749/0.2709, allocations: 263.2 kB / 450 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2709, allocations: 0 / 450 MB, free: 12.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006642/0.2716, allocations: 176 kB / 450.2 MB, free: 12.33 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.001144/0.2727, allocations: 499.3 kB / 450.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.2743, allocations: 0.6478 MB / 451.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2743, allocations: 0 / 451.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.2748, allocations: 236.5 kB / 451.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.2755, allocations: 96 kB / 451.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2776, allocations: 1.216 MB / 452.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.278, allocations: 0.8161 MB / 453.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2781, allocations: 47.36 kB / 453.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2781, allocations: 0 / 453.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of Templates: time 0.009987/0.2881, allocations: 8.007 MB / 461.8 MB, free: 0.8984 MB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_main_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)