Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.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.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05376/0.05376, allocations: 8.944 MB / 24.21 MB, free: 4.258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.000926, allocations: 95.75 kB / 27.07 MB, free: 2.34 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.001077/0.001077, allocations: 182.3 kB / 30.03 MB, free: 5.934 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.412/1.412, allocations: 223.3 MB / 256.1 MB, free: 4.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01304/0.01304, allocations: 3.136 MB / 312.4 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004328, allocations: 15.38 kB / 377.8 MB, free: 52.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08924, allocations: 53.27 MB / 431 MB, free: 17.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.006603/0.09589, allocations: 7.153 MB / 438.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.1012, allocations: 3.339 MB / 441.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.1026, allocations: 27.88 kB / 441.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.1035, allocations: 294.6 kB / 441.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1047, allocations: 381.6 kB / 442.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1062, allocations: 0.8457 MB / 443.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1075, allocations: 1.755 MB / 444.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.1082, allocations: 0.577 MB / 445.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.1088, allocations: 0.5872 MB / 446 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.1094, allocations: 0.6608 MB / 446.6 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1095, allocations: 68 kB / 446.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.1099, allocations: 223.8 kB / 446.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.1101, allocations: 278.7 kB / 447.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.1106, allocations: 0.6775 MB / 447.9 MB, free: 316 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.1124, allocations: 1.896 MB / 449.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1125, allocations: 0 / 449.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1125, allocations: 0 / 449.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.1125, allocations: 0 / 449.8 MB, free: 14.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003351/0.1158, allocations: 1.659 MB / 451.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1159, allocations: 13.44 kB / 451.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.1162, allocations: 167.1 kB / 451.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1175, allocations: 0.8445 MB / 452.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.1178, allocations: 157.6 kB / 452.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.118, allocations: 119.9 kB / 452.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.1205, allocations: 1.3 MB / 454 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.1206, allocations: 0 / 454 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1207, allocations: 52 kB / 454.1 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.1208, allocations: 31.98 kB / 454.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.123, allocations: 0.9651 MB / 455.1 MB, free: 8.895 MB / 318.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.007108/0.1301, allocations: 4.186 MB / 459.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.1328, allocations: 1.266 MB / 460.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.134, allocations: 0.5157 MB / 461 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.134, allocations: 12.98 kB / 461 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.1353, allocations: 0.5765 MB / 461.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=89): time 2.344e-06/0.1353, allocations: 0 / 461.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.00924/0.1445, allocations: 3.974 MB / 465.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003142/0.1449, allocations: 487.7 kB / 466.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.1463, allocations: 0.8922 MB / 467 MB, free: 12.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.1465, allocations: 49.7 kB / 467 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.147, allocations: 0.5505 MB / 467.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.1474, allocations: 335.3 kB / 467.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1475, allocations: 97.66 kB / 468 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1477, allocations: 345.9 kB / 468.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.1486, allocations: 402.4 kB / 468.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.1499, allocations: 0.6891 MB / 469.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/0.155, allocations: 1.998 MB / 471.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1551, allocations: 4 kB / 471.4 MB, free: 7.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003277/0.1584, allocations: 1.433 MB / 472.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.1586, allocations: 313.6 kB / 473.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1586, allocations: 8 kB / 473.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.1592, allocations: 204.7 kB / 473.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/0.1601, allocations: 231.8 kB / 473.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.1612, allocations: 0.806 MB / 474.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.1623, allocations: 155.8 kB / 474.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.1624, allocations: 43.98 kB / 474.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.1624, allocations: 6.188 kB / 474.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002223/0.1646, allocations: 1.101 MB / 475.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.1646, allocations: 4 kB / 475.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.1651, allocations: 189 kB / 475.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.1659, allocations: 207.7 kB / 476.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/0.1667, allocations: 0.7591 MB / 476.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1677, allocations: 112 kB / 477 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.1678, allocations: 51.98 kB / 477 MB, free: 1.98 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: 23 * Number of states: 0 () * Number of discrete variables: 17 (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,eleDrive.limitingTorque,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,eleDrive.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * 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.0008568/0.1687, allocations: 469.6 kB / 477.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.1689, allocations: 114.6 kB / 477.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.1716, allocations: 1.185 MB / 478.8 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1716, allocations: 8 kB / 478.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1716, allocations: 0 / 478.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1716, allocations: 3.984 kB / 478.8 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.1767, allocations: 2.673 MB / 481.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1768, allocations: 4 kB / 481.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.1776, allocations: 188 kB / 481.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.1782, allocations: 207.4 kB / 481.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.1783, allocations: 23.98 kB / 481.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/0.1793, allocations: 0.7708 MB / 482.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1793, allocations: 0 / 482.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.1828, allocations: 1.762 MB / 484.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.1834, allocations: 287.6 kB / 484.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1835, allocations: 28 kB / 484.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.1845, allocations: 131.9 kB / 484.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.1847, allocations: 84.86 kB / 484.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.1848, allocations: 35.98 kB / 484.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009325/0.1857, allocations: 0.624 MB / 485.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1857, allocations: 0 / 485.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001388/0.1871, allocations: 484 kB / 486 MB, free: 8.727 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.pDC.integrator1.y,batt1.cBattery.v,batt1.C1.v,batt1.cDummy.v,mass.s,mass.v) * Number of discrete variables: 9 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limitingTorque,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 (82): * Single equations (assignments): 77 * 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.002791/0.1899, allocations: 0.7424 MB / 486.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.1935, allocations: 1.775 MB / 488.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1936, allocations: 4 kB / 488.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.1949, allocations: 0.6412 MB / 489.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.1964, allocations: 221.4 kB / 489.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.2025, allocations: 3.612 MB / 493 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.2034, allocations: 1.125 MB / 494.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007551/0.2042, allocations: 155.6 kB / 494.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.2045, allocations: 79.42 kB / 494.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2045, allocations: 0 / 494.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Templates: time 0.03596/0.2405, allocations: 18.58 MB / 0.5009 GB, free: 14.09 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)