Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.PSD.PSecu2.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.PSecu2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.PSD.PSecu2") translateModel(EHPTexamples.PSD.PSecu2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.PSD.PSecu2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04248/0.04248, allocations: 8.358 MB / 24.66 MB, free: 284 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.0009594/0.0009595, allocations: 113.9 kB / 27.32 MB, free: 2.898 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.001062/0.001062, allocations: 199.3 kB / 30.08 MB, free: 148 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.32/1.32, allocations: 222.9 MB / 255.6 MB, free: 4.312 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01282/0.01282, allocations: 3.121 MB / 310.7 MB, free: 276 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 92.23 kB / 429.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08272/0.08443, allocations: 52.05 MB / 481.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu2): time 0.0106/0.09508, allocations: 9.57 MB / 491 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.1021, allocations: 4.032 MB / 495 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.1037, allocations: 43.88 kB / 495.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1052, allocations: 0.7108 MB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1073, allocations: 0.7881 MB / 496.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.1106, allocations: 1.584 MB / 498.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.1141, allocations: 2.93 MB / 0.4893 GB, free: 8.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.1159, allocations: 1.388 MB / 0.4907 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.1174, allocations: 1.18 MB / 0.4919 GB, free: 5.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.1189, allocations: 1.377 MB / 0.4932 GB, free: 4.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.1193, allocations: 312 kB / 0.4935 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.1201, allocations: 495.8 kB / 0.494 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006284/0.1207, allocations: 0.7906 MB / 0.4947 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.122, allocations: 1.434 MB / 0.4961 GB, free: 1.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.1259, allocations: 3.72 MB / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.126, allocations: 0 / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.126, allocations: 0 / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.997e-05/0.126, allocations: 0 / 0.4998 GB, free: 13.35 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: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.005386/0.1314, allocations: 3.345 MB / 0.503 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1315, allocations: 12.03 kB / 0.5031 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.132, allocations: 333.9 kB / 0.5034 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.1344, allocations: 1.617 MB / 0.5049 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.1345, allocations: 181.7 kB / 0.5051 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/0.1348, allocations: 227.8 kB / 0.5053 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.1384, allocations: 2.124 MB / 0.5074 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/0.1384, allocations: 11.95 kB / 0.5074 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.1386, allocations: 88 kB / 0.5075 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.1387, allocations: 48 kB / 0.5076 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.1416, allocations: 1.472 MB / 0.509 GB, free: 3.664 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.2018/0.3434, allocations: 7.374 MB / 0.5162 GB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.3461, allocations: 1.277 MB / 0.5174 GB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.3474, allocations: 0.6792 MB / 0.5181 GB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.3475, allocations: 23.62 kB / 0.5181 GB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/0.3489, allocations: 0.783 MB / 0.5189 GB, free: 34.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/0.3489, allocations: 0 / 0.5189 GB, free: 34.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01116/0.3601, allocations: 5.587 MB / 0.5243 GB, free: 31.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.3603, allocations: 0.5841 MB / 0.5249 GB, free: 31.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.3633, allocations: 2.35 MB / 0.5272 GB, free: 30.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.3635, allocations: 59.03 kB / 0.5273 GB, free: 30.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007525/0.3643, allocations: 1.137 MB / 0.5284 GB, free: 29.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.3646, allocations: 0.5061 MB / 0.5289 GB, free: 29.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.365, allocations: 269.5 kB / 0.5291 GB, free: 28.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.3651, allocations: 303.2 kB / 0.5294 GB, free: 28.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.3662, allocations: 0.538 MB / 0.5299 GB, free: 28.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3675, allocations: 0.9094 MB / 0.5308 GB, free: 27.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005905/0.3734, allocations: 2.868 MB / 0.5336 GB, free: 26.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3734, allocations: 4.547 kB / 0.5336 GB, free: 26.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004117/0.3775, allocations: 2.031 MB / 0.5356 GB, free: 25.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.3776, allocations: 126.2 kB / 0.5357 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.3776, allocations: 7.844 kB / 0.5357 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.3784, allocations: 284.5 kB / 0.536 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3794, allocations: 288.9 kB / 0.5363 GB, free: 24.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.381, allocations: 2.461 MB / 0.5387 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3825, allocations: 144.1 kB / 0.5388 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3826, allocations: 58.89 kB / 0.5389 GB, free: 22.61 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.001501/0.3841, allocations: 0.9599 MB / 0.5398 GB, free: 22.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008937/0.385, allocations: 0.8275 MB / 0.5406 GB, free: 21.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004764/0.3898, allocations: 2.664 MB / 0.5432 GB, free: 19.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.512e-06/0.3898, allocations: 0 / 0.5432 GB, free: 19.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.002997/0.3928, allocations: 1.887 MB / 0.5451 GB, free: 18.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.3929, allocations: 124.5 kB / 0.5452 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3929, allocations: 7.125 kB / 0.5452 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.3936, allocations: 280.1 kB / 0.5455 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.3944, allocations: 268.9 kB / 0.5457 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.396, allocations: 2.46 MB / 0.5481 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3975, allocations: 146.7 kB / 0.5483 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3976, allocations: 62.77 kB / 0.5483 GB, free: 16.34 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 (159): * Single equations (assignments): 153 * 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.0004468/0.398, allocations: 414.9 kB / 0.5487 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.3983, allocations: 222.6 kB / 0.5489 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.4013, allocations: 1.833 MB / 0.5507 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4013, allocations: 3.984 kB / 0.5507 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4013, allocations: 0 / 0.5507 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.4019, allocations: 454.4 kB / 0.5512 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.4022, allocations: 32 kB / 0.5512 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4033, allocations: 139.9 kB / 0.5513 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4035, allocations: 124.8 kB / 0.5515 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003827/0.4073, allocations: 2.047 MB / 0.5535 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003609/0.411, allocations: 2.477 MB / 0.5559 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001045/0.412, allocations: 0.6466 MB / 0.5565 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002166/0.4142, allocations: 1.657 MB / 0.5581 GB, free: 6.098 MB / 382.1 MB Notification: Performance of Backend: time 8.01e-07/0.4142, allocations: 0 / 0.5581 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007342/0.4216, allocations: 3.654 MB / 0.5617 GB, free: 2.875 MB / 382.1 MB Notification: Performance of SimCode: time 0.008199/0.4298, allocations: 5.713 MB / 0.5673 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Templates: time 0.05791/0.4877, allocations: 35.04 MB / 0.6015 GB, free: 10.17 MB / 430.1 MB make -j1 -f EHPTexamples_EHPTexamples.PSD.PSecu2.makefile (rm -f EHPTexamples_EHPTexamples.PSD.PSecu2.pipe ; mkfifo EHPTexamples_EHPTexamples.PSD.PSecu2.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.PSD.PSecu2.pipe >> ../files/EHPTexamples_EHPTexamples.PSD.PSecu2.sim & ./EHPTexamples_EHPTexamples.PSD.PSecu2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.PSD.PSecu2.pipe 2>&1)