Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04458/0.04458, allocations: 8.038 MB / 23.31 MB, free: 76 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.0006909/0.000691, allocations: 94.23 kB / 25.88 MB, free: 3.355 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.0008393/0.0008395, allocations: 191 kB / 28.57 MB, free: 0.7188 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.212/1.212, allocations: 223.3 MB / 254.4 MB, free: 3.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01156/0.01156, allocations: 3.113 MB / 310.4 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 18.81 kB / 375.5 MB, free: 53.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08194, allocations: 52.97 MB / 428.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.004903/0.08689, allocations: 6.075 MB / 434.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.09102, allocations: 3.148 MB / 437.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.09168, allocations: 19.94 kB / 437.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.09227, allocations: 210.7 kB / 437.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009155/0.09319, allocations: 349.8 kB / 438.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.09464, allocations: 0.8395 MB / 439.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.09576, allocations: 1.626 MB / 440.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.09634, allocations: 0.5531 MB / 441.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.09682, allocations: 0.5367 MB / 441.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.09734, allocations: 0.5986 MB / 442.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.09745, allocations: 68 kB / 442.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.0978, allocations: 203.9 kB / 442.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.09802, allocations: 278.8 kB / 442.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.09842, allocations: 0.6426 MB / 443.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.09951, allocations: 1.802 MB / 445.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.09952, allocations: 0 / 445.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09953, allocations: 0 / 445.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.09955, allocations: 0 / 445.4 MB, free: 2.852 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.002303/0.1019, allocations: 1.569 MB / 446.9 MB, free: 1.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1019, allocations: 11.97 kB / 446.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.1021, allocations: 155.2 kB / 447.1 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.103, allocations: 0.8205 MB / 447.9 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.1031, allocations: 111.9 kB / 448 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.1032, allocations: 120 kB / 448.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.1054, allocations: 1.265 MB / 449.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.1054, allocations: 3.906 kB / 449.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1055, allocations: 52 kB / 449.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.1055, allocations: 24 kB / 449.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.1073, allocations: 0.914 MB / 450.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.1132, allocations: 4.048 MB / 454.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.1153, allocations: 1.135 MB / 455.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009618/0.1163, allocations: 0.4988 MB / 456.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.1164, allocations: 12.64 kB / 456.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.1174, allocations: 0.5501 MB / 456.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.1174, allocations: 0 / 456.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007467/0.1249, allocations: 3.821 MB / 460.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.1251, allocations: 0.4974 MB / 461 MB, free: 2.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1262, allocations: 0.8406 MB / 461.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.1262, allocations: 49.7 kB / 461.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.1266, allocations: 0.5152 MB / 462.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.1269, allocations: 323.4 kB / 462.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.127, allocations: 81.67 kB / 462.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1271, allocations: 341.9 kB / 463.1 MB, free: 364 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.1279, allocations: 381.8 kB / 463.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/0.1288, allocations: 0.65 MB / 464.1 MB, free: 15.22 MB / 334.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.003843/0.1327, allocations: 1.939 MB / 466 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1327, allocations: 8 kB / 466.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002724/0.1354, allocations: 1.352 MB / 467.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.1356, allocations: 295.4 kB / 467.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1356, allocations: 4 kB / 467.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.1362, allocations: 208.8 kB / 467.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.1369, allocations: 211.7 kB / 468.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.1378, allocations: 0.8071 MB / 468.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.1387, allocations: 147.9 kB / 469.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.1388, allocations: 39.98 kB / 469.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.1388, allocations: 4 kB / 469.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001827/0.1407, allocations: 1.019 MB / 470.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1407, allocations: 4 kB / 470.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.1411, allocations: 191.3 kB / 470.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.1418, allocations: 183.7 kB / 470.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000683/0.1424, allocations: 0.763 MB / 471.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.1433, allocations: 108 kB / 471.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.1434, allocations: 43.98 kB / 471.4 MB, free: 7.625 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,$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.0006382/0.144, allocations: 457.9 kB / 471.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.1442, allocations: 106.7 kB / 472 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.1467, allocations: 1.191 MB / 473.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1467, allocations: 8 kB / 473.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.1468, allocations: 7.922 kB / 473.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1468, allocations: 3.984 kB / 473.2 MB, free: 5.812 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.00461/0.1514, allocations: 2.682 MB / 475.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1514, allocations: 4 kB / 475.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.1521, allocations: 172 kB / 476 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.1527, allocations: 200.6 kB / 476.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.1527, allocations: 39.84 kB / 476.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.1536, allocations: 0.7632 MB / 477 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1536, allocations: 8 kB / 477 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.1569, allocations: 1.738 MB / 478.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.1573, allocations: 279.7 kB / 479 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.1575, allocations: 32 kB / 479.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.1583, allocations: 123.9 kB / 479.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.1585, allocations: 88.75 kB / 479.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.1586, allocations: 39.97 kB / 479.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000775/0.1594, allocations: 0.5966 MB / 479.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1594, allocations: 0 / 479.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001245/0.1606, allocations: 464 kB / 480.4 MB, free: 14.43 MB / 350.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 (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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.1623, allocations: 0.741 MB / 481.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.1653, allocations: 1.682 MB / 482.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1654, allocations: 0 / 482.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1664, allocations: 0.614 MB / 483.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.1676, allocations: 222.1 kB / 483.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.1726, allocations: 3.452 MB / 487.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.1732, allocations: 1.093 MB / 488.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005872/0.1738, allocations: 147.1 kB / 488.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.1741, allocations: 79.41 kB / 488.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1741, allocations: 0 / 488.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of Templates: time 0.02617/0.2002, allocations: 18.3 MB / 0.4948 GB, free: 4.387 MB / 366.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_main_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.MBEV.pipe 2>&1)