Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.046/0.046, allocations: 8.035 MB / 23.15 MB, free: 0.5273 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.001019/0.00102, allocations: 112 kB / 25.72 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.001118/0.001118, allocations: 200.1 kB / 28.4 MB, free: 0.9141 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.288/1.288, allocations: 222.9 MB / 253.8 MB, free: 3.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01184/0.01184, allocations: 3.125 MB / 308.8 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 87.86 kB / 372.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2176, allocations: 51.98 MB / 424.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003728/0.2213, allocations: 3.343 MB / 428.2 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.2238, allocations: 2.114 MB / 430.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.2241, allocations: 11.94 kB / 430.4 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.2245, allocations: 83.47 kB / 430.5 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.2248, allocations: 131.2 kB / 430.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.2255, allocations: 364.7 kB / 430.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.2259, allocations: 0.6152 MB / 431.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2261, allocations: 156 kB / 431.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.2264, allocations: 247 kB / 431.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.2266, allocations: 250.9 kB / 432.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.2267, allocations: 28 kB / 432.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2269, allocations: 135.9 kB / 432.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.227, allocations: 119.5 kB / 432.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.2272, allocations: 222.8 kB / 432.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.2277, allocations: 0.658 MB / 433.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2277, allocations: 0 / 433.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2277, allocations: 3.984 kB / 433.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2277, allocations: 4 kB / 433.4 MB, free: 13.2 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.001191/0.2289, allocations: 0.8273 MB / 434.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2289, allocations: 8.031 kB / 434.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2291, allocations: 56.36 kB / 434.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.2295, allocations: 388.1 kB / 434.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.2296, allocations: 59.2 kB / 434.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.2296, allocations: 47.92 kB / 434.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.2304, allocations: 493.4 kB / 435.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2304, allocations: 11.89 kB / 435.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.2305, allocations: 16 kB / 435.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2305, allocations: 12 kB / 435.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.2312, allocations: 347.8 kB / 435.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.233, allocations: 1.429 MB / 437 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.2339, allocations: 400.1 kB / 437.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.2342, allocations: 162.2 kB / 437.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.2343, allocations: 8.578 kB / 437.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.2348, allocations: 249.3 kB / 437.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.2348, allocations: 0 / 437.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003704/0.2385, allocations: 1.806 MB / 439.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.2386, allocations: 162.2 kB / 439.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.2388, allocations: 328.5 kB / 440.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.2389, allocations: 41.69 kB / 440.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.239, allocations: 220.4 kB / 440.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.2391, allocations: 142.1 kB / 440.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2392, allocations: 90.14 kB / 440.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.2393, allocations: 346.8 kB / 440.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2396, allocations: 171 kB / 441.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.24, allocations: 280.5 kB / 441.4 MB, free: 4.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.2406, allocations: 371.5 kB / 441.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2406, allocations: 0 / 441.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001096/0.2417, allocations: 0.5792 MB / 442.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2417, allocations: 4 kB / 442.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2417, allocations: 4 kB / 442.3 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.2421, allocations: 168.9 kB / 442.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2424, allocations: 79.89 kB / 442.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005131/0.2429, allocations: 0.7159 MB / 443.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.2433, allocations: 55.94 kB / 443.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.2433, allocations: 15.98 kB / 443.3 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003194/0.2437, allocations: 257.3 kB / 443.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002573/0.2439, allocations: 228.7 kB / 443.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003844/0.2443, allocations: 299.7 kB / 444.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/0.2443, allocations: 4 kB / 444.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008913/0.2452, allocations: 0.5011 MB / 444.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.2453, allocations: 15.92 kB / 444.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2453, allocations: 8.156 kB / 444.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.2456, allocations: 160.8 kB / 444.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.2458, allocations: 67.91 kB / 444.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004516/0.2463, allocations: 0.7084 MB / 445.6 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2466, allocations: 52.17 kB / 445.6 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.2467, allocations: 23.98 kB / 445.6 MB, free: 296 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.0001226/0.2468, allocations: 220 kB / 445.9 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.2469, allocations: 39.53 kB / 445.9 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.247, allocations: 48.48 kB / 445.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.247, allocations: 4 kB / 445.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.247, allocations: 0 / 445.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.247, allocations: 3.984 kB / 446 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.249, allocations: 1.199 MB / 447.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.249, allocations: 4 kB / 447.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.2493, allocations: 67.89 kB / 447.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.2497, allocations: 148.8 kB / 447.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.2498, allocations: 15.98 kB / 447.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005896/0.2503, allocations: 0.6772 MB / 448.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2504, allocations: 0 / 448.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.252, allocations: 0.8222 MB / 448.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.2522, allocations: 148.6 kB / 449 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.2523, allocations: 16 kB / 449 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.2526, allocations: 52.08 kB / 449.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2528, allocations: 71.77 kB / 449.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.2528, allocations: 19.98 kB / 449.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.2531, allocations: 227.1 kB / 449.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2531, allocations: 3.938 kB / 449.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006344/0.2537, allocations: 188 kB / 449.6 MB, free: 12.19 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.001078/0.2548, allocations: 486.9 kB / 450.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2563, allocations: 0.6488 MB / 450.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2563, allocations: 0 / 450.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.2569, allocations: 240.5 kB / 451 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.2575, allocations: 98.92 kB / 451 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2595, allocations: 1.181 MB / 452.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.2599, allocations: 0.8201 MB / 453 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.2602, allocations: 59.25 kB / 453.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2603, allocations: 35.42 kB / 453.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2603, allocations: 0 / 453.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Templates: time 0.01375/0.274, allocations: 9.025 MB / 462.2 MB, free: 15.76 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe 2>&1)