Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04689/0.04689, allocations: 8.035 MB / 24.29 MB, free: 32 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.001007/0.001007, allocations: 104.6 kB / 26.87 MB, free: 3.023 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.00122/0.00122, allocations: 193.9 kB / 29.58 MB, free: 344 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.285/1.285, allocations: 222.9 MB / 255 MB, free: 4.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01278/0.01278, allocations: 3.111 MB / 310.1 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 375.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 51.98 MB / 427.1 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003584/0.1716, allocations: 3.289 MB / 430.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1738, allocations: 2.153 MB / 432.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1741, allocations: 11.94 kB / 432.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1744, allocations: 91.16 kB / 432.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1748, allocations: 154.9 kB / 432.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.1754, allocations: 423.7 kB / 433.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.1758, allocations: 0.6621 MB / 433.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.176, allocations: 169.9 kB / 434 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1763, allocations: 275.1 kB / 434.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1766, allocations: 270.8 kB / 434.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.1766, allocations: 56 kB / 434.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.1768, allocations: 163.9 kB / 434.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.1769, allocations: 131.6 kB / 434.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1771, allocations: 258.7 kB / 435.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.1776, allocations: 0.6914 MB / 435.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1776, allocations: 0 / 435.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1776, allocations: 3.984 kB / 435.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1776, allocations: 0 / 435.9 MB, free: 12.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001113/0.1787, allocations: 0.8312 MB / 436.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.1787, allocations: 11.97 kB / 436.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1789, allocations: 60.36 kB / 436.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.1793, allocations: 396 kB / 437.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.1794, allocations: 63.2 kB / 437.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1794, allocations: 39.94 kB / 437.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.1801, allocations: 497.5 kB / 437.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1802, allocations: 11.84 kB / 437.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.1802, allocations: 19.98 kB / 437.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1802, allocations: 8 kB / 437.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.1809, allocations: 351.8 kB / 438.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1826, allocations: 1.405 MB / 439.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.1834, allocations: 404.5 kB / 439.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.1837, allocations: 161.3 kB / 440.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.1837, allocations: 12.25 kB / 440.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.1841, allocations: 242.5 kB / 440.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1841, allocations: 0 / 440.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003446/0.1876, allocations: 1.806 MB / 442.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1876, allocations: 173.9 kB / 442.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1879, allocations: 324.5 kB / 442.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.188, allocations: 37.7 kB / 442.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.1881, allocations: 224.4 kB / 442.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.1881, allocations: 134.1 kB / 443 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1883, allocations: 94.14 kB / 443.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.1883, allocations: 346.8 kB / 443.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.1886, allocations: 171 kB / 443.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.189, allocations: 272.7 kB / 443.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.1896, allocations: 363.6 kB / 444.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1896, allocations: 4 kB / 444.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001073/0.1907, allocations: 0.5793 MB / 444.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1907, allocations: 15.97 kB / 444.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1907, allocations: 64 / 444.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.1911, allocations: 168.7 kB / 445 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1914, allocations: 75.89 kB / 445.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004617/0.1918, allocations: 0.7124 MB / 445.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.1922, allocations: 59.91 kB / 445.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1922, allocations: 23.98 kB / 445.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002938/0.1925, allocations: 245.2 kB / 446.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002449/0.1928, allocations: 236.7 kB / 446.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003644/0.1931, allocations: 299.7 kB / 446.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.1932, allocations: 0 / 446.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008583/0.194, allocations: 0.5127 MB / 447.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.194, allocations: 9.188 kB / 447.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.194, allocations: 4 kB / 447.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.1944, allocations: 172.8 kB / 447.3 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1946, allocations: 67.91 kB / 447.4 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005371/0.1951, allocations: 0.7079 MB / 448.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.1955, allocations: 39.95 kB / 448.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.1955, allocations: 20 kB / 448.1 MB, free: 15.62 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 (43): * Single equations (assignments): 42 * 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.0001621/0.1957, allocations: 224.5 kB / 448.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.1958, allocations: 43.59 kB / 448.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1959, allocations: 48.41 kB / 448.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1959, allocations: 8 kB / 448.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1959, allocations: 0 / 448.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1959, allocations: 3.984 kB / 448.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.1979, allocations: 1.196 MB / 449.7 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1979, allocations: 0 / 449.7 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.1982, allocations: 71.98 kB / 449.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/0.1985, allocations: 152.6 kB / 449.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.1986, allocations: 16.05 kB / 449.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005778/0.1992, allocations: 0.6811 MB / 450.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1992, allocations: 0 / 450.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.2007, allocations: 0.8154 MB / 451.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.2009, allocations: 152.6 kB / 451.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.201, allocations: 12 kB / 451.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.2014, allocations: 52 kB / 451.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.2015, allocations: 67.88 kB / 451.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.2015, allocations: 23.97 kB / 451.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.2018, allocations: 231 kB / 451.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2018, allocations: 0 / 451.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.2024, allocations: 180 kB / 452.1 MB, free: 11.52 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 (32): * Single equations (assignments): 29 * 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.0009894/0.2034, allocations: 488.1 kB / 452.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.2048, allocations: 0.6642 MB / 453.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2049, allocations: 0 / 453.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.2054, allocations: 244.8 kB / 453.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.206, allocations: 103.9 kB / 453.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2078, allocations: 0.9926 MB / 454.6 MB, free: 9.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2082, allocations: 0.8201 MB / 455.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.2083, allocations: 59.23 kB / 455.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.2084, allocations: 39.42 kB / 455.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2085, allocations: 0 / 455.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of Templates: time 0.7397/0.9482, allocations: 9.462 MB / 465 MB, free: 14.82 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe 2>&1)