Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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/package.mo) Running command: translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.0455/0.0455, allocations: 8.032 MB / 23.91 MB, free: 476 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.001293/0.001292, allocations: 107.9 kB / 26.48 MB, free: 3.461 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.001565/0.001565, allocations: 194.7 kB / 29.16 MB, free: 0.793 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.47/1.47, allocations: 222.9 MB / 254.6 MB, free: 3.277 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01312/0.01312, allocations: 3.129 MB / 309.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 95.84 kB / 373.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2812, allocations: 51.99 MB / 425.8 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004087/0.2853, allocations: 3.323 MB / 429.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.2885, allocations: 2.106 MB / 431.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.2889, allocations: 11.94 kB / 431.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.2894, allocations: 87.47 kB / 431.3 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.2899, allocations: 127.2 kB / 431.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.2908, allocations: 374.4 kB / 431.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.2913, allocations: 0.6581 MB / 432.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.2916, allocations: 180.4 kB / 432.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.2919, allocations: 279 kB / 432.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.2922, allocations: 266.8 kB / 433.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.2923, allocations: 52 kB / 433.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2925, allocations: 167.9 kB / 433.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2926, allocations: 131.5 kB / 433.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2928, allocations: 262.8 kB / 433.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.2933, allocations: 0.5184 MB / 434.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2933, allocations: 4 kB / 434.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2933, allocations: 0 / 434.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2933, allocations: 0 / 434.3 MB, free: 13.02 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001239/0.2946, allocations: 0.835 MB / 435.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2946, allocations: 12.03 kB / 435.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2948, allocations: 52.38 kB / 435.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2952, allocations: 384.1 kB / 435.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.2953, allocations: 55.27 kB / 435.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.2953, allocations: 39.94 kB / 435.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.2961, allocations: 0.4936 MB / 436.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2962, allocations: 3.906 kB / 436.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.2962, allocations: 16 kB / 436.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2962, allocations: 8 kB / 436.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.2969, allocations: 355.8 kB / 436.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.2988, allocations: 1.436 MB / 438 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.2997, allocations: 408.1 kB / 438.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.3, allocations: 153.3 kB / 438.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.3001, allocations: 4.594 kB / 438.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.3006, allocations: 250.5 kB / 438.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.3006, allocations: 0 / 438.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003732/0.3044, allocations: 1.802 MB / 440.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3044, allocations: 166.2 kB / 440.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.3047, allocations: 328.5 kB / 441.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.3048, allocations: 37.7 kB / 441.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3049, allocations: 224.4 kB / 441.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.305, allocations: 138.1 kB / 441.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3051, allocations: 94.14 kB / 441.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.3052, allocations: 342.8 kB / 441.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3055, allocations: 171 kB / 442 MB, free: 4.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3059, allocations: 276.5 kB / 442.3 MB, free: 4.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.3065, allocations: 363.8 kB / 442.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3065, allocations: 0 / 442.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00113/0.3077, allocations: 0.5906 MB / 443.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3077, allocations: 8 kB / 443.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3077, allocations: 64 / 443.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.3081, allocations: 168.9 kB / 443.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.3084, allocations: 83.81 kB / 443.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.3089, allocations: 0.7075 MB / 444.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3093, allocations: 67.92 kB / 444.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.3094, allocations: 16 kB / 444.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003347/0.3097, allocations: 253.2 kB / 444.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002603/0.31, allocations: 232.7 kB / 444.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003859/0.3104, allocations: 303.7 kB / 445.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.3104, allocations: 0 / 445.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008905/0.3113, allocations: 0.5013 MB / 445.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3113, allocations: 11.94 kB / 445.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.3113, allocations: 0 / 445.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.3116, allocations: 160.8 kB / 445.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3119, allocations: 67.91 kB / 445.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/0.3123, allocations: 0.7124 MB / 446.5 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3127, allocations: 43.94 kB / 446.6 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3127, allocations: 16 kB / 446.6 MB, free: 124 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 (43): * Single equations (assignments): 42 * 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.0002283/0.313, allocations: 228 kB / 446.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.313, allocations: 39.53 kB / 446.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.3132, allocations: 56.45 kB / 446.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3132, allocations: 4 kB / 446.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3132, allocations: 0 / 446.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3132, allocations: 4 kB / 446.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3156, allocations: 1.199 MB / 448.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3156, allocations: 3.938 kB / 448.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.3159, allocations: 67.89 kB / 448.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.3163, allocations: 144.8 kB / 448.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.3164, allocations: 16.05 kB / 448.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006964/0.3171, allocations: 0.685 MB / 449 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3171, allocations: 0 / 449 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.3189, allocations: 0.8222 MB / 449.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.3191, allocations: 156.6 kB / 450 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.3192, allocations: 12 kB / 450 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.3196, allocations: 47.94 kB / 450 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.3198, allocations: 67.78 kB / 450.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.3199, allocations: 19.98 kB / 450.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003642/0.3202, allocations: 231.1 kB / 450.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3203, allocations: 3.938 kB / 450.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008856/0.3211, allocations: 188 kB / 450.5 MB, free: 12 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 (32): * Single equations (assignments): 29 * 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.001972/0.3231, allocations: 484.8 kB / 451 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3251, allocations: 0.6726 MB / 451.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3252, allocations: 0 / 451.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.3258, allocations: 227.8 kB / 451.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.3265, allocations: 96.52 kB / 452 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.329, allocations: 1.216 MB / 453.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.3295, allocations: 0.8279 MB / 454.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3297, allocations: 35.42 kB / 454.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3297, allocations: 0 / 454.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of Templates: time 0.01215/0.3418, allocations: 7.943 MB / 462 MB, free: 0.6328 MB / 318.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe 2>&1)