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.05297/0.05297, allocations: 8.036 MB / 23.31 MB, free: 68 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.0006764/0.0006764, allocations: 89.92 kB / 25.87 MB, free: 3.352 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.0009099/0.0009103, allocations: 180.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.471/1.471, allocations: 223.3 MB / 254.4 MB, free: 3.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01184/0.01184, allocations: 3.124 MB / 310.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 15.97 kB / 375.5 MB, free: 53.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09387, allocations: 52.99 MB / 428.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.005061/0.09897, allocations: 6.312 MB / 434.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1028, allocations: 3.398 MB / 438.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.1032, allocations: 23.88 kB / 438.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.1038, allocations: 278.4 kB / 438.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.1045, allocations: 377.7 kB / 438.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1058, allocations: 0.8843 MB / 439.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1068, allocations: 1.762 MB / 441.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.1074, allocations: 0.5807 MB / 442 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.1079, allocations: 0.5756 MB / 442.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.1085, allocations: 0.6529 MB / 443.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1086, allocations: 68 kB / 443.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.109, allocations: 227.9 kB / 443.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1092, allocations: 274.7 kB / 443.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.1096, allocations: 0.6698 MB / 444.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1106, allocations: 1.892 MB / 446.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1106, allocations: 0 / 446.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1106, allocations: 0 / 446.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.1107, allocations: 4 kB / 446.4 MB, free: 1.875 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002364/0.113, allocations: 1.636 MB / 448 MB, free: 176 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.1131, allocations: 8.031 kB / 448 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.1133, allocations: 163.1 kB / 448.2 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1145, allocations: 0.8524 MB / 449 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1146, allocations: 116 kB / 449.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.1148, allocations: 120 kB / 449.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.1171, allocations: 1.298 MB / 450.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.1172, allocations: 3.906 kB / 450.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.1173, allocations: 56 kB / 450.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1173, allocations: 24 kB / 450.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.1193, allocations: 0.9534 MB / 451.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006452/0.1257, allocations: 4.197 MB / 455.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.1282, allocations: 1.185 MB / 457 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.1294, allocations: 0.5079 MB / 457.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.1294, allocations: 20.94 kB / 457.5 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.1306, allocations: 0.561 MB / 458.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.224e-06/0.1306, allocations: 4 kB / 458.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.00827/0.1389, allocations: 3.953 MB / 462 MB, free: 1.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002831/0.1392, allocations: 479.7 kB / 462.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1405, allocations: 0.8802 MB / 463.4 MB, free: 168 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.1406, allocations: 49.7 kB / 463.4 MB, free: 112 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.1411, allocations: 0.5427 MB / 464 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.1414, allocations: 331.2 kB / 464.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1415, allocations: 85.67 kB / 464.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1417, allocations: 345.9 kB / 464.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.1425, allocations: 385.8 kB / 465.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.1436, allocations: 0.6648 MB / 465.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.1454, allocations: 1.028 MB / 466.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1454, allocations: 0 / 466.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002889/0.1483, allocations: 1.394 MB / 468.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.1486, allocations: 285.6 kB / 468.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1486, allocations: 7.938 kB / 468.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/0.1491, allocations: 204.7 kB / 468.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.1499, allocations: 215.7 kB / 468.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009238/0.1509, allocations: 0.8071 MB / 469.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.1519, allocations: 147.9 kB / 469.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.152, allocations: 43.98 kB / 469.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.152, allocations: 4 kB / 469.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/0.154, allocations: 1.058 MB / 470.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1541, allocations: 8 kB / 470.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.1545, allocations: 191.5 kB / 471.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.1552, allocations: 187.7 kB / 471.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006992/0.1559, allocations: 0.763 MB / 472.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.1567, allocations: 108 kB / 472.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.1568, allocations: 40 kB / 472.2 MB, free: 6.922 MB / 334.1 MB 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 (109): * Single equations (assignments): 106 * 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.0006274/0.1575, allocations: 450 kB / 472.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.1576, allocations: 118.6 kB / 472.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.1602, allocations: 1.208 MB / 474 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1602, allocations: 15.94 kB / 474 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1602, allocations: 0 / 474 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1602, allocations: 3.984 kB / 474 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.1647, allocations: 2.7 MB / 476.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1648, allocations: 3.938 kB / 476.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.1655, allocations: 183.9 kB / 476.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.1661, allocations: 200.7 kB / 477.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.1661, allocations: 27.97 kB / 477.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007884/0.1669, allocations: 0.7622 MB / 477.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.167, allocations: 11.97 kB / 477.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.1703, allocations: 1.781 MB / 479.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.1707, allocations: 287.7 kB / 479.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.1708, allocations: 28 kB / 480 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.1717, allocations: 123.8 kB / 480.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.1719, allocations: 88.86 kB / 480.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.172, allocations: 35.97 kB / 480.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007705/0.1728, allocations: 0.6201 MB / 480.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1728, allocations: 0 / 480.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001223/0.174, allocations: 476 kB / 481.3 MB, free: 13.62 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 (80): * Single equations (assignments): 75 * 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.001654/0.1757, allocations: 0.7339 MB / 482 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.1788, allocations: 1.717 MB / 483.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1788, allocations: 0 / 483.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.1799, allocations: 0.6256 MB / 484.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.1812, allocations: 228.8 kB / 484.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.1864, allocations: 3.59 MB / 488.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.1871, allocations: 1.105 MB / 489.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006243/0.1877, allocations: 155.6 kB / 489.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.188, allocations: 83.41 kB / 489.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.425e-06/0.188, allocations: 0 / 489.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Templates: time 0.03328/0.2213, allocations: 18.63 MB / 0.4962 GB, free: 3.047 MB / 366.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)