Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0585/0.0585, allocations: 8.028 MB / 23.3 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.0007859/0.0007861, allocations: 86.92 kB / 25.88 MB, free: 3.348 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.001056/0.001057, allocations: 184.8 kB / 28.56 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.328/1.328, allocations: 223.3 MB / 254.4 MB, free: 3.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01234/0.01234, allocations: 3.112 MB / 310.4 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 11.75 kB / 375.5 MB, free: 53.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08818, allocations: 52.98 MB / 428.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.004902/0.09312, allocations: 6.071 MB / 434.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.0969, allocations: 3.146 MB / 437.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.0974, allocations: 23.88 kB / 437.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.09792, allocations: 214.7 kB / 437.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.09869, allocations: 341.8 kB / 438.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1001, allocations: 0.8434 MB / 439.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.1012, allocations: 1.63 MB / 440.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.1019, allocations: 0.5492 MB / 441.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.1023, allocations: 0.5329 MB / 441.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.1029, allocations: 0.5986 MB / 442.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.103, allocations: 72 kB / 442.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.1033, allocations: 203.8 kB / 442.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1035, allocations: 278.8 kB / 442.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.1039, allocations: 0.6388 MB / 443.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.105, allocations: 1.81 MB / 445.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.105, allocations: 0 / 445.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.105, allocations: 0 / 445.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.105, allocations: 4 kB / 445.4 MB, free: 2.93 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.002424/0.1075, allocations: 1.565 MB / 446.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1075, allocations: 8.031 kB / 446.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.1078, allocations: 155.2 kB / 447.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.1088, allocations: 0.8244 MB / 447.9 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.1089, allocations: 111.8 kB / 448 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.1091, allocations: 119.9 kB / 448.1 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.1114, allocations: 1.265 MB / 449.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1115, allocations: 0 / 449.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1116, allocations: 52 kB / 449.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.1116, allocations: 24 kB / 449.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.1136, allocations: 0.914 MB / 450.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006722/0.1204, allocations: 4.048 MB / 454.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.1227, allocations: 1.132 MB / 455.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.1238, allocations: 0.4884 MB / 456.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.1239, allocations: 20.62 kB / 456.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.125, allocations: 0.5538 MB / 456.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.355e-06/0.125, allocations: 0 / 456.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.008719/0.1338, allocations: 3.821 MB / 460.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002716/0.1341, allocations: 0.4974 MB / 461 MB, free: 2.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.1353, allocations: 0.8367 MB / 461.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.1355, allocations: 53.69 kB / 461.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.136, allocations: 0.5113 MB / 462.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.1363, allocations: 323.4 kB / 462.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1365, allocations: 81.67 kB / 462.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1367, allocations: 349.9 kB / 463.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000856/0.1375, allocations: 369.8 kB / 463.4 MB, free: 76 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.1386, allocations: 0.654 MB / 464.1 MB, free: 15.3 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.004188/0.1428, allocations: 1.947 MB / 466.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1428, allocations: 4 kB / 466.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003042/0.1459, allocations: 1.355 MB / 467.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.1462, allocations: 289.5 kB / 467.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.1462, allocations: 8 kB / 467.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.1468, allocations: 204.7 kB / 467.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.1475, allocations: 211.7 kB / 468.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1486, allocations: 0.8071 MB / 468.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.1497, allocations: 140 kB / 469.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.1498, allocations: 39.98 kB / 469.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1498, allocations: 4 kB / 469.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/0.1518, allocations: 1.023 MB / 470.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1518, allocations: 4 kB / 470.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.1523, allocations: 191.2 kB / 470.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.1529, allocations: 187.7 kB / 470.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009036/0.1538, allocations: 0.763 MB / 471.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/0.1548, allocations: 112 kB / 471.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.1549, allocations: 39.98 kB / 471.4 MB, free: 7.707 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.0008723/0.1558, allocations: 453.9 kB / 471.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.1561, allocations: 110.7 kB / 472 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.1589, allocations: 1.191 MB / 473.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.1589, allocations: 12 kB / 473.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1589, allocations: 3.938 kB / 473.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1589, allocations: 7.984 kB / 473.2 MB, free: 5.891 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.005081/0.164, allocations: 2.675 MB / 475.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.164, allocations: 4 kB / 475.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.1648, allocations: 171.9 kB / 476 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005618/0.1654, allocations: 208.6 kB / 476.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.1655, allocations: 27.92 kB / 476.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008851/0.1664, allocations: 0.7768 MB / 477 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1664, allocations: 0 / 477 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.1699, allocations: 1.742 MB / 478.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.1705, allocations: 279.8 kB / 479 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.1708, allocations: 28 kB / 479.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.1718, allocations: 119.9 kB / 479.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.172, allocations: 88.8 kB / 479.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/0.1721, allocations: 39.98 kB / 479.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.1731, allocations: 0.5966 MB / 479.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1731, allocations: 3.938 kB / 479.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001644/0.1748, allocations: 467.9 kB / 480.4 MB, free: 14.51 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.001888/0.1767, allocations: 0.7384 MB / 481.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.1803, allocations: 1.689 MB / 482.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.1804, allocations: 4 kB / 482.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.1816, allocations: 0.6143 MB / 483.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.1834, allocations: 223.1 kB / 483.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/0.1896, allocations: 3.436 MB / 487.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.1905, allocations: 1.097 MB / 488.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008384/0.1914, allocations: 147.2 kB / 488.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.1917, allocations: 75.41 kB / 488.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1917, allocations: 0 / 488.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of Templates: time 0.03251/0.2242, allocations: 18.31 MB / 0.4948 GB, free: 4.465 MB / 366.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe 2>&1)