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-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_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-main/package.mo): time 0.0528/0.0528, allocations: 8.035 MB / 23.26 MB, free: 0.5039 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.001027/0.001027, allocations: 111.6 kB / 25.83 MB, free: 3.504 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.001298/0.001298, allocations: 198.4 kB / 28.51 MB, free: 0.8359 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.315/1.315, allocations: 222.9 MB / 253.9 MB, free: 4.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01218/0.01218, allocations: 3.121 MB / 309 MB, free: 2.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 87.84 kB / 373.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1953, allocations: 51.97 MB / 425.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003319/0.1987, allocations: 3.327 MB / 428.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2009, allocations: 2.118 MB / 430.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.2011, allocations: 7.938 kB / 430.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.2015, allocations: 83.47 kB / 430.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2018, allocations: 127.2 kB / 430.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.2024, allocations: 374.6 kB / 431.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.2029, allocations: 0.662 MB / 431.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.2031, allocations: 176.4 kB / 432 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.2033, allocations: 275 kB / 432.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2036, allocations: 266.9 kB / 432.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.2037, allocations: 59.94 kB / 432.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.2039, allocations: 163.9 kB / 432.7 MB, free: 14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.204, allocations: 135.6 kB / 432.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.2041, allocations: 258.7 kB / 433.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.2046, allocations: 0.6737 MB / 433.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2046, allocations: 0 / 433.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2046, allocations: 0 / 433.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2046, allocations: 0 / 433.8 MB, free: 12.93 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.001166/0.2058, allocations: 0.8389 MB / 434.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.2058, allocations: 12.03 kB / 434.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.206, allocations: 52.38 kB / 434.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.2063, allocations: 380.1 kB / 435 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.2064, allocations: 63.27 kB / 435.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.2065, allocations: 43.94 kB / 435.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.2072, allocations: 493.4 kB / 435.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2073, allocations: 7.906 kB / 435.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.2073, allocations: 16 kB / 435.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2073, allocations: 12 kB / 435.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.208, allocations: 347.8 kB / 436 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.2099, allocations: 1.432 MB / 437.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.2108, allocations: 408.1 kB / 437.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.2111, allocations: 153.3 kB / 438 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.2112, allocations: 4.594 kB / 438 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.2116, allocations: 250.5 kB / 438.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.063e-06/0.2117, allocations: 3.938 kB / 438.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003671/0.2153, allocations: 1.806 MB / 440 MB, free: 6.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2154, allocations: 162.2 kB / 440.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.2157, allocations: 332.5 kB / 440.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.2157, allocations: 37.7 kB / 440.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.2158, allocations: 216.4 kB / 440.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.2159, allocations: 142.1 kB / 440.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.216, allocations: 90.14 kB / 441 MB, free: 5.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.2161, allocations: 346.8 kB / 441.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.2164, allocations: 171 kB / 441.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.2168, allocations: 276.5 kB / 441.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.2174, allocations: 359.8 kB / 442.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2174, allocations: 4 kB / 442.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001114/0.2185, allocations: 0.5906 MB / 442.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2185, allocations: 8 kB / 442.7 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2185, allocations: 8.172 kB / 442.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.219, allocations: 160.8 kB / 442.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2192, allocations: 83.88 kB / 443 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005015/0.2198, allocations: 0.6968 MB / 443.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.2201, allocations: 71.86 kB / 443.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.2202, allocations: 20 kB / 443.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003114/0.2205, allocations: 249.2 kB / 444 MB, free: 2.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002565/0.2208, allocations: 236.7 kB / 444.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003723/0.2211, allocations: 299.7 kB / 444.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2211, allocations: 0 / 444.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008833/0.222, allocations: 0.509 MB / 445 MB, free: 1.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.2221, allocations: 7.938 kB / 445.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2221, allocations: 4 kB / 445.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.2224, allocations: 160.9 kB / 445.2 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2226, allocations: 75.91 kB / 445.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/0.2231, allocations: 0.7077 MB / 446 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2234, allocations: 47.94 kB / 446 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2235, allocations: 16 kB / 446.1 MB, free: 28 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.0002242/0.2237, allocations: 220.1 kB / 446.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.2238, allocations: 39.53 kB / 446.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.2239, allocations: 56.39 kB / 446.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2239, allocations: 4 kB / 446.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.224, allocations: 4 kB / 446.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.224, allocations: 0 / 446.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.2261, allocations: 1.195 MB / 447.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2261, allocations: 7.938 kB / 447.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.2264, allocations: 67.95 kB / 447.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.2268, allocations: 156.7 kB / 447.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.2268, allocations: 11.98 kB / 447.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.2274, allocations: 0.6772 MB / 448.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2274, allocations: 0 / 448.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.229, allocations: 0.8261 MB / 449.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2292, allocations: 160.6 kB / 449.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.2293, allocations: 12 kB / 449.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.2297, allocations: 51.94 kB / 449.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2298, allocations: 63.84 kB / 449.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.2299, allocations: 19.98 kB / 449.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.2301, allocations: 231.1 kB / 449.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2302, allocations: 4 kB / 449.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006666/0.2308, allocations: 180 kB / 450 MB, free: 11.91 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.001088/0.2319, allocations: 480.8 kB / 450.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2336, allocations: 0.6799 MB / 451.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2336, allocations: 0 / 451.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.2342, allocations: 236.5 kB / 451.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.2348, allocations: 106.1 kB / 451.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.237, allocations: 1.167 MB / 452.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2374, allocations: 0.824 MB / 453.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.2377, allocations: 71.16 kB / 453.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2378, allocations: 39.42 kB / 453.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of SimCode: time 5e-07/0.2378, allocations: 0 / 453.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of Templates: time 0.01486/0.2526, allocations: 9.453 MB / 463.1 MB, free: 15.03 MB / 334.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)