Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.PSD.PSecu3.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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.PSD.PSecu3") translateModel(EHPTexamples.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.PSD.PSecu3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.06693/0.06693, allocations: 8.035 MB / 24.34 MB, free: 380 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.001046/0.001046, allocations: 107 kB / 26.93 MB, free: 3.094 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.001236/0.001236, allocations: 193.9 kB / 29.63 MB, free: 420 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.363/1.363, allocations: 222.9 MB / 255.1 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01337/0.01337, allocations: 3.124 MB / 310.1 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 91.84 kB / 428.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08632, allocations: 51.97 MB / 480.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu3): time 0.01075/0.0971, allocations: 9.433 MB / 490 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.104, allocations: 3.981 MB / 494 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.105, allocations: 39.88 kB / 494.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1062, allocations: 0.6796 MB / 494.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.1076, allocations: 0.7569 MB / 495.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.1104, allocations: 1.553 MB / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.1132, allocations: 2.926 MB / 500 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.1149, allocations: 1.412 MB / 0.4896 GB, free: 7.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.1162, allocations: 1.187 MB / 0.4908 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.1175, allocations: 1.342 MB / 0.4921 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.1179, allocations: 316 kB / 0.4924 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.1187, allocations: 499.8 kB / 0.4929 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.1193, allocations: 0.7789 MB / 0.4936 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1203, allocations: 1.422 MB / 0.495 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.1237, allocations: 3.704 MB / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1237, allocations: 0 / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1237, allocations: 0 / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.188e-05/0.1237, allocations: 0 / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.004742/0.1285, allocations: 3.291 MB / 0.5019 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1285, allocations: 12.03 kB / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.129, allocations: 333.9 kB / 0.5022 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.1311, allocations: 1.573 MB / 0.5037 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.1312, allocations: 185.8 kB / 0.5039 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.1315, allocations: 227.9 kB / 0.5041 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.135, allocations: 2.181 MB / 0.5063 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.1351, allocations: 8 kB / 0.5063 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.1353, allocations: 92 kB / 0.5064 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.1353, allocations: 48 kB / 0.5064 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.1383, allocations: 1.507 MB / 0.5079 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1908/0.3291, allocations: 7.343 MB / 0.515 GB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.3318, allocations: 1.318 MB / 0.5163 GB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3331, allocations: 0.6965 MB / 0.517 GB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.842e-05/0.3332, allocations: 21.14 kB / 0.517 GB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.3346, allocations: 0.794 MB / 0.5178 GB, free: 35.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/0.3346, allocations: 0 / 0.5178 GB, free: 35.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=143): time 0.01012/0.3447, allocations: 5.648 MB / 0.5233 GB, free: 32.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3448, allocations: 0.6095 MB / 0.5239 GB, free: 32.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.3474, allocations: 2.159 MB / 0.526 GB, free: 31.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.3476, allocations: 62.86 kB / 0.5261 GB, free: 31.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.3483, allocations: 1.113 MB / 0.5272 GB, free: 30.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.3486, allocations: 0.507 MB / 0.5277 GB, free: 30.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/0.349, allocations: 279.3 kB / 0.5279 GB, free: 30 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.5e-05/0.3491, allocations: 303.2 kB / 0.5282 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3502, allocations: 0.5564 MB / 0.5288 GB, free: 29.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3515, allocations: 0.9301 MB / 0.5297 GB, free: 28.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005634/0.3571, allocations: 2.887 MB / 0.5325 GB, free: 27.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3571, allocations: 5.594 kB / 0.5325 GB, free: 27.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003798/0.3609, allocations: 2.125 MB / 0.5346 GB, free: 26.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.361, allocations: 122.5 kB / 0.5347 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.361, allocations: 15.62 kB / 0.5347 GB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/0.3617, allocations: 282.5 kB / 0.535 GB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3627, allocations: 289.6 kB / 0.5353 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.3644, allocations: 2.521 MB / 0.5377 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3657, allocations: 158.9 kB / 0.5379 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3658, allocations: 59.06 kB / 0.5379 GB, free: 23.66 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001379/0.3672, allocations: 0.9309 MB / 0.5388 GB, free: 23.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008843/0.3681, allocations: 0.8365 MB / 0.5396 GB, free: 22.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004425/0.3725, allocations: 2.656 MB / 0.5422 GB, free: 20.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.3726, allocations: 0 / 0.5422 GB, free: 20.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.002677/0.3752, allocations: 1.896 MB / 0.5441 GB, free: 20 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.3753, allocations: 122.3 kB / 0.5442 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3753, allocations: 6.844 kB / 0.5442 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.3759, allocations: 270.7 kB / 0.5445 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.3768, allocations: 264.8 kB / 0.5447 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.3781, allocations: 2.442 MB / 0.5471 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3793, allocations: 153.8 kB / 0.5473 GB, free: 17.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.3795, allocations: 62.89 kB / 0.5473 GB, free: 17.45 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 21 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,$PRE.ECU.hysteresis.y,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,gen.limTau.state,mot.limTau.state,ECU.hysteresis.y,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,gen.constPDC.integrator1.local_reset,mot.constPDC.integrator1.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.3798, allocations: 423.9 kB / 0.5477 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3801, allocations: 218.6 kB / 0.5479 GB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.3829, allocations: 1.848 MB / 0.5497 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3829, allocations: 7.969 kB / 0.5497 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.383, allocations: 0 / 0.5497 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.3835, allocations: 435.6 kB / 0.5502 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.3837, allocations: 40 kB / 0.5502 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.3848, allocations: 151.8 kB / 0.5503 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.385, allocations: 121.1 kB / 0.5505 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003855/0.3889, allocations: 2.127 MB / 0.5525 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003415/0.3923, allocations: 2.504 MB / 0.555 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000972/0.3933, allocations: 0.6583 MB / 0.5556 GB, free: 8.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.3947, allocations: 1.521 MB / 0.5571 GB, free: 7.238 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.3948, allocations: 0 / 0.5571 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006294/0.4011, allocations: 3.714 MB / 0.5607 GB, free: 3.957 MB / 382.1 MB Notification: Performance of SimCode: time 0.005893/0.407, allocations: 5.566 MB / 0.5662 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Templates: time 0.05363/0.4606, allocations: 35.06 MB / 0.6004 GB, free: 11.37 MB / 430.1 MB make -j1 -f EHPTexamples_EHPTexamples.PSD.PSecu3.makefile (rm -f EHPTexamples_EHPTexamples.PSD.PSecu3.pipe ; mkfifo EHPTexamples_EHPTexamples.PSD.PSecu3.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.PSD.PSecu3.pipe >> ../files/EHPTexamples_EHPTexamples.PSD.PSecu3.sim & ./EHPTexamples_EHPTexamples.PSD.PSecu3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.PSD.PSecu3.pipe 2>&1)