Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.PSD.PSecu3.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.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.PSD.PSecu3") translateModel(EHPTexamples.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.PSD.PSecu3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04307/0.04307, allocations: 8.038 MB / 24.35 MB, free: 4 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.0009992/0.0009992, allocations: 109.4 kB / 26.93 MB, free: 2.984 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.001132/0.001132, allocations: 191.3 kB / 29.62 MB, free: 312 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.294/1.294, allocations: 222.9 MB / 255.1 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01276/0.01276, allocations: 3.127 MB / 310.1 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 107.8 kB / 428.7 MB, free: 16.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08719, allocations: 51.96 MB / 480.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu3): time 0.01102/0.09824, allocations: 9.422 MB / 490 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.1055, allocations: 3.997 MB / 494 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.1071, allocations: 39.88 kB / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.1087, allocations: 0.6796 MB / 494.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.111, allocations: 0.7491 MB / 495.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.1144, allocations: 1.557 MB / 497.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.1179, allocations: 2.926 MB / 500 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.12, allocations: 1.4 MB / 0.4896 GB, free: 7.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.1216, allocations: 1.191 MB / 0.4908 GB, free: 6.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.1234, allocations: 1.342 MB / 0.4921 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.124, allocations: 316 kB / 0.4924 GB, free: 4.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1251, allocations: 499.8 kB / 0.4929 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008007/0.1259, allocations: 0.775 MB / 0.4936 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.1275, allocations: 1.422 MB / 0.495 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.1309, allocations: 3.68 MB / 0.4986 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1309, allocations: 4 kB / 0.4986 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1309, allocations: 0 / 0.4986 GB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.404e-05/0.1309, allocations: 0 / 0.4986 GB, free: 14.33 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.005086/0.136, allocations: 3.212 MB / 0.5018 GB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1361, allocations: 15.97 kB / 0.5018 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.1366, allocations: 312.2 kB / 0.5021 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.1388, allocations: 1.556 MB / 0.5036 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.139, allocations: 189.8 kB / 0.5038 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.1393, allocations: 223.8 kB / 0.504 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/0.143, allocations: 2.177 MB / 0.5061 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.1431, allocations: 7.922 kB / 0.5061 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.1433, allocations: 92 kB / 0.5062 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.1433, allocations: 52 kB / 0.5063 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/0.1464, allocations: 1.507 MB / 0.5077 GB, free: 4.695 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.1995/0.3459, allocations: 7.373 MB / 0.5149 GB, free: 36.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.3487, allocations: 1.318 MB / 0.5162 GB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.35, allocations: 0.6956 MB / 0.5169 GB, free: 36.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.3501, allocations: 20.05 kB / 0.5169 GB, free: 36.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.3516, allocations: 0.799 MB / 0.5177 GB, free: 35.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=133): time 3.526e-06/0.3516, allocations: 3.969 kB / 0.5177 GB, free: 35.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=143): time 0.01053/0.3622, allocations: 5.607 MB / 0.5232 GB, free: 32.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.3623, allocations: 0.6062 MB / 0.5238 GB, free: 32.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.3649, allocations: 2.157 MB / 0.5259 GB, free: 31.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.365, allocations: 64.53 kB / 0.5259 GB, free: 31.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/0.3657, allocations: 1.087 MB / 0.527 GB, free: 30.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.366, allocations: 0.4913 MB / 0.5275 GB, free: 30.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.3664, allocations: 279.3 kB / 0.5277 GB, free: 30.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.3665, allocations: 303.4 kB / 0.528 GB, free: 29.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3676, allocations: 0.5473 MB / 0.5286 GB, free: 29.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3689, allocations: 0.9341 MB / 0.5295 GB, free: 29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/0.3747, allocations: 2.876 MB / 0.5323 GB, free: 27.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3747, allocations: 6.281 kB / 0.5323 GB, free: 27.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00391/0.3786, allocations: 2.112 MB / 0.5344 GB, free: 26.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.3787, allocations: 126.9 kB / 0.5345 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3787, allocations: 6.469 kB / 0.5345 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/0.3794, allocations: 281.8 kB / 0.5348 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/0.3804, allocations: 288.5 kB / 0.535 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.3822, allocations: 2.538 MB / 0.5375 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.3836, allocations: 153.5 kB / 0.5377 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3837, allocations: 62.08 kB / 0.5377 GB, free: 23.82 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.001479/0.3852, allocations: 0.9404 MB / 0.5386 GB, free: 23.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000919/0.3861, allocations: 0.8393 MB / 0.5395 GB, free: 22.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004483/0.3906, allocations: 2.645 MB / 0.542 GB, free: 21.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.3906, allocations: 0 / 0.542 GB, free: 21.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.00283/0.3935, allocations: 1.891 MB / 0.5439 GB, free: 20.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.3935, allocations: 127.7 kB / 0.544 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3935, allocations: 6.938 kB / 0.544 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.3941, allocations: 258.4 kB / 0.5443 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.395, allocations: 265.5 kB / 0.5445 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.3964, allocations: 2.445 MB / 0.5469 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.3978, allocations: 156.1 kB / 0.5471 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3979, allocations: 62.11 kB / 0.5471 GB, free: 17.59 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: 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.0005114/0.3984, allocations: 421.2 kB / 0.5475 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.3988, allocations: 201.6 kB / 0.5477 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.4019, allocations: 1.851 MB / 0.5495 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4019, allocations: 3.984 kB / 0.5495 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4019, allocations: 3.938 kB / 0.5495 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/0.4026, allocations: 426.5 kB / 0.5499 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.4029, allocations: 43.98 kB / 0.55 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.4041, allocations: 147.8 kB / 0.5501 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4043, allocations: 124.9 kB / 0.5502 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004126/0.4084, allocations: 2.122 MB / 0.5523 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003627/0.4121, allocations: 2.495 MB / 0.5547 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001007/0.4131, allocations: 0.6622 MB / 0.5554 GB, free: 8.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001769/0.4149, allocations: 1.518 MB / 0.5569 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Backend: time 3.01e-07/0.4149, allocations: 0 / 0.5569 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006685/0.4216, allocations: 3.707 MB / 0.5605 GB, free: 4.191 MB / 382.1 MB Notification: Performance of SimCode: time 0.0067/0.4283, allocations: 5.495 MB / 0.5659 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Templates: time 0.05563/0.4839, allocations: 35.03 MB / 0.6001 GB, free: 11.73 MB / 430.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.PSD.PSecu3.makefile (rm -f EHPTexamples_latest_EHPTexamples.PSD.PSecu3.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.PSD.PSecu3.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.PSD.PSecu3.pipe >> ../files/EHPTexamples_latest_EHPTexamples.PSD.PSecu3.sim & ./EHPTexamples_latest_EHPTexamples.PSD.PSecu3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.PSD.PSecu3.pipe 2>&1)