Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.MBEV.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.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05887/0.05887, allocations: 8.029 MB / 23.01 MB, free: 0.5859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007383/0.0007384, allocations: 99.77 kB / 25.57 MB, free: 3.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.0009128/0.0009128, allocations: 183.2 kB / 28.23 MB, free: 1.121 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 254 MB, free: 3.973 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01174/0.01174, allocations: 3.115 MB / 310 MB, free: 0.6758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004346, allocations: 11.19 kB / 374.8 MB, free: 53.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09692, allocations: 52.98 MB / 427.8 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.005639/0.1026, allocations: 5.722 MB / 433.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1078, allocations: 3.045 MB / 436.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.1092, allocations: 19.94 kB / 436.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1103, allocations: 218.6 kB / 436.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1122, allocations: 317.9 kB / 437.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.1147, allocations: 0.6884 MB / 437.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.1166, allocations: 1.536 MB / 439.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.1177, allocations: 477.9 kB / 439.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1187, allocations: 0.5252 MB / 440.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008222/0.1196, allocations: 0.5677 MB / 440.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.1197, allocations: 64 kB / 440.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1202, allocations: 191.8 kB / 441.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.1205, allocations: 270.9 kB / 441.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.1207, allocations: 265 kB / 441.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1218, allocations: 1.465 MB / 443.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1218, allocations: 0 / 443.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1218, allocations: 0 / 443.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.1219, allocations: 0 / 443.1 MB, free: 4.961 MB / 302.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.002337/0.1242, allocations: 1.585 MB / 444.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1242, allocations: 8.031 kB / 444.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1245, allocations: 154.2 kB / 444.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.1254, allocations: 0.7819 MB / 445.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.1255, allocations: 115.8 kB / 445.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1256, allocations: 119.8 kB / 445.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.1274, allocations: 1.257 MB / 447.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.1275, allocations: 7.906 kB / 447.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.1276, allocations: 48 kB / 447.2 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1276, allocations: 24 kB / 447.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.1293, allocations: 0.9062 MB / 448.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.1353, allocations: 4.052 MB / 452.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.1375, allocations: 1.136 MB / 453.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009693/0.1385, allocations: 492.2 kB / 453.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.1385, allocations: 16.64 kB / 453.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.1396, allocations: 0.5423 MB / 454.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.817e-06/0.1396, allocations: 0 / 454.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007435/0.147, allocations: 3.81 MB / 458.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/0.1473, allocations: 0.5013 MB / 458.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1484, allocations: 0.8367 MB / 459.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/0.1485, allocations: 49.7 kB / 459.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.1489, allocations: 0.5154 MB / 460 MB, free: 3.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.1492, allocations: 323.4 kB / 460.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.1493, allocations: 20 kB / 460.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1494, allocations: 345.9 kB / 460.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.1501, allocations: 361.8 kB / 461.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/0.1511, allocations: 0.6461 MB / 461.7 MB, free: 1.488 MB / 318.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass.v = $START.mass.v ($START.dragF.v = $START.mass.v) Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.1537, allocations: 1.117 MB / 462.8 MB, free: 340 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1537, allocations: 0 / 462.8 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002427/0.1561, allocations: 1.27 MB / 464.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.1563, allocations: 296.2 kB / 464.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1564, allocations: 7.984 kB / 464.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.1569, allocations: 220.6 kB / 464.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.1576, allocations: 207.7 kB / 464.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.1585, allocations: 0.8137 MB / 465.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/0.1593, allocations: 144 kB / 465.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.1594, allocations: 39.98 kB / 465.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.1594, allocations: 7.938 kB / 465.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/0.1611, allocations: 0.9841 MB / 466.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1612, allocations: 7.953 kB / 466.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.1616, allocations: 191.6 kB / 467 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.1622, allocations: 183.7 kB / 467.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006799/0.1629, allocations: 0.7592 MB / 467.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.1636, allocations: 111.9 kB / 468.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.1637, allocations: 43.98 kB / 468.1 MB, free: 10.9 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: mass.v = $START.mass.v. 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,dragF.free,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006352/0.1644, allocations: 453.9 kB / 468.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1645, allocations: 102.9 kB / 468.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.1669, allocations: 1.184 MB / 469.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1669, allocations: 15.98 kB / 469.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1669, allocations: 0 / 469.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1669, allocations: 7.938 kB / 469.8 MB, free: 9.094 MB / 334.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 postOpt removeSimpleEquations (simulation): time 0.00434/0.1713, allocations: 2.678 MB / 472.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1713, allocations: 4.25 kB / 472.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.172, allocations: 175.8 kB / 472.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.1725, allocations: 204.5 kB / 472.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.1726, allocations: 31.97 kB / 472.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007817/0.1734, allocations: 0.763 MB / 473.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1734, allocations: 0 / 473.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.1764, allocations: 1.739 MB / 475.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.1768, allocations: 275.7 kB / 475.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.1769, allocations: 28 kB / 475.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.1777, allocations: 123.9 kB / 475.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.1779, allocations: 100.8 kB / 475.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.1779, allocations: 35.98 kB / 476 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.1787, allocations: 0.5888 MB / 476.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1787, allocations: 0 / 476.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001184/0.1799, allocations: 468 kB / 477 MB, free: 1.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (enBatDel,enDTdel,enP1del,enBattLoss,enBraking,eleDrive.constPDC.integrator1.y,batt1.cBattery.v,batt1.C1.v,batt1.cDummy.v,mass.s,mass.v) * Number of discrete variables: 8 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * Number of discrete states: 6 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001602/0.1815, allocations: 0.7401 MB / 477.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.1843, allocations: 1.678 MB / 479.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1844, allocations: 4.062 kB / 479.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1854, allocations: 0.61 MB / 480.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.1864, allocations: 225.9 kB / 480.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.1909, allocations: 3.305 MB / 483.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.1915, allocations: 1.082 MB / 484.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.192, allocations: 147.1 kB / 484.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.1922, allocations: 79.41 kB / 484.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1923, allocations: 0 / 484.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Templates: time 0.02798/0.2202, allocations: 17.77 MB / 0.4909 GB, free: 8.391 MB / 366.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEV.pipe 2>&1)