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.08647/0.08647, allocations: 8.025 MB / 24.17 MB, free: 0.6562 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.001595/0.001595, allocations: 109.5 kB / 26.75 MB, free: 3.371 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.002401/0.002401, allocations: 199.3 kB / 29.44 MB, free: 0.6914 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.819/1.819, allocations: 222.9 MB / 254.9 MB, free: 4.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01209/0.01209, allocations: 3.112 MB / 309.9 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 99.84 kB / 374.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2137, allocations: 51.97 MB / 426.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.00393/0.2177, allocations: 3.293 MB / 429.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.2204, allocations: 2.138 MB / 431.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.2206, allocations: 11.94 kB / 431.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.221, allocations: 107.1 kB / 431.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.2215, allocations: 154.8 kB / 431.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.2222, allocations: 431.5 kB / 432.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.2226, allocations: 0.6465 MB / 433 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.2229, allocations: 184.4 kB / 433.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2231, allocations: 279.1 kB / 433.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.2234, allocations: 266.9 kB / 433.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.2235, allocations: 52 kB / 433.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.2237, allocations: 159.9 kB / 433.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.2238, allocations: 127.6 kB / 434 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.224, allocations: 258.7 kB / 434.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.2245, allocations: 0.6815 MB / 435 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2245, allocations: 0 / 435 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2245, allocations: 0 / 435 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2245, allocations: 0 / 435 MB, free: 12.7 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.001194/0.2257, allocations: 0.8389 MB / 435.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2258, allocations: 8.031 kB / 435.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2259, allocations: 56.38 kB / 435.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.2263, allocations: 380.1 kB / 436.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.2264, allocations: 59.25 kB / 436.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.2265, allocations: 47.94 kB / 436.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.2272, allocations: 493.5 kB / 436.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2272, allocations: 7.844 kB / 436.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.2272, allocations: 16 kB / 436.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2273, allocations: 12 kB / 436.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.2279, allocations: 347.8 kB / 437.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.2297, allocations: 1.429 MB / 438.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.2306, allocations: 408 kB / 439 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.2309, allocations: 161.3 kB / 439.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.2309, allocations: 4.281 kB / 439.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.2314, allocations: 242.5 kB / 439.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.2314, allocations: 0 / 439.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003608/0.235, allocations: 1.814 MB / 441.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.2351, allocations: 166.2 kB / 441.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.2354, allocations: 324.5 kB / 441.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.2354, allocations: 41.7 kB / 441.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2355, allocations: 216.4 kB / 442 MB, free: 5.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.2356, allocations: 138.1 kB / 442.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2357, allocations: 94.14 kB / 442.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.2358, allocations: 346.8 kB / 442.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2361, allocations: 171 kB / 442.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.2365, allocations: 276.5 kB / 443 MB, free: 4.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.2371, allocations: 371.6 kB / 443.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2371, allocations: 0 / 443.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001092/0.2382, allocations: 0.5909 MB / 443.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2382, allocations: 9.031 kB / 444 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2382, allocations: 4 kB / 444 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/0.2386, allocations: 160.9 kB / 444.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.2389, allocations: 83.89 kB / 444.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005072/0.2394, allocations: 0.7046 MB / 444.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.2398, allocations: 55.84 kB / 445 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.2398, allocations: 23.98 kB / 445 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003171/0.2402, allocations: 249.2 kB / 445.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002591/0.2404, allocations: 243.8 kB / 445.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003777/0.2408, allocations: 299.7 kB / 445.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.2408, allocations: 0 / 445.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008859/0.2417, allocations: 0.5088 MB / 446.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.2417, allocations: 7.938 kB / 446.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.2417, allocations: 4 kB / 446.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.242, allocations: 172.9 kB / 446.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2423, allocations: 63.91 kB / 446.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005098/0.2428, allocations: 0.7046 MB / 447.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.2431, allocations: 48.02 kB / 447.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2432, allocations: 19.98 kB / 447.3 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.2434, allocations: 224.6 kB / 447.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.2434, allocations: 39.53 kB / 447.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2436, allocations: 52.41 kB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2436, allocations: 4 kB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2436, allocations: 0 / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2436, allocations: 3.984 kB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.2456, allocations: 1.195 MB / 448.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2457, allocations: 0 / 448.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.246, allocations: 76.02 kB / 448.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.2463, allocations: 152.8 kB / 449 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.2464, allocations: 11.98 kB / 449 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005752/0.2469, allocations: 0.6772 MB / 449.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.247, allocations: 4.031 kB / 449.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.2485, allocations: 0.8143 MB / 450.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2487, allocations: 152.5 kB / 450.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.2488, allocations: 16 kB / 450.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2492, allocations: 59.98 kB / 450.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.2493, allocations: 55.8 kB / 450.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.2494, allocations: 19.98 kB / 450.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.2496, allocations: 235 kB / 451 MB, free: 11.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2496, allocations: 0 / 451 MB, free: 11.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006609/0.2503, allocations: 180 kB / 451.2 MB, free: 11.68 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.001106/0.2514, allocations: 497.4 kB / 451.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.2529, allocations: 0.6565 MB / 452.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2529, allocations: 3.938 kB / 452.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.2535, allocations: 244.7 kB / 452.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.2541, allocations: 88.92 kB / 452.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2561, allocations: 1.041 MB / 453.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.2564, allocations: 0.8162 MB / 454.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2566, allocations: 43.42 kB / 454.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2566, allocations: 0 / 454.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of Templates: time 0.01001/0.2666, allocations: 7.93 MB / 462.5 MB, free: 0.5039 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)