Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06557/0.06557, allocations: 8.332 MB / 23.45 MB, free: 320 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.001122/0.001122, allocations: 111.3 kB / 26.1 MB, free: 3.227 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.001394/0.001394, allocations: 196.2 kB / 28.83 MB, free: 0.4922 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.358/1.358, allocations: 222.9 MB / 254.3 MB, free: 4.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01307/0.01307, allocations: 3.122 MB / 309.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 91.84 kB / 373.6 MB, free: 2.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2095, allocations: 52.04 MB / 425.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.00396/0.2135, allocations: 3.332 MB / 429 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2162, allocations: 2.117 MB / 431.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.2166, allocations: 15.94 kB / 431.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.2171, allocations: 79.53 kB / 431.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.2176, allocations: 127.2 kB / 431.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.2185, allocations: 364.7 kB / 431.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.2191, allocations: 0.6191 MB / 432.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2195, allocations: 156 kB / 432.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.2199, allocations: 251 kB / 432.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.2202, allocations: 254.9 kB / 432.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.2203, allocations: 28 kB / 432.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2206, allocations: 131.9 kB / 433.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2207, allocations: 103.6 kB / 433.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.2209, allocations: 238.7 kB / 433.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.2215, allocations: 0.6541 MB / 434.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2215, allocations: 0 / 434.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2215, allocations: 0 / 434.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2216, allocations: 0 / 434.1 MB, free: 12.8 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.001477/0.223, allocations: 0.839 MB / 434.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2231, allocations: 8.031 kB / 434.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.2233, allocations: 52.38 kB / 435 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.2237, allocations: 392.1 kB / 435.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.2238, allocations: 55.27 kB / 435.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.2239, allocations: 43.94 kB / 435.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.2247, allocations: 497.4 kB / 435.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2247, allocations: 7.906 kB / 435.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.2248, allocations: 16 kB / 435.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2248, allocations: 8 kB / 436 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.2255, allocations: 359.7 kB / 436.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.2276, allocations: 1.429 MB / 437.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.2286, allocations: 404.3 kB / 438.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2289, allocations: 158.2 kB / 438.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.229, allocations: 12.25 kB / 438.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.2296, allocations: 237.7 kB / 438.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.725e-06/0.2296, allocations: 4 kB / 438.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.004015/0.2336, allocations: 1.802 MB / 440.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2337, allocations: 162.2 kB / 440.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.234, allocations: 328.5 kB / 440.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.2341, allocations: 37.7 kB / 440.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2342, allocations: 220.4 kB / 441.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.2343, allocations: 138.1 kB / 441.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2345, allocations: 98.14 kB / 441.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.2345, allocations: 346.8 kB / 441.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.2349, allocations: 167 kB / 441.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.2353, allocations: 284.4 kB / 442.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.236, allocations: 363.6 kB / 442.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.236, allocations: 4 kB / 442.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001244/0.2372, allocations: 0.5753 MB / 443 MB, free: 3.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2373, allocations: 4 kB / 443 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2373, allocations: 4 kB / 443 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/0.2377, allocations: 168.9 kB / 443.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.238, allocations: 83.83 kB / 443.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005366/0.2386, allocations: 0.7085 MB / 444 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.239, allocations: 55.94 kB / 444 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.239, allocations: 19.98 kB / 444 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003562/0.2394, allocations: 253.2 kB / 444.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002791/0.2397, allocations: 240.7 kB / 444.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004165/0.2401, allocations: 295.7 kB / 444.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.2401, allocations: 0 / 444.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009898/0.2411, allocations: 0.5089 MB / 445.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2411, allocations: 11.94 kB / 445.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2411, allocations: 0 / 445.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.2415, allocations: 172.1 kB / 445.5 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2417, allocations: 63.91 kB / 445.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/0.2423, allocations: 0.7085 MB / 446.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.2427, allocations: 47.98 kB / 446.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2427, allocations: 12 kB / 446.3 MB, free: 15.89 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 (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.0002258/0.243, allocations: 228.1 kB / 446.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.2431, allocations: 39.53 kB / 446.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.2432, allocations: 48.41 kB / 446.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2432, allocations: 4.094 kB / 446.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.2432, allocations: 12.05 kB / 446.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2432, allocations: 3.984 kB / 446.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2455, allocations: 1.203 MB / 447.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2455, allocations: 4 kB / 447.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.2458, allocations: 71.89 kB / 447.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.2462, allocations: 144.8 kB / 448.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.2463, allocations: 19.98 kB / 448.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006521/0.247, allocations: 0.6734 MB / 448.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.247, allocations: 3.938 kB / 448.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2487, allocations: 0.8222 MB / 449.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.2489, allocations: 148.6 kB / 449.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/0.249, allocations: 16 kB / 449.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.2494, allocations: 51.94 kB / 449.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.2496, allocations: 67.78 kB / 449.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.2496, allocations: 19.98 kB / 449.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002752/0.2499, allocations: 235 kB / 450.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2499, allocations: 0 / 450.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007353/0.2507, allocations: 180 kB / 450.3 MB, free: 11.78 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.001111/0.2518, allocations: 490 kB / 450.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.2534, allocations: 0.6527 MB / 451.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2534, allocations: 0 / 451.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.2541, allocations: 236.5 kB / 451.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.2547, allocations: 89.38 kB / 451.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.257, allocations: 1.183 MB / 452.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.2574, allocations: 0.8201 MB / 453.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.2576, allocations: 59.23 kB / 453.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2578, allocations: 39.42 kB / 453.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2578, allocations: 3.938 kB / 453.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Templates: time 0.0155/0.2733, allocations: 9.026 MB / 462.9 MB, free: 15.34 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)