Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.MBEVdata.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.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04423/0.04423, allocations: 8.357 MB / 24.66 MB, free: 112 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.0009825/0.0009826, allocations: 110 kB / 27.32 MB, free: 2.719 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.001152/0.001152, allocations: 194.9 kB / 30.1 MB, free: 6.508 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, 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.01349/0.01349, allocations: 3.128 MB / 310.7 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 91.86 kB / 428.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08423, allocations: 52.04 MB / 480.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.008317/0.09258, allocations: 6.672 MB / 487.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.09913, allocations: 3.342 MB / 490.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1005, allocations: 27.88 kB / 490.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1016, allocations: 305.5 kB / 490.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.1033, allocations: 436.8 kB / 491.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.1057, allocations: 0.9444 MB / 492.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.1079, allocations: 1.786 MB / 493.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.109, allocations: 0.6482 MB / 494.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.1099, allocations: 0.693 MB / 495.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.111, allocations: 0.7235 MB / 496 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.1114, allocations: 176 kB / 496.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.1121, allocations: 331.8 kB / 496.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.1126, allocations: 394.7 kB / 496.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009386/0.1135, allocations: 0.762 MB / 497.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.1158, allocations: 1.997 MB / 499.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1158, allocations: 0 / 499.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1158, allocations: 4 kB / 499.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.157e-05/0.1159, allocations: 0 / 499.6 MB, free: 9.691 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003694/0.1196, allocations: 1.863 MB / 0.4897 GB, free: 7.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1197, allocations: 8.031 kB / 0.4897 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.12, allocations: 164 kB / 0.4899 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1213, allocations: 0.8758 MB / 0.4907 GB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1214, allocations: 111.9 kB / 0.4908 GB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.1216, allocations: 116 kB / 0.4909 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.1237, allocations: 1.238 MB / 0.4922 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.1237, allocations: 7.938 kB / 0.4922 GB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1238, allocations: 48 kB / 0.4922 GB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1239, allocations: 28 kB / 0.4922 GB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.1257, allocations: 0.8672 MB / 0.4931 GB, free: 4.164 MB / 366.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.006226/0.1319, allocations: 4.029 MB / 0.497 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.1341, allocations: 1.06 MB / 0.4981 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.1351, allocations: 495.2 kB / 0.4985 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.691e-05/0.1352, allocations: 12.56 kB / 0.4985 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.1362, allocations: 0.5267 MB / 0.4991 GB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.1362, allocations: 0 / 0.4991 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.00774/0.144, allocations: 3.659 MB / 0.5026 GB, free: 9.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.1442, allocations: 0.5013 MB / 0.5031 GB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1454, allocations: 0.8722 MB / 0.504 GB, free: 8.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.1455, allocations: 49.7 kB / 0.504 GB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.1459, allocations: 0.5397 MB / 0.5045 GB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.1462, allocations: 337.2 kB / 0.5049 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.1465, allocations: 186.6 kB / 0.505 GB, free: 7.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1466, allocations: 345.9 kB / 0.5054 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.1474, allocations: 356.6 kB / 0.5057 GB, free: 6.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.1484, allocations: 0.6227 MB / 0.5063 GB, free: 5.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.1523, allocations: 1.778 MB / 0.5081 GB, free: 4.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1523, allocations: 4 kB / 0.5081 GB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002664/0.155, allocations: 1.247 MB / 0.5093 GB, free: 2.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.1551, allocations: 62.06 kB / 0.5093 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1551, allocations: 4 kB / 0.5093 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.1557, allocations: 204.7 kB / 0.5095 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.1565, allocations: 203.7 kB / 0.5097 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008879/0.1574, allocations: 0.7943 MB / 0.5105 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.1584, allocations: 123.8 kB / 0.5106 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.1585, allocations: 43.98 kB / 0.5107 GB, free: 1.32 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real batt1.cDummy.v:VARIABLE(start = batt1.EBatteryMin + batt1.SOCInit * (batt1.EBatteryMax - batt1.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.001074/0.1596, allocations: 0.5207 MB / 0.5112 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007319/0.1603, allocations: 0.5641 MB / 0.5117 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1925/0.3528, allocations: 1.605 MB / 0.5133 GB, free: 39.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.3528, allocations: 1.5 kB / 0.5133 GB, free: 39.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002264/0.3551, allocations: 1.118 MB / 0.5144 GB, free: 39.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.3552, allocations: 65.8 kB / 0.5144 GB, free: 39.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3552, allocations: 8.141 kB / 0.5145 GB, free: 39.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.3557, allocations: 193.7 kB / 0.5146 GB, free: 39.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.3564, allocations: 187.5 kB / 0.5148 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006149/0.357, allocations: 0.7582 MB / 0.5156 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.358, allocations: 117.3 kB / 0.5157 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.3581, allocations: 39.47 kB / 0.5157 GB, free: 38.96 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real batt1.cDummy.v:VARIABLE(start = batt1.EBatteryMin + batt1.SOCInit * (batt1.EBatteryMax - batt1.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: 21 * Number of states: 0 () * Number of discrete variables: 16 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragF.free,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,eleDrive.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,eleDrive.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 2 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.3585, allocations: 325.2 kB / 0.516 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3586, allocations: 114.4 kB / 0.5161 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.3611, allocations: 1.145 MB / 0.5172 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3611, allocations: 6.578 kB / 0.5173 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3612, allocations: 0 / 0.5173 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.3615, allocations: 275 kB / 0.5175 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3617, allocations: 27.08 kB / 0.5175 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.3625, allocations: 109 kB / 0.5176 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.3627, allocations: 89.03 kB / 0.5177 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002947/0.3656, allocations: 1.354 MB / 0.5191 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00263/0.3683, allocations: 1.616 MB / 0.5206 GB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007559/0.3691, allocations: 433.4 kB / 0.521 GB, free: 36.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007792/0.3698, allocations: 0.6136 MB / 0.5216 GB, free: 36.21 MB / 382.1 MB Notification: Performance of Backend: time 5.41e-07/0.3699, allocations: 0 / 0.5216 GB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004772/0.3746, allocations: 2.165 MB / 0.5238 GB, free: 35.36 MB / 382.1 MB Notification: Performance of SimCode: time 0.00369/0.3783, allocations: 3.198 MB / 0.5269 GB, free: 33.26 MB / 382.1 MB Notification: Performance of Templates: time 0.02843/0.4068, allocations: 22.71 MB / 0.5491 GB, free: 18.19 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe 2>&1)