Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.EVdata.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.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06138/0.06138, allocations: 8.323 MB / 23.96 MB, free: 4.836 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.001328/0.001328, allocations: 104.2 kB / 26.61 MB, free: 2.812 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.002168/0.002168, allocations: 199.6 kB / 29.37 MB, free: 60 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.498/1.498, allocations: 222.9 MB / 254.9 MB, free: 4.309 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01253/0.01253, allocations: 3.124 MB / 310 MB, free: 1.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 95.84 kB / 427.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1363, allocations: 52.04 MB / 479.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.005189/0.1415, allocations: 3.266 MB / 482.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.1455, allocations: 2.258 MB / 485.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1459, allocations: 11.94 kB / 485.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.1464, allocations: 131 kB / 485.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.147, allocations: 162.8 kB / 485.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.148, allocations: 410.5 kB / 485.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.1487, allocations: 0.6503 MB / 486.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.149, allocations: 165.4 kB / 486.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.1493, allocations: 275 kB / 486.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.1497, allocations: 254.9 kB / 487.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.1498, allocations: 48 kB / 487.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.1502, allocations: 171.8 kB / 487.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1503, allocations: 123.6 kB / 487.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1506, allocations: 258.6 kB / 487.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.1514, allocations: 0.6693 MB / 488.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1515, allocations: 0 / 488.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1515, allocations: 0 / 488.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1515, allocations: 4 kB / 488.5 MB, free: 4.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001494/0.153, allocations: 0.8536 MB / 489.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.153, allocations: 8.031 kB / 489.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.1532, allocations: 60.56 kB / 489.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.1538, allocations: 397 kB / 489.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.1539, allocations: 59.27 kB / 489.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.154, allocations: 35.92 kB / 489.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.1548, allocations: 473.4 kB / 490.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1549, allocations: 3.953 kB / 490.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.1549, allocations: 16 kB / 490.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1549, allocations: 8 kB / 490.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.1556, allocations: 335.7 kB / 490.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1578, allocations: 1.347 MB / 492 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.1588, allocations: 401.4 kB / 492.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.1591, allocations: 148.8 kB / 492.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.1592, allocations: 4 kB / 492.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/0.1597, allocations: 243.6 kB / 492.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.1597, allocations: 0 / 492.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00406/0.1638, allocations: 1.774 MB / 494.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.1639, allocations: 174.1 kB / 494.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.1643, allocations: 369.6 kB / 495.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.1643, allocations: 37.7 kB / 495.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1645, allocations: 212.9 kB / 495.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1647, allocations: 142.8 kB / 495.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1648, allocations: 86.08 kB / 495.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1649, allocations: 354.8 kB / 495.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.1653, allocations: 174.5 kB / 496.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.1657, allocations: 259.4 kB / 496.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.1664, allocations: 359.6 kB / 496.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1664, allocations: 3.984 kB / 496.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001164/0.1676, allocations: 0.5524 MB / 497.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1676, allocations: 8.219 kB / 497.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1676, allocations: 4 kB / 497.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.1681, allocations: 168.6 kB / 497.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.1684, allocations: 83.88 kB / 497.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/0.1691, allocations: 0.7046 MB / 498.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1694, allocations: 60.06 kB / 498.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.1695, allocations: 20 kB / 498.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003745/0.1699, allocations: 248.9 kB / 498.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003355/0.1702, allocations: 227.5 kB / 498.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005316/0.1708, allocations: 291.8 kB / 499 MB, free: 9.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.1708, allocations: 0 / 499 MB, free: 9.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009444/0.1717, allocations: 0.49 MB / 499.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1718, allocations: 10.66 kB / 499.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1718, allocations: 0 / 499.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.1721, allocations: 168.8 kB / 499.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1724, allocations: 63.91 kB / 499.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.1731, allocations: 0.7124 MB / 0.4888 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.1734, allocations: 48.02 kB / 0.4888 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1735, allocations: 23.94 kB / 0.4888 GB, free: 7.465 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.1737, allocations: 208.1 kB / 0.489 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.1738, allocations: 43.81 kB / 0.4891 GB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.1739, allocations: 60.17 kB / 0.4891 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1739, allocations: 4 kB / 0.4891 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.174, allocations: 4 kB / 0.4891 GB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.174, allocations: 3.984 kB / 0.4891 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.176, allocations: 1.177 MB / 0.4903 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.176, allocations: 4 kB / 0.4903 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.1762, allocations: 59.95 kB / 0.4903 GB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/0.1766, allocations: 156.7 kB / 0.4905 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.1767, allocations: 15.98 kB / 0.4905 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005567/0.1772, allocations: 0.6733 MB / 0.4912 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1772, allocations: 0 / 0.4912 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1788, allocations: 0.8004 MB / 0.4919 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.179, allocations: 160.8 kB / 0.4921 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.179, allocations: 16 kB / 0.4921 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.1794, allocations: 55.92 kB / 0.4922 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.1796, allocations: 59.92 kB / 0.4922 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.1796, allocations: 19.98 kB / 0.4922 GB, free: 3.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.1799, allocations: 259.2 kB / 0.4925 GB, free: 3.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 0.4925 GB, free: 3.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006869/0.1806, allocations: 175.9 kB / 0.4927 GB, free: 3.387 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.1817, allocations: 481.1 kB / 0.4931 GB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1834, allocations: 0.6398 MB / 0.4937 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1834, allocations: 0 / 0.4937 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.1839, allocations: 232.5 kB / 0.494 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.1846, allocations: 115.3 kB / 0.4941 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.187, allocations: 1.022 MB / 0.4951 GB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1874, allocations: 0.8161 MB / 0.4959 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.1876, allocations: 63.28 kB / 0.4959 GB, free: 144 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1877, allocations: 39.42 kB / 0.496 GB, free: 104 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1877, allocations: 0 / 0.496 GB, free: 104 kB / 366.1 MB Notification: Performance of Templates: time 0.01596/0.2037, allocations: 9.681 MB / 0.5054 GB, free: 6.48 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)