Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEV.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05679/0.05679, allocations: 8.035 MB / 23.26 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 105.6 kB / 25.83 MB, free: 3.5 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.001183/0.001183, allocations: 194.7 kB / 28.51 MB, free: 0.8281 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.613/1.613, allocations: 222.9 MB / 253.9 MB, free: 4.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01158/0.01158, allocations: 3.124 MB / 309 MB, free: 2.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 91.39 kB / 375.9 MB, free: 53.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1514, allocations: 51.97 MB / 427.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.006152/0.1576, allocations: 3.209 MB / 431.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.1621, allocations: 2.079 MB / 433.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004487/0.1626, allocations: 11.94 kB / 433.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.1631, allocations: 79.47 kB / 433.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005797/0.1638, allocations: 127.3 kB / 433.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1653, allocations: 358.6 kB / 433.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.1662, allocations: 0.6231 MB / 434.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.1666, allocations: 160.8 kB / 434.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.1671, allocations: 271.1 kB / 434.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.1676, allocations: 250.9 kB / 435 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.1677, allocations: 52 kB / 435 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1681, allocations: 155.9 kB / 435.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.1683, allocations: 127.5 kB / 435.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.1686, allocations: 242.8 kB / 435.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.1695, allocations: 0.627 MB / 436.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1695, allocations: 0 / 436.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1695, allocations: 3.938 kB / 436.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1695, allocations: 0 / 436.2 MB, free: 12.37 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.001842/0.1714, allocations: 0.8079 MB / 437 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1715, allocations: 12.03 kB / 437 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.1717, allocations: 52.38 kB / 437.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.1724, allocations: 380.1 kB / 437.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.1725, allocations: 59.25 kB / 437.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/0.1726, allocations: 39.84 kB / 437.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1738, allocations: 465.5 kB / 438 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.1738, allocations: 0 / 438 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.1739, allocations: 16 kB / 438 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1739, allocations: 8 kB / 438 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1752, allocations: 331.8 kB / 438.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.1783, allocations: 1.346 MB / 439.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.1799, allocations: 387.3 kB / 440.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.1804, allocations: 144.8 kB / 440.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.1805, allocations: 4.844 kB / 440.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008181/0.1813, allocations: 247.6 kB / 440.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.1814, allocations: 0 / 440.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.006365/0.1877, allocations: 1.765 MB / 442.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1878, allocations: 166.1 kB / 442.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1883, allocations: 336.5 kB / 442.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.1884, allocations: 37.7 kB / 442.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1886, allocations: 216.5 kB / 442.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.1888, allocations: 134.2 kB / 443.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.189, allocations: 90.02 kB / 443.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.1891, allocations: 346.8 kB / 443.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/0.1897, allocations: 166.5 kB / 443.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.1904, allocations: 263.4 kB / 443.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1915, allocations: 355.6 kB / 444.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.1915, allocations: 8 kB / 444.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001827/0.1934, allocations: 0.5523 MB / 444.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1934, allocations: 10.5 kB / 444.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1934, allocations: 0 / 444.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.1941, allocations: 160.9 kB / 445 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.1946, allocations: 87.81 kB / 445.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008518/0.1955, allocations: 0.7079 MB / 445.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.1962, allocations: 55.98 kB / 445.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.1963, allocations: 20 kB / 445.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005658/0.1968, allocations: 241 kB / 446.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004673/0.1973, allocations: 235.4 kB / 446.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006869/0.198, allocations: 291.8 kB / 446.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.1981, allocations: 0 / 446.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001593/0.1997, allocations: 489.8 kB / 447.1 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1997, allocations: 4 kB / 447.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1997, allocations: 4 kB / 447.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.2003, allocations: 172.7 kB / 447.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.2007, allocations: 59.91 kB / 447.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008642/0.2016, allocations: 0.7085 MB / 448 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.2023, allocations: 47.95 kB / 448.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.2024, allocations: 16 kB / 448.1 MB, free: 15.83 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.0003003/0.2027, allocations: 212.9 kB / 448.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2028, allocations: 35.53 kB / 448.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.203, allocations: 64.05 kB / 448.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2031, allocations: 4 kB / 448.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2031, allocations: 0 / 448.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2031, allocations: 0 / 448.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.2066, allocations: 1.165 MB / 449.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2066, allocations: 8.031 kB / 449.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.2072, allocations: 71.83 kB / 449.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006116/0.2078, allocations: 144.8 kB / 449.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.2079, allocations: 15.98 kB / 449.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/0.2089, allocations: 0.6888 MB / 450.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2089, allocations: 0 / 450.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.2119, allocations: 0.7949 MB / 451.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.2123, allocations: 160.7 kB / 451.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2124, allocations: 15.98 kB / 451.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.2131, allocations: 51.94 kB / 451.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.2133, allocations: 55.91 kB / 451.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.2134, allocations: 15.98 kB / 451.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000419/0.2138, allocations: 231.1 kB / 451.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2138, allocations: 4 kB / 451.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001122/0.215, allocations: 176 kB / 452 MB, free: 11.79 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.001715/0.2167, allocations: 474.1 kB / 452.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.2194, allocations: 0.6445 MB / 453.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2194, allocations: 4.125 kB / 453.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.2205, allocations: 235.5 kB / 453.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.2215, allocations: 98.81 kB / 453.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.2246, allocations: 1.124 MB / 454.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.2252, allocations: 0.8122 MB / 455.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.2257, allocations: 63.23 kB / 455.4 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.2259, allocations: 43.42 kB / 455.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2259, allocations: 0 / 455.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of Templates: time 0.03337/0.2593, allocations: 9.354 MB / 464.8 MB, free: 15.11 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)