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.05597/0.05597, allocations: 8.035 MB / 23.16 MB, free: 0.5234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009839, allocations: 111 kB / 25.73 MB, free: 3.586 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.001253/0.001253, allocations: 191.9 kB / 28.39 MB, free: 0.9258 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.278/1.278, allocations: 222.9 MB / 253.8 MB, free: 3.289 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01206/0.01206, allocations: 3.129 MB / 308.8 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 95.86 kB / 372.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2248, allocations: 51.97 MB / 424.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003976/0.2288, allocations: 3.312 MB / 428.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.2318, allocations: 2.215 MB / 430.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.2321, allocations: 4 kB / 430.4 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.2326, allocations: 121.8 kB / 430.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.2331, allocations: 139.1 kB / 430.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.2338, allocations: 357.9 kB / 431 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2342, allocations: 0.6112 MB / 431.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2345, allocations: 145.5 kB / 431.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.2347, allocations: 246.9 kB / 432 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.235, allocations: 242.9 kB / 432.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.2351, allocations: 28 kB / 432.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.2353, allocations: 135.8 kB / 432.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2354, allocations: 111.5 kB / 432.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2356, allocations: 222.8 kB / 432.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.2361, allocations: 0.6424 MB / 433.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2361, allocations: 4 kB / 433.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2361, allocations: 0 / 433.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2361, allocations: 0 / 433.4 MB, free: 13.15 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.001227/0.2373, allocations: 0.835 MB / 434.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2374, allocations: 8.031 kB / 434.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2375, allocations: 56.28 kB / 434.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.2379, allocations: 392.6 kB / 434.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.238, allocations: 51.27 kB / 434.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.2381, allocations: 39.94 kB / 434.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.2388, allocations: 473.4 kB / 435.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2388, allocations: 7.984 kB / 435.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2389, allocations: 12 kB / 435.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2389, allocations: 8 kB / 435.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.2395, allocations: 335.8 kB / 435.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2413, allocations: 1.362 MB / 437 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.2422, allocations: 385.7 kB / 437.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.2425, allocations: 148.8 kB / 437.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.2425, allocations: 4.531 kB / 437.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.243, allocations: 235.7 kB / 437.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.243, allocations: 0 / 437.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003546/0.2466, allocations: 1.781 MB / 439.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2467, allocations: 162.2 kB / 439.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.247, allocations: 365.7 kB / 440 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.247, allocations: 37.7 kB / 440 MB, free: 6.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.2471, allocations: 220.5 kB / 440.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.2472, allocations: 142 kB / 440.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2473, allocations: 90.02 kB / 440.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.2474, allocations: 346.8 kB / 440.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2477, allocations: 170.5 kB / 441 MB, free: 5.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.2481, allocations: 267.4 kB / 441.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.2486, allocations: 355.7 kB / 441.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2487, allocations: 0 / 441.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001051/0.2497, allocations: 0.5483 MB / 442.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2497, allocations: 8 kB / 442.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2498, allocations: 3.984 kB / 442.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.2502, allocations: 168.9 kB / 442.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.2504, allocations: 79.83 kB / 442.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005215/0.251, allocations: 0.7118 MB / 443.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.2513, allocations: 56 kB / 443.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.2514, allocations: 19.98 kB / 443.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003046/0.2517, allocations: 245 kB / 443.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002489/0.2519, allocations: 231.4 kB / 443.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003646/0.2523, allocations: 295.8 kB / 443.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.2523, allocations: 0 / 443.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008343/0.2532, allocations: 493.5 kB / 444.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.2532, allocations: 8.219 kB / 444.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2532, allocations: 4 kB / 444.4 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.2535, allocations: 164.7 kB / 444.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2537, allocations: 67.91 kB / 444.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000444/0.2542, allocations: 0.7007 MB / 445.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.2545, allocations: 52 kB / 445.4 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.2546, allocations: 16 kB / 445.4 MB, free: 0.4961 MB / 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.0001232/0.2547, allocations: 217 kB / 445.6 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.2548, allocations: 43.47 kB / 445.7 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.2549, allocations: 60.17 kB / 445.7 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2549, allocations: 4 kB / 445.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.2549, allocations: 0 / 445.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2549, allocations: 0 / 445.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.2569, allocations: 1.173 MB / 446.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.257, allocations: 4 kB / 446.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.2572, allocations: 67.89 kB / 447 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.2577, allocations: 148.8 kB / 447.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.2577, allocations: 11.98 kB / 447.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006264/0.2584, allocations: 0.6888 MB / 447.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2584, allocations: 0 / 447.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.2601, allocations: 0.7988 MB / 448.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.2603, allocations: 160.5 kB / 448.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.2604, allocations: 12 kB / 448.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2608, allocations: 60.06 kB / 448.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2609, allocations: 51.91 kB / 448.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.261, allocations: 19.98 kB / 448.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.2613, allocations: 259.2 kB / 449.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2613, allocations: 0 / 449.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.262, allocations: 180 kB / 449.4 MB, free: 12.41 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.001064/0.263, allocations: 490.5 kB / 449.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.2646, allocations: 0.6246 MB / 450.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2646, allocations: 0 / 450.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.2652, allocations: 236.2 kB / 450.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.2659, allocations: 97.8 kB / 450.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.268, allocations: 1.19 MB / 452 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2684, allocations: 0.8199 MB / 452.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.2687, allocations: 63.25 kB / 452.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2688, allocations: 35.44 kB / 452.9 MB, free: 8.977 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2688, allocations: 4 kB / 452.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of Templates: time 0.01433/0.2831, allocations: 9.14 MB / 462 MB, free: 15.88 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 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)