Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07293/0.07293, allocations: 8.334 MB / 23.61 MB, free: 4.703 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.0007916/0.0007915, allocations: 99.02 kB / 26.25 MB, free: 3.035 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.000988/0.0009881, allocations: 183.2 kB / 28.99 MB, free: 308 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 254.9 MB, free: 3.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01291/0.01291, allocations: 3.117 MB / 310.9 MB, free: 96 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 16.89 kB / 376.1 MB, free: 52.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1001, allocations: 53.06 MB / 429.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.005686/0.1058, allocations: 6.319 MB / 435.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.111, allocations: 3.391 MB / 438.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1123, allocations: 27.94 kB / 438.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009734/0.1132, allocations: 282.3 kB / 439.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.1146, allocations: 381.6 kB / 439.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1165, allocations: 0.8876 MB / 440.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1181, allocations: 1.762 MB / 442.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.1188, allocations: 0.5693 MB / 442.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.1195, allocations: 0.5833 MB / 443.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.1202, allocations: 0.6374 MB / 444 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1203, allocations: 72 kB / 444 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.1209, allocations: 227.8 kB / 444.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1211, allocations: 270.7 kB / 444.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.1215, allocations: 0.6736 MB / 445.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.1228, allocations: 1.892 MB / 447.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1229, allocations: 4 kB / 447.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1229, allocations: 0 / 447.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.1229, allocations: 0 / 447.1 MB, free: 0.7305 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.00313/0.126, allocations: 1.636 MB / 448.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1261, allocations: 12.03 kB / 448.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.1265, allocations: 163.1 kB / 448.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.1278, allocations: 0.8524 MB / 449.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1279, allocations: 120 kB / 449.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.1281, allocations: 119.9 kB / 450 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.1306, allocations: 1.289 MB / 451.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.1306, allocations: 8 kB / 451.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.1308, allocations: 48 kB / 451.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1308, allocations: 28 kB / 451.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1329, allocations: 0.9494 MB / 452.3 MB, free: 11.31 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.00731/0.1402, allocations: 4.255 MB / 456.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.1428, allocations: 1.196 MB / 457.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.144, allocations: 0.5001 MB / 458.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.435e-05/0.1441, allocations: 20.97 kB / 458.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.1453, allocations: 0.5687 MB / 458.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.247e-06/0.1453, allocations: 4 kB / 458.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.008959/0.1543, allocations: 3.946 MB / 462.8 MB, free: 428 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002602/0.1546, allocations: 483.6 kB / 463.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1559, allocations: 0.8725 MB / 464.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.156, allocations: 49.7 kB / 464.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.1565, allocations: 0.5426 MB / 464.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.1568, allocations: 331.3 kB / 465.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.157, allocations: 85.67 kB / 465.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1571, allocations: 341.9 kB / 465.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/0.158, allocations: 389.8 kB / 465.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1591, allocations: 0.6648 MB / 466.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005047/0.1642, allocations: 1.933 MB / 468.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1642, allocations: 4 kB / 468.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002852/0.1671, allocations: 1.293 MB / 469.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1673, allocations: 281.7 kB / 470 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1673, allocations: 11.88 kB / 470 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.1679, allocations: 208.7 kB / 470.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.1688, allocations: 215.8 kB / 470.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009805/0.1698, allocations: 0.8164 MB / 471.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.1709, allocations: 143.9 kB / 471.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.171, allocations: 40 kB / 471.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.171, allocations: 8 kB / 471.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/0.173, allocations: 1.004 MB / 472.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1731, allocations: 7.984 kB / 472.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.1735, allocations: 188.8 kB / 472.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.1742, allocations: 191.7 kB / 472.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007853/0.175, allocations: 0.7733 MB / 473.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.176, allocations: 111.9 kB / 473.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.1761, allocations: 36 kB / 473.8 MB, free: 4.906 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: 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.0008312/0.1769, allocations: 458.9 kB / 474.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.1771, allocations: 110.7 kB / 474.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.1798, allocations: 1.215 MB / 475.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1798, allocations: 8 kB / 475.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1798, allocations: 0 / 475.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1798, allocations: 3.984 kB / 475.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.1849, allocations: 2.708 MB / 478.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.185, allocations: 4.062 kB / 478.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.1858, allocations: 183.7 kB / 478.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/0.1864, allocations: 204.8 kB / 478.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.1865, allocations: 23.98 kB / 478.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.1873, allocations: 0.7662 MB / 479.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1874, allocations: 0 / 479.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.191, allocations: 1.785 MB / 481.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.1915, allocations: 283.7 kB / 481.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.1916, allocations: 28 kB / 481.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.1926, allocations: 131.8 kB / 481.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.1928, allocations: 88.8 kB / 481.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.1929, allocations: 35.98 kB / 481.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008877/0.1938, allocations: 0.6162 MB / 482.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1938, allocations: 0 / 482.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001445/0.1952, allocations: 475.9 kB / 482.8 MB, free: 11.6 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.001841/0.1971, allocations: 0.7393 MB / 483.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.2007, allocations: 1.713 MB / 485.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.2007, allocations: 7.938 kB / 485.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.202, allocations: 0.622 MB / 485.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.2037, allocations: 231.8 kB / 486.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.21, allocations: 3.581 MB / 489.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.2108, allocations: 1.105 MB / 490.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008896/0.2117, allocations: 163.5 kB / 491 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.2121, allocations: 79.42 kB / 491.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.2121, allocations: 0 / 491.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of Templates: time 0.03355/0.2457, allocations: 18.62 MB / 0.4977 GB, free: 1.027 MB / 366.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)