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.06979/0.06979, allocations: 8.59 MB / 24.72 MB, free: 4.332 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.00105/0.001049, allocations: 105.6 kB / 27.43 MB, free: 2.375 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.001238/0.001238, allocations: 190.5 kB / 30.26 MB, free: 6.098 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 255.8 MB, free: 4.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01231/0.01231, allocations: 3.13 MB / 311 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001882, allocations: 95.84 kB / 375.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2391, allocations: 52.11 MB / 427.6 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004265/0.2434, allocations: 3.262 MB / 430.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2463, allocations: 2.25 MB / 433.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.2466, allocations: 8 kB / 433.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.2471, allocations: 149.4 kB / 433.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.2475, allocations: 158.8 kB / 433.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.2482, allocations: 407 kB / 433.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.2486, allocations: 0.6425 MB / 434.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.2489, allocations: 165.4 kB / 434.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2491, allocations: 271.1 kB / 434.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2494, allocations: 258.8 kB / 435.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.2495, allocations: 52 kB / 435.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.2497, allocations: 155.9 kB / 435.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2498, allocations: 123.6 kB / 435.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.25, allocations: 254.7 kB / 435.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.2506, allocations: 0.6581 MB / 436.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2506, allocations: 4 kB / 436.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2506, allocations: 0 / 436.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2506, allocations: 0 / 436.4 MB, free: 11.85 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.001181/0.2518, allocations: 0.8409 MB / 437.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2518, allocations: 8.031 kB / 437.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.252, allocations: 56.28 kB / 437.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2524, allocations: 388.7 kB / 437.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.2524, allocations: 55.27 kB / 437.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.2525, allocations: 43.88 kB / 437.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.2531, allocations: 461.5 kB / 438.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.2532, allocations: 8 kB / 438.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.2532, allocations: 15.98 kB / 438.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2532, allocations: 8 kB / 438.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.2539, allocations: 331.8 kB / 438.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2556, allocations: 1.354 MB / 439.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.2565, allocations: 380.1 kB / 440.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.2568, allocations: 156.8 kB / 440.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.2569, allocations: 8.516 kB / 440.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.2574, allocations: 239.1 kB / 440.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.475e-06/0.2574, allocations: 0 / 440.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003621/0.261, allocations: 1.787 MB / 442.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2611, allocations: 162.2 kB / 442.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.2614, allocations: 361.7 kB / 443 MB, free: 4.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.2614, allocations: 41.7 kB / 443 MB, free: 4.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2615, allocations: 224.4 kB / 443.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.2616, allocations: 134.1 kB / 443.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2617, allocations: 94.02 kB / 443.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2618, allocations: 346.8 kB / 443.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.2621, allocations: 170.5 kB / 444 MB, free: 3.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2625, allocations: 271.4 kB / 444.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.2631, allocations: 359.7 kB / 444.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2631, allocations: 0 / 444.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/0.2641, allocations: 0.5485 MB / 445.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2642, allocations: 8 kB / 445.1 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2642, allocations: 4 kB / 445.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.2646, allocations: 164.7 kB / 445.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.2648, allocations: 71.89 kB / 445.4 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004964/0.2654, allocations: 0.7167 MB / 446.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.2657, allocations: 55.97 kB / 446.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.2658, allocations: 15.98 kB / 446.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000305/0.2661, allocations: 245 kB / 446.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002584/0.2664, allocations: 235.1 kB / 446.6 MB, free: 1.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003811/0.2667, allocations: 291.8 kB / 446.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2668, allocations: 0 / 446.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008337/0.2676, allocations: 0.4937 MB / 447.4 MB, free: 216 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2676, allocations: 4 kB / 447.4 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.2676, allocations: 4.094 kB / 447.4 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.268, allocations: 160.9 kB / 447.6 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2682, allocations: 67.91 kB / 447.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/0.2688, allocations: 0.7084 MB / 448.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.2692, allocations: 47.98 kB / 448.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.2692, allocations: 19.98 kB / 448.4 MB, free: 15.18 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.0001643/0.2694, allocations: 216.2 kB / 448.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.2695, allocations: 43.44 kB / 448.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2696, allocations: 56.19 kB / 448.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2696, allocations: 4 kB / 448.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2696, allocations: 0 / 448.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2696, allocations: 3.984 kB / 448.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.2717, allocations: 1.177 MB / 449.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2718, allocations: 0 / 449.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.272, allocations: 71.89 kB / 450 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.2724, allocations: 148.8 kB / 450.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.2725, allocations: 19.92 kB / 450.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006135/0.2731, allocations: 0.6772 MB / 450.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2731, allocations: 3.984 kB / 450.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.2748, allocations: 0.7948 MB / 451.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.275, allocations: 160.5 kB / 451.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.2751, allocations: 16 kB / 451.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2755, allocations: 47.94 kB / 451.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2756, allocations: 59.97 kB / 451.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.2757, allocations: 15.98 kB / 451.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.276, allocations: 259.2 kB / 452.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.276, allocations: 0 / 452.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.2767, allocations: 184 kB / 452.3 MB, free: 11.09 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.001081/0.2778, allocations: 482 kB / 452.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2793, allocations: 0.6363 MB / 453.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2793, allocations: 0 / 453.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.2799, allocations: 235.5 kB / 453.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.2805, allocations: 100.7 kB / 453.8 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.2827, allocations: 1.023 MB / 454.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.2833, allocations: 0.8239 MB / 455.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.2835, allocations: 67.2 kB / 455.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.2836, allocations: 35.42 kB / 455.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2836, allocations: 4 kB / 455.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of Templates: time 0.01613/0.2998, allocations: 9.596 MB / 465.3 MB, free: 14.27 MB / 334.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 -s cvode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)