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.04415/0.04415, allocations: 8.023 MB / 24.16 MB, free: 408 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.0009533/0.0009532, allocations: 104.6 kB / 26.72 MB, free: 3.297 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.001136/0.001136, allocations: 191.4 kB / 29.41 MB, free: 0.6211 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.262/1.262, allocations: 222.9 MB / 254.8 MB, free: 4.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01217/0.01217, allocations: 3.125 MB / 309.9 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 95.83 kB / 374.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1863, allocations: 51.97 MB / 426.2 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003588/0.1899, allocations: 3.287 MB / 429.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1923, allocations: 2.145 MB / 431.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.1925, allocations: 15.94 kB / 431.6 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1928, allocations: 99.16 kB / 431.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1931, allocations: 154.8 kB / 431.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.1938, allocations: 420.8 kB / 432.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1942, allocations: 0.6504 MB / 433 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1944, allocations: 180.4 kB / 433.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.1946, allocations: 279.1 kB / 433.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1949, allocations: 262.9 kB / 433.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.195, allocations: 52 kB / 433.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1952, allocations: 159.9 kB / 433.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.1953, allocations: 135.6 kB / 434 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1954, allocations: 258.7 kB / 434.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.1959, allocations: 0.6776 MB / 434.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1959, allocations: 0 / 434.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1959, allocations: 4 kB / 434.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1959, allocations: 0 / 434.9 MB, free: 12.69 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.00113/0.197, allocations: 0.8311 MB / 435.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1971, allocations: 8.031 kB / 435.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1972, allocations: 52.38 kB / 435.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1976, allocations: 396 kB / 436.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.1977, allocations: 55.27 kB / 436.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.1977, allocations: 39.94 kB / 436.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.1984, allocations: 0.4936 MB / 436.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1985, allocations: 3.906 kB / 436.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1985, allocations: 16 kB / 436.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1985, allocations: 12 kB / 436.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.1992, allocations: 351.8 kB / 437.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.2009, allocations: 1.425 MB / 438.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.2017, allocations: 408.1 kB / 439 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.202, allocations: 157.3 kB / 439.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.2021, allocations: 4.281 kB / 439.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.2025, allocations: 250.1 kB / 439.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.2026, allocations: 4 kB / 439.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003472/0.206, allocations: 1.794 MB / 441.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2061, allocations: 162.2 kB / 441.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.2063, allocations: 332.5 kB / 441.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2064, allocations: 37.7 kB / 441.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.2065, allocations: 228.7 kB / 441.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.2065, allocations: 138.1 kB / 442.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2067, allocations: 90.14 kB / 442.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2067, allocations: 346.8 kB / 442.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.2071, allocations: 171 kB / 442.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.2074, allocations: 279.7 kB / 442.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.208, allocations: 367.6 kB / 443.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.208, allocations: 0 / 443.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001103/0.2091, allocations: 0.5869 MB / 443.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2092, allocations: 7.938 kB / 443.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2092, allocations: 4 kB / 443.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.2096, allocations: 172.9 kB / 444.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.2099, allocations: 79.88 kB / 444.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005002/0.2104, allocations: 0.7047 MB / 444.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.2107, allocations: 67.91 kB / 444.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.2108, allocations: 16 kB / 444.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003118/0.2111, allocations: 253.2 kB / 445.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002617/0.2114, allocations: 232.7 kB / 445.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003893/0.2118, allocations: 303.6 kB / 445.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.2118, allocations: 3.984 kB / 445.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008856/0.2127, allocations: 0.5089 MB / 446.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.2127, allocations: 11.94 kB / 446.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/0.2127, allocations: 0 / 446.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.213, allocations: 168.8 kB / 446.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.2133, allocations: 67.91 kB / 446.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.2138, allocations: 0.7007 MB / 447.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2141, allocations: 51.97 kB / 447.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2141, allocations: 16 kB / 447.2 MB, free: 15.78 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.0001894/0.2143, allocations: 228.5 kB / 447.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.2144, allocations: 43.53 kB / 447.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.2145, allocations: 48.41 kB / 447.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2145, allocations: 0 / 447.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2146, allocations: 0 / 447.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.2147, allocations: 156.6 kB / 447.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.2148, allocations: 15.94 kB / 447.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.2151, allocations: 55.94 kB / 447.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2153, allocations: 51.91 kB / 447.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001492/0.2168, allocations: 0.5938 MB / 448.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001352/0.2181, allocations: 0.7731 MB / 449.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003599/0.2185, allocations: 171.9 kB / 449.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.2188, allocations: 235 kB / 449.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of Backend: time 3.81e-07/0.2188, allocations: 0 / 449.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002634/0.2214, allocations: 1.022 MB / 450.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of SimCode: time 0.001724/0.2231, allocations: 1.411 MB / 452 MB, free: 11.1 MB / 318.1 MB Notification: Performance of Templates: time 0.01495/0.2381, allocations: 9.923 MB / 461.9 MB, free: 1.219 MB / 318.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)