Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.PSD.PSecu1.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.PSD.PSecu1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.PSD.PSecu1") translateModel(EHPTexamples.PSD.PSecu1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.PSD.PSecu1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04395/0.04395, allocations: 8.356 MB / 24.66 MB, free: 160 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.001011/0.001011, allocations: 101.9 kB / 27.32 MB, free: 2.777 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.001082/0.001082, allocations: 191 kB / 30.09 MB, free: 16 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.309/1.309, allocations: 222.9 MB / 255.6 MB, free: 4.301 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01745/0.01745, allocations: 3.129 MB / 310.7 MB, free: 1.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 99.84 kB / 429.4 MB, free: 16.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.08093, allocations: 52.03 MB / 481.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu1): time 0.01024/0.09119, allocations: 9.48 MB / 490.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.09803, allocations: 4.04 MB / 495 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.09936, allocations: 39.88 kB / 495 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1009, allocations: 0.7186 MB / 495.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1027, allocations: 0.7881 MB / 496.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.1057, allocations: 1.61 MB / 498.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.1085, allocations: 2.925 MB / 0.4893 GB, free: 8.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.11, allocations: 1.36 MB / 0.4906 GB, free: 6.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1113, allocations: 1.199 MB / 0.4918 GB, free: 5.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1126, allocations: 1.358 MB / 0.4931 GB, free: 4.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.1129, allocations: 316 kB / 0.4934 GB, free: 4.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.1137, allocations: 483.8 kB / 0.4939 GB, free: 3.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.1142, allocations: 0.7984 MB / 0.4947 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.1154, allocations: 1.418 MB / 0.4961 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.1189, allocations: 3.705 MB / 0.4997 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1189, allocations: 0 / 0.4997 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1189, allocations: 0 / 0.4997 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.871e-05/0.119, allocations: 0 / 0.4997 GB, free: 13.59 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.005024/0.124, allocations: 3.341 MB / 0.5029 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1241, allocations: 8.031 kB / 0.5029 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.1246, allocations: 337.9 kB / 0.5033 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.1268, allocations: 1.617 MB / 0.5048 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.1269, allocations: 185.7 kB / 0.505 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.1272, allocations: 219.8 kB / 0.5052 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.1307, allocations: 2.124 MB / 0.5073 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.1307, allocations: 12 kB / 0.5073 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.1309, allocations: 84 kB / 0.5074 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.1309, allocations: 48 kB / 0.5074 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.1339, allocations: 1.475 MB / 0.5089 GB, free: 3.934 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1984/0.3323, allocations: 7.337 MB / 0.516 GB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.3349, allocations: 1.252 MB / 0.5173 GB, free: 35.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3362, allocations: 0.676 MB / 0.5179 GB, free: 35.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.3363, allocations: 29.38 kB / 0.518 GB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.3377, allocations: 0.7795 MB / 0.5187 GB, free: 35.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.436e-06/0.3377, allocations: 0 / 0.5187 GB, free: 35.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01089/0.3486, allocations: 5.601 MB / 0.5242 GB, free: 32.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.3488, allocations: 0.6089 MB / 0.5248 GB, free: 31.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.3519, allocations: 2.331 MB / 0.5271 GB, free: 30.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.3521, allocations: 63.69 kB / 0.5271 GB, free: 30.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.353, allocations: 1.13 MB / 0.5282 GB, free: 29.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.3535, allocations: 0.4997 MB / 0.5287 GB, free: 29.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/0.3541, allocations: 266.8 kB / 0.529 GB, free: 29.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.3541, allocations: 301.9 kB / 0.5293 GB, free: 28.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.3554, allocations: 0.5454 MB / 0.5298 GB, free: 28.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.3568, allocations: 0.9226 MB / 0.5307 GB, free: 28.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/0.363, allocations: 2.875 MB / 0.5335 GB, free: 26.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.363, allocations: 5.375 kB / 0.5335 GB, free: 26.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004144/0.3672, allocations: 2.062 MB / 0.5355 GB, free: 25.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.3672, allocations: 122.4 kB / 0.5356 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3673, allocations: 8.062 kB / 0.5356 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008118/0.3681, allocations: 280 kB / 0.5359 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3691, allocations: 288.8 kB / 0.5362 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.3708, allocations: 2.493 MB / 0.5386 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.3723, allocations: 146.5 kB / 0.5388 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3724, allocations: 58.83 kB / 0.5388 GB, free: 22.91 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real bat.cDummy.v:VARIABLE(start = bat.EBatteryMin + bat.SOCInit * (bat.EBatteryMax - bat.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001586/0.374, allocations: 0.9464 MB / 0.5397 GB, free: 22.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000913/0.3749, allocations: 0.8288 MB / 0.5405 GB, free: 21.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004779/0.3797, allocations: 2.644 MB / 0.5431 GB, free: 20.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/0.3798, allocations: 7.094 kB / 0.5431 GB, free: 20.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.003185/0.3829, allocations: 1.888 MB / 0.545 GB, free: 19.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.383, allocations: 128.7 kB / 0.5451 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.383, allocations: 7.062 kB / 0.5451 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/0.3837, allocations: 275.6 kB / 0.5454 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.3846, allocations: 265.2 kB / 0.5456 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3862, allocations: 2.493 MB / 0.5481 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3877, allocations: 142.1 kB / 0.5482 GB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3878, allocations: 59.98 kB / 0.5482 GB, free: 16.55 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real bat.cDummy.v:VARIABLE(start = bat.EBatteryMin + bat.SOCInit * (bat.EBatteryMax - bat.EBatteryMin) 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: 19 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,gen.limTau.state,mot.limTau.state,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 (157): * Single equations (assignments): 151 * 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.0004836/0.3883, allocations: 421.1 kB / 0.5487 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.3887, allocations: 222.6 kB / 0.5489 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.3919, allocations: 1.833 MB / 0.5507 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3919, allocations: 3.984 kB / 0.5507 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3919, allocations: 3.938 kB / 0.5507 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/0.3925, allocations: 443.6 kB / 0.5511 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.3928, allocations: 40 kB / 0.5511 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.394, allocations: 143.8 kB / 0.5513 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.3942, allocations: 113.1 kB / 0.5514 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003957/0.3982, allocations: 2.051 MB / 0.5534 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003691/0.4019, allocations: 2.493 MB / 0.5558 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001038/0.4029, allocations: 0.6466 MB / 0.5564 GB, free: 7.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.4048, allocations: 1.649 MB / 0.558 GB, free: 6.293 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.4048, allocations: 2.844 kB / 0.558 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006629/0.4114, allocations: 3.659 MB / 0.5616 GB, free: 3.062 MB / 382.1 MB Notification: Performance of SimCode: time 0.007121/0.4186, allocations: 5.695 MB / 0.5672 GB, free: 13.29 MB / 398.1 MB Notification: Performance of Templates: time 0.05748/0.4761, allocations: 35.14 MB / 0.6015 GB, free: 10.28 MB / 430.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.PSD.PSecu1.makefile (rm -f EHPTexamples_latest_EHPTexamples.PSD.PSecu1.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.PSD.PSecu1.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.PSD.PSecu1.pipe >> ../files/EHPTexamples_latest_EHPTexamples.PSD.PSecu1.sim & ./EHPTexamples_latest_EHPTexamples.PSD.PSecu1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.PSD.PSecu1.pipe 2>&1)