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.07194/0.07194, allocations: 8.028 MB / 24.19 MB, free: 100 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.001802/0.001803, allocations: 112.5 kB / 26.77 MB, free: 3.059 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.002309/0.002309, allocations: 203.9 kB / 29.47 MB, free: 388 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 254.9 MB, free: 4.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01482/0.01482, allocations: 3.129 MB / 310 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002942/0.002942, allocations: 99.84 kB / 374.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1929, allocations: 51.97 MB / 426.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.00405/0.197, allocations: 3.297 MB / 429.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.1998, allocations: 2.153 MB / 431.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.2002, allocations: 8 kB / 431.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.2006, allocations: 103.1 kB / 431.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.2012, allocations: 150.9 kB / 432 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.202, allocations: 430.5 kB / 432.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005823/0.2026, allocations: 0.6504 MB / 433.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.2029, allocations: 176.4 kB / 433.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2032, allocations: 275.1 kB / 433.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2036, allocations: 274.8 kB / 433.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.2037, allocations: 52 kB / 433.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.204, allocations: 159.9 kB / 434 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2041, allocations: 131.6 kB / 434.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2043, allocations: 258.6 kB / 434.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.2049, allocations: 0.6737 MB / 435.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2049, allocations: 0 / 435.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2049, allocations: 0 / 435.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.205, allocations: 0 / 435.1 MB, free: 12.65 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.001366/0.2063, allocations: 0.8428 MB / 435.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2064, allocations: 8.031 kB / 435.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2066, allocations: 56.38 kB / 436 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.207, allocations: 376.1 kB / 436.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.207, allocations: 67.25 kB / 436.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.2071, allocations: 39.94 kB / 436.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.2079, allocations: 0.4897 MB / 436.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2079, allocations: 7.906 kB / 437 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.208, allocations: 16 kB / 437 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.208, allocations: 8 kB / 437 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.2087, allocations: 347.8 kB / 437.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.2106, allocations: 1.436 MB / 438.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/0.2116, allocations: 400.1 kB / 439.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.212, allocations: 157.3 kB / 439.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.212, allocations: 4.281 kB / 439.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.2125, allocations: 246.4 kB / 439.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.2125, allocations: 0 / 439.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003951/0.2165, allocations: 1.814 MB / 441.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2165, allocations: 166.2 kB / 441.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2169, allocations: 332.5 kB / 441.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.2169, allocations: 37.7 kB / 441.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.217, allocations: 212.4 kB / 442.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.2171, allocations: 142.1 kB / 442.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2172, allocations: 90.14 kB / 442.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.2173, allocations: 346.8 kB / 442.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.2177, allocations: 171 kB / 442.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.218, allocations: 281.2 kB / 443.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.2187, allocations: 367.6 kB / 443.5 MB, free: 3.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2187, allocations: 0 / 443.5 MB, free: 3.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001171/0.2199, allocations: 0.5909 MB / 444 MB, free: 3.199 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2199, allocations: 4 kB / 444 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.2199, allocations: 4 kB / 444.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.2203, allocations: 156.8 kB / 444.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.2206, allocations: 83.89 kB / 444.3 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/0.2211, allocations: 0.7153 MB / 445 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.2215, allocations: 55.83 kB / 445.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.2216, allocations: 24.06 kB / 445.1 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003153/0.2219, allocations: 249.2 kB / 445.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002544/0.2222, allocations: 236.8 kB / 445.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003883/0.2226, allocations: 299.7 kB / 445.8 MB, free: 1.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.2226, allocations: 0 / 445.8 MB, free: 1.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009109/0.2235, allocations: 0.5089 MB / 446.4 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2235, allocations: 7.938 kB / 446.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2235, allocations: 4 kB / 446.4 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.2239, allocations: 172.8 kB / 446.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2241, allocations: 67.91 kB / 446.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005452/0.2246, allocations: 0.7007 MB / 447.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.225, allocations: 47.94 kB / 447.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.2251, allocations: 28 kB / 447.4 MB, free: 15.73 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.0002115/0.2253, allocations: 220.6 kB / 447.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.2254, allocations: 35.53 kB / 447.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.2255, allocations: 56.41 kB / 447.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2255, allocations: 4 kB / 447.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2256, allocations: 0 / 447.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2256, allocations: 3.984 kB / 447.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.2279, allocations: 1.191 MB / 448.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2279, allocations: 0 / 448.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.2283, allocations: 79.83 kB / 449 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.2286, allocations: 148.8 kB / 449.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2287, allocations: 11.98 kB / 449.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006681/0.2294, allocations: 0.6772 MB / 449.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2294, allocations: 4.031 kB / 449.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2311, allocations: 0.8181 MB / 450.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.2314, allocations: 152.6 kB / 450.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.2315, allocations: 24.05 kB / 450.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.2319, allocations: 52 kB / 450.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.232, allocations: 59.8 kB / 450.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.2321, allocations: 15.98 kB / 450.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.2324, allocations: 239 kB / 451.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2324, allocations: 0 / 451.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007065/0.2331, allocations: 176 kB / 451.3 MB, free: 11.63 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.001674/0.2348, allocations: 497.6 kB / 451.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.2366, allocations: 0.6723 MB / 452.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2366, allocations: 0 / 452.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.2373, allocations: 240.5 kB / 452.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.2379, allocations: 93.05 kB / 452.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.2404, allocations: 1.041 MB / 453.8 MB, free: 9.242 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.2409, allocations: 0.8162 MB / 454.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.241, allocations: 43.42 kB / 454.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.241, allocations: 0 / 454.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of Templates: time 0.01268/0.2537, allocations: 7.933 MB / 462.6 MB, free: 444 kB / 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)