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.05762/0.05762, allocations: 8.338 MB / 23.57 MB, free: 256 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.001089/0.001089, allocations: 108.2 kB / 26.2 MB, free: 3.164 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.001366/0.001366, allocations: 195.1 kB / 28.94 MB, free: 440 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.378/1.378, allocations: 222.9 MB / 254.4 MB, free: 2.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01468/0.01468, allocations: 3.126 MB / 309.5 MB, free: 1.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 95.84 kB / 373.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2424, allocations: 52.04 MB / 425.8 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003683/0.2462, allocations: 3.3 MB / 429.1 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2487, allocations: 2.215 MB / 431.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.2489, allocations: 11.88 kB / 431.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.2494, allocations: 113.8 kB / 431.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.2498, allocations: 139.1 kB / 431.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.2505, allocations: 371.2 kB / 432 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2509, allocations: 0.6464 MB / 432.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2511, allocations: 157.5 kB / 432.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2514, allocations: 275 kB / 433 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.2516, allocations: 266.8 kB / 433.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2517, allocations: 48 kB / 433.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2519, allocations: 155.9 kB / 433.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2521, allocations: 131.6 kB / 433.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2522, allocations: 258.6 kB / 433.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.2528, allocations: 0.662 MB / 434.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2528, allocations: 0 / 434.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2528, allocations: 0 / 434.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2528, allocations: 0 / 434.5 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.001266/0.2541, allocations: 0.8311 MB / 435.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2541, allocations: 8.031 kB / 435.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.2543, allocations: 56.28 kB / 435.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.2547, allocations: 392.7 kB / 435.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.2548, allocations: 55.27 kB / 435.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.2548, allocations: 35.94 kB / 435.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.2556, allocations: 469.4 kB / 436.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.2556, allocations: 4 kB / 436.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.2557, allocations: 15.94 kB / 436.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2557, allocations: 16 kB / 436.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.2563, allocations: 331.7 kB / 436.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.2581, allocations: 1.358 MB / 438.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.259, allocations: 387.3 kB / 438.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.2593, allocations: 148.8 kB / 438.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.2594, allocations: 8.469 kB / 438.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.2599, allocations: 243.6 kB / 438.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.2599, allocations: 0 / 438.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003705/0.2636, allocations: 1.769 MB / 440.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2637, allocations: 166.2 kB / 440.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.264, allocations: 366 kB / 441.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.264, allocations: 37.7 kB / 441.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.2641, allocations: 228.4 kB / 441.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.2642, allocations: 138 kB / 441.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2643, allocations: 94.02 kB / 441.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.2644, allocations: 350.8 kB / 442 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.2648, allocations: 158.5 kB / 442.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.2651, allocations: 271.4 kB / 442.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.2657, allocations: 359.7 kB / 442.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2657, allocations: 0 / 442.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001087/0.2668, allocations: 0.5523 MB / 443.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2669, allocations: 5.25 kB / 443.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2669, allocations: 8.062 kB / 443.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.2673, allocations: 160.9 kB / 443.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.2676, allocations: 79.94 kB / 443.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005155/0.2681, allocations: 0.7114 MB / 444.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.2685, allocations: 63.94 kB / 444.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.2685, allocations: 16 kB / 444.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003209/0.2688, allocations: 245 kB / 444.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.2691, allocations: 227.5 kB / 444.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003822/0.2695, allocations: 295.8 kB / 445.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2695, allocations: 0 / 445.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008715/0.2704, allocations: 497.5 kB / 445.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.2704, allocations: 4 kB / 445.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2704, allocations: 4 kB / 445.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.2708, allocations: 169 kB / 445.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.271, allocations: 55.92 kB / 445.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000581/0.2716, allocations: 0.7162 MB / 446.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.2722, allocations: 56.03 kB / 446.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.2723, allocations: 16 kB / 446.6 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.0002271/0.2725, allocations: 205 kB / 446.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.2726, allocations: 47.42 kB / 446.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.2727, allocations: 52.19 kB / 446.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.2727, allocations: 7.938 kB / 446.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2728, allocations: 4 kB / 446.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2728, allocations: 0 / 446.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.2753, allocations: 1.177 MB / 448.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2753, allocations: 7.922 kB / 448.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2757, allocations: 63.91 kB / 448.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.2761, allocations: 144.8 kB / 448.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.2761, allocations: 24.05 kB / 448.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007193/0.2768, allocations: 0.6772 MB / 449 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2769, allocations: 0 / 449 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.2787, allocations: 0.8027 MB / 449.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.2789, allocations: 152.5 kB / 449.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.279, allocations: 16 kB / 449.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.2794, allocations: 56 kB / 450 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.2796, allocations: 55.91 kB / 450 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.2796, allocations: 15.98 kB / 450.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.28, allocations: 263.1 kB / 450.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.28, allocations: 0 / 450.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008086/0.2808, allocations: 180 kB / 450.5 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.001369/0.2822, allocations: 485.2 kB / 451 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.284, allocations: 0.6517 MB / 451.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.284, allocations: 0 / 451.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.2847, allocations: 232.4 kB / 451.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.2854, allocations: 103.8 kB / 451.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.288, allocations: 1.196 MB / 453.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.2884, allocations: 0.8161 MB / 454 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.2888, allocations: 59.27 kB / 454 MB, free: 8.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.289, allocations: 47.42 kB / 454.1 MB, free: 8.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.824e-06/0.289, allocations: 0 / 454.1 MB, free: 8.25 MB / 318.1 MB Notification: Performance of Templates: time 0.018/0.307, allocations: 9.59 MB / 463.6 MB, free: 14.71 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 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)