Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04883/0.04883, allocations: 8.04 MB / 23.52 MB, free: 376 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.0008901/0.00089, allocations: 108 kB / 26.09 MB, free: 3.359 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.001086/0.001086, allocations: 191.3 kB / 28.77 MB, free: 0.6797 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.155/1.155, allocations: 222.9 MB / 254.2 MB, free: 4.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01143/0.01143, allocations: 3.131 MB / 309.3 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 92.23 kB / 373.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1631, allocations: 51.97 MB / 425.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003321/0.1665, allocations: 3.27 MB / 428.9 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1685, allocations: 2.25 MB / 431.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1687, allocations: 8 kB / 431.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1691, allocations: 141.4 kB / 431.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1694, allocations: 162.8 kB / 431.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.1699, allocations: 402.9 kB / 431.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.1703, allocations: 0.6465 MB / 432.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1705, allocations: 157.5 kB / 432.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1706, allocations: 275 kB / 432.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1709, allocations: 262.8 kB / 433.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.1709, allocations: 52 kB / 433.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1711, allocations: 155.9 kB / 433.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.1712, allocations: 123.6 kB / 433.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1714, allocations: 250.7 kB / 433.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.1718, allocations: 0.6658 MB / 434.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1718, allocations: 0 / 434.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1718, allocations: 0 / 434.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1719, allocations: 0 / 434.4 MB, free: 12.66 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001054/0.1729, allocations: 0.835 MB / 435.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.558e-05/0.1729, allocations: 8.031 kB / 435.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1731, allocations: 60.27 kB / 435.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1735, allocations: 388.7 kB / 435.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.1735, allocations: 55.27 kB / 435.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.1736, allocations: 43.92 kB / 435.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.1742, allocations: 465.5 kB / 436.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1742, allocations: 3.938 kB / 436.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.1743, allocations: 16 kB / 436.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1743, allocations: 8 kB / 436.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.1749, allocations: 335.8 kB / 436.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1765, allocations: 1.354 MB / 437.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.1773, allocations: 384.1 kB / 438.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1775, allocations: 148.8 kB / 438.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1776, allocations: 8.516 kB / 438.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003801/0.178, allocations: 239.1 kB / 438.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.178, allocations: 0 / 438.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003243/0.1812, allocations: 1.78 MB / 440.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1813, allocations: 170.1 kB / 440.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1815, allocations: 361.7 kB / 441 MB, free: 5.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1816, allocations: 37.7 kB / 441 MB, free: 5.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.1817, allocations: 216.5 kB / 441.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.1817, allocations: 146 kB / 441.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1819, allocations: 90.03 kB / 441.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.1819, allocations: 354.8 kB / 441.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1822, allocations: 166.5 kB / 442 MB, free: 4.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1826, allocations: 267.4 kB / 442.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.1831, allocations: 359.7 kB / 442.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1831, allocations: 3.984 kB / 442.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000979/0.1841, allocations: 0.5524 MB / 443.1 MB, free: 3.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1841, allocations: 8 kB / 443.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1841, allocations: 0 / 443.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.1845, allocations: 164.8 kB / 443.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1847, allocations: 79.88 kB / 443.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004506/0.1852, allocations: 0.7159 MB / 444.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1855, allocations: 47.94 kB / 444.1 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.1856, allocations: 20 kB / 444.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002742/0.1858, allocations: 248.9 kB / 444.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002313/0.1861, allocations: 231.5 kB / 444.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003544/0.1865, allocations: 291.8 kB / 444.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1865, allocations: 0 / 444.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007772/0.1872, allocations: 497.5 kB / 445.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.1873, allocations: 8 kB / 445.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.1873, allocations: 0 / 445.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.1876, allocations: 164.9 kB / 445.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1878, allocations: 67.91 kB / 445.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/0.1882, allocations: 0.7084 MB / 446.3 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.1885, allocations: 43.95 kB / 446.4 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.1885, allocations: 16.05 kB / 446.4 MB, free: 15.99 MB / 318.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.0001294/0.1887, allocations: 212.2 kB / 446.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.1888, allocations: 47.44 kB / 446.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1889, allocations: 60.12 kB / 446.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1889, allocations: 4 kB / 446.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1889, allocations: 0 / 446.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1889, allocations: 8.062 kB / 446.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.1908, allocations: 1.173 MB / 447.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1908, allocations: 4 kB / 447.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.1911, allocations: 72.02 kB / 448 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.1914, allocations: 152.8 kB / 448.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.1915, allocations: 11.98 kB / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005428/0.192, allocations: 0.681 MB / 448.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.192, allocations: 0 / 448.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1935, allocations: 0.7988 MB / 449.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1936, allocations: 160.5 kB / 449.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.1937, allocations: 15.94 kB / 449.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.194, allocations: 51.92 kB / 449.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1942, allocations: 55.98 kB / 449.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.1942, allocations: 19.98 kB / 449.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1944, allocations: 259.2 kB / 450.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1944, allocations: 0 / 450.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005343/0.195, allocations: 176 kB / 450.3 MB, free: 11.9 MB / 318.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.0009301/0.1959, allocations: 497.2 kB / 450.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.1973, allocations: 0.6441 MB / 451.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1973, allocations: 0 / 451.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.1978, allocations: 228.2 kB / 451.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.1984, allocations: 105.8 kB / 451.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2001, allocations: 1.02 MB / 452.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2004, allocations: 0.8161 MB / 453.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.2006, allocations: 63.28 kB / 453.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.2007, allocations: 39.42 kB / 453.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2007, allocations: 7.938 kB / 453.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Templates: time 0.01272/0.2135, allocations: 9.605 MB / 463.3 MB, free: 15.07 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_main_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)