Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04451/0.04452, allocations: 8.353 MB / 24.66 MB, free: 124 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.0009916/0.0009916, allocations: 102 kB / 27.32 MB, free: 2.734 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.001085/0.001085, allocations: 187.1 kB / 30.09 MB, free: 6.516 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.371/1.371, allocations: 222.9 MB / 255.6 MB, free: 4.305 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01311/0.01311, allocations: 3.128 MB / 310.7 MB, free: 1.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 91.84 kB / 428.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08237, allocations: 52.04 MB / 480.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.007731/0.09013, allocations: 6.679 MB / 487.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005398/0.09556, allocations: 3.345 MB / 490.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.09632, allocations: 27.88 kB / 490.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007827/0.09715, allocations: 301.5 kB / 490.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.09814, allocations: 436.8 kB / 491.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.09992, allocations: 0.9484 MB / 492.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.1015, allocations: 1.794 MB / 493.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.1023, allocations: 0.6249 MB / 494.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.1029, allocations: 0.693 MB / 495.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007946/0.1037, allocations: 0.7351 MB / 496 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.104, allocations: 176 kB / 496.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.1045, allocations: 319.9 kB / 496.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.1048, allocations: 402.7 kB / 496.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.1055, allocations: 0.7581 MB / 497.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1074, allocations: 2 MB / 499.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1074, allocations: 0 / 499.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1074, allocations: 0 / 499.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1074, allocations: 3.938 kB / 499.6 MB, free: 9.684 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.003114/0.1106, allocations: 1.867 MB / 0.4897 GB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1106, allocations: 8.031 kB / 0.4897 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.1109, allocations: 167.9 kB / 0.4899 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1122, allocations: 0.8758 MB / 0.4907 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1123, allocations: 111.8 kB / 0.4908 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1125, allocations: 116 kB / 0.491 GB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1145, allocations: 1.245 MB / 0.4922 GB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.1146, allocations: 7.938 kB / 0.4922 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1147, allocations: 48 kB / 0.4922 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.1147, allocations: 24 kB / 0.4922 GB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.1166, allocations: 0.875 MB / 0.4931 GB, free: 4.137 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.00596/0.1225, allocations: 4.014 MB / 0.497 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.1247, allocations: 1.064 MB / 0.4981 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.1258, allocations: 491.2 kB / 0.4985 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.1258, allocations: 12.56 kB / 0.4985 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.1268, allocations: 0.5267 MB / 0.4991 GB, free: 13.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.1269, allocations: 0 / 0.4991 GB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.007689/0.1346, allocations: 3.659 MB / 0.5026 GB, free: 9.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.1348, allocations: 0.4935 MB / 0.5031 GB, free: 9.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.1359, allocations: 0.8761 MB / 0.504 GB, free: 8.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.589e-05/0.136, allocations: 49.7 kB / 0.504 GB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.1364, allocations: 0.5436 MB / 0.5045 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.1366, allocations: 337.2 kB / 0.5049 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.1369, allocations: 182.6 kB / 0.505 GB, free: 7.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1371, allocations: 341.9 kB / 0.5054 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.1379, allocations: 364.6 kB / 0.5057 GB, free: 6.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009706/0.1388, allocations: 0.6266 MB / 0.5063 GB, free: 5.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.1428, allocations: 1.774 MB / 0.5081 GB, free: 4.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.1428, allocations: 4 kB / 0.5081 GB, free: 4.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002742/0.1455, allocations: 1.243 MB / 0.5093 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.1456, allocations: 67.39 kB / 0.5093 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1456, allocations: 4 kB / 0.5093 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.1462, allocations: 203.6 kB / 0.5095 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.147, allocations: 207.7 kB / 0.5097 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009038/0.1479, allocations: 0.7943 MB / 0.5105 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1489, allocations: 111.8 kB / 0.5106 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.149, allocations: 44 kB / 0.5107 GB, free: 1.316 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.001015/0.1501, allocations: 0.5219 MB / 0.5112 GB, free: 0.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007589/0.1508, allocations: 0.5681 MB / 0.5117 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1873/0.3382, allocations: 1.601 MB / 0.5133 GB, free: 39.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.704e-06/0.3382, allocations: 2.719 kB / 0.5133 GB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002286/0.3405, allocations: 1.12 MB / 0.5144 GB, free: 39.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.3406, allocations: 62.5 kB / 0.5144 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3406, allocations: 6.125 kB / 0.5144 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.3411, allocations: 198.7 kB / 0.5146 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.3418, allocations: 187.5 kB / 0.5148 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006328/0.3424, allocations: 0.7591 MB / 0.5156 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3435, allocations: 114.4 kB / 0.5157 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.3436, allocations: 40.44 kB / 0.5157 GB, free: 38.72 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.0003332/0.344, allocations: 334.6 kB / 0.516 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.3442, allocations: 110.2 kB / 0.5161 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.3467, allocations: 1.141 MB / 0.5172 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3468, allocations: 9.641 kB / 0.5173 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3468, allocations: 0 / 0.5173 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.3472, allocations: 275.6 kB / 0.5175 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3474, allocations: 28.16 kB / 0.5175 GB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/0.3483, allocations: 105.5 kB / 0.5176 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.3485, allocations: 84.83 kB / 0.5177 GB, free: 37.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003152/0.3517, allocations: 1.354 MB / 0.519 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002777/0.3545, allocations: 1.627 MB / 0.5206 GB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008002/0.3553, allocations: 424.2 kB / 0.521 GB, free: 36.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.3564, allocations: 0.6142 MB / 0.5216 GB, free: 35.96 MB / 382.1 MB Notification: Performance of Backend: time 1.093e-06/0.3564, allocations: 4.469 kB / 0.5216 GB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.3615, allocations: 2.168 MB / 0.5238 GB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 0.003948/0.3654, allocations: 3.208 MB / 0.5269 GB, free: 33.02 MB / 382.1 MB Notification: Performance of Templates: time 0.03093/0.3964, allocations: 22.7 MB / 0.5491 GB, free: 17.85 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEVdata.sim & ./EHPTexamples_EHPTexamples.EV.MBEVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEVdata.pipe 2>&1)