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/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/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/package.mo): time 0.04995/0.04995, allocations: 8.033 MB / 24.2 MB, free: 4 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.001257/0.001257, allocations: 108.5 kB / 26.77 MB, free: 3.059 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.00153/0.00153, allocations: 203.8 kB / 29.47 MB, free: 384 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.446/1.446, allocations: 222.9 MB / 254.9 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01386/0.01386, allocations: 3.128 MB / 310 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 99.83 kB / 374.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1762, allocations: 51.98 MB / 426.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003775/0.18, allocations: 3.264 MB / 429.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1826, allocations: 2.258 MB / 431.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1828, allocations: 11.94 kB / 431.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.1832, allocations: 137.5 kB / 432 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1836, allocations: 158.8 kB / 432.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.1842, allocations: 409.8 kB / 432.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.1847, allocations: 0.658 MB / 433.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1849, allocations: 161.5 kB / 433.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.1851, allocations: 263.1 kB / 433.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1854, allocations: 258.8 kB / 433.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.1855, allocations: 52 kB / 433.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.1857, allocations: 163.9 kB / 434.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.1858, allocations: 127.6 kB / 434.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.186, allocations: 254.7 kB / 434.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.1865, allocations: 0.6542 MB / 435.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1865, allocations: 0 / 435.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1865, allocations: 0 / 435.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1865, allocations: 0 / 435.1 MB, free: 12.62 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.001222/0.1877, allocations: 0.8389 MB / 436 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1878, allocations: 8.031 kB / 436 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.1879, allocations: 56.28 kB / 436 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.1884, allocations: 388.6 kB / 436.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.1884, allocations: 55.27 kB / 436.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.1885, allocations: 43.94 kB / 436.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1892, allocations: 465.5 kB / 437 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1892, allocations: 3.984 kB / 437 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1893, allocations: 12 kB / 437 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1893, allocations: 15.98 kB / 437 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.1899, allocations: 331.7 kB / 437.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1917, allocations: 1.35 MB / 438.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.1926, allocations: 391.8 kB / 439 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.1929, allocations: 148.8 kB / 439.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1929, allocations: 4.531 kB / 439.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.1934, allocations: 247.1 kB / 439.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.1934, allocations: 0 / 439.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00374/0.1971, allocations: 1.776 MB / 441.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1972, allocations: 166.2 kB / 441.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.1975, allocations: 365.6 kB / 441.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1976, allocations: 37.7 kB / 441.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.1977, allocations: 220.5 kB / 442 MB, free: 5.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.1978, allocations: 138.1 kB / 442.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1979, allocations: 94.02 kB / 442.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.198, allocations: 346.8 kB / 442.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1983, allocations: 170.5 kB / 442.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.1987, allocations: 267.4 kB / 443 MB, free: 4.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.1993, allocations: 363.7 kB / 443.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1993, allocations: 0 / 443.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001087/0.2004, allocations: 0.5523 MB / 443.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2004, allocations: 11.94 kB / 443.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2004, allocations: 0 / 443.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/0.2008, allocations: 164.9 kB / 444.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2011, allocations: 79.89 kB / 444.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004725/0.2016, allocations: 0.716 MB / 444.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.202, allocations: 51.94 kB / 444.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.202, allocations: 23.98 kB / 444.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002966/0.2023, allocations: 237 kB / 445.2 MB, free: 2.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000245/0.2026, allocations: 235.5 kB / 445.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003678/0.2029, allocations: 287.8 kB / 445.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.203, allocations: 0 / 445.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008341/0.2038, allocations: 0.4897 MB / 446.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.2038, allocations: 8 kB / 446.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2038, allocations: 0 / 446.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2041, allocations: 161 kB / 446.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2043, allocations: 67.91 kB / 446.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004424/0.2048, allocations: 0.7123 MB / 447.1 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2052, allocations: 48.02 kB / 447.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.2052, allocations: 19.92 kB / 447.2 MB, free: 15.95 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.0001963/0.2054, allocations: 208.2 kB / 447.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.2055, allocations: 43.44 kB / 447.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.2057, allocations: 56.19 kB / 447.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2057, allocations: 4 kB / 447.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2057, allocations: 0 / 447.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2057, allocations: 3.984 kB / 447.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.208, allocations: 1.177 MB / 448.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.208, allocations: 4 kB / 448.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.2083, allocations: 60.17 kB / 448.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/0.2087, allocations: 160.8 kB / 448.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.2088, allocations: 11.98 kB / 448.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006676/0.2094, allocations: 0.6771 MB / 449.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2094, allocations: 0 / 449.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.2112, allocations: 0.8027 MB / 450.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2114, allocations: 156.5 kB / 450.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.2115, allocations: 15.98 kB / 450.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.2119, allocations: 52 kB / 450.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2121, allocations: 59.91 kB / 450.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.2121, allocations: 12 kB / 450.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.2124, allocations: 259.2 kB / 450.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2125, allocations: 0 / 450.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.2132, allocations: 184 kB / 451.1 MB, free: 11.87 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.001657/0.2148, allocations: 490.7 kB / 451.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.2166, allocations: 0.644 MB / 452.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2166, allocations: 0 / 452.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.2172, allocations: 236.4 kB / 452.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.2179, allocations: 101.1 kB / 452.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.2203, allocations: 1.049 MB / 453.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.2208, allocations: 0.8238 MB / 454.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2209, allocations: 39.42 kB / 454.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2209, allocations: 3.938 kB / 454.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of Templates: time 0.01268/0.2336, allocations: 8.02 MB / 462.5 MB, free: 0.6094 MB / 318.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)