Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04793/0.04793, allocations: 8.04 MB / 23.51 MB, free: 0.6289 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.0009504/0.0009504, allocations: 108 kB / 26.07 MB, free: 3.52 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.001064/0.001064, allocations: 194.3 kB / 28.76 MB, free: 0.8359 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.166/1.166, allocations: 222.9 MB / 254.2 MB, free: 4.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01142/0.01142, allocations: 3.117 MB / 309.2 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 88.28 kB / 373.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1684, allocations: 51.97 MB / 425.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003297/0.1717, allocations: 3.295 MB / 428.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1737, allocations: 2.141 MB / 431 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1739, allocations: 11.94 kB / 431 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1742, allocations: 99.16 kB / 431.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1745, allocations: 158.9 kB / 431.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.175, allocations: 412.2 kB / 431.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.1754, allocations: 0.6543 MB / 432.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1756, allocations: 180.5 kB / 432.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1758, allocations: 279.1 kB / 432.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.1761, allocations: 266.8 kB / 433 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.1762, allocations: 56 kB / 433.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.1764, allocations: 159.9 kB / 433.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1765, allocations: 127.6 kB / 433.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1766, allocations: 262.7 kB / 433.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1771, allocations: 0.6815 MB / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1771, allocations: 0 / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1771, allocations: 3.938 kB / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1771, allocations: 0 / 434.3 MB, free: 12.69 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.001075/0.1782, allocations: 0.8389 MB / 435.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.508e-05/0.1782, allocations: 8.031 kB / 435.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1783, allocations: 52.38 kB / 435.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1787, allocations: 380.1 kB / 435.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.1787, allocations: 55.27 kB / 435.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.1788, allocations: 43.94 kB / 435.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.1795, allocations: 0.4897 MB / 436.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1795, allocations: 3.906 kB / 436.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.1795, allocations: 16 kB / 436.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1796, allocations: 12 kB / 436.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.1802, allocations: 359.7 kB / 436.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.1819, allocations: 1.429 MB / 438 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.1827, allocations: 404.1 kB / 438.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.183, allocations: 153.3 kB / 438.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.183, allocations: 4.281 kB / 438.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.1835, allocations: 246.5 kB / 438.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.1835, allocations: 0 / 438.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003325/0.1868, allocations: 1.814 MB / 440.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1869, allocations: 158.2 kB / 440.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1871, allocations: 328.5 kB / 441.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1872, allocations: 37.7 kB / 441.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.1872, allocations: 224.4 kB / 441.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.1873, allocations: 138.1 kB / 441.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1874, allocations: 94.14 kB / 441.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.1875, allocations: 346.8 kB / 441.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.1878, allocations: 167 kB / 442 MB, free: 4.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.1882, allocations: 280.4 kB / 442.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.1887, allocations: 375.6 kB / 442.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1887, allocations: 0 / 442.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001031/0.1898, allocations: 0.5753 MB / 443.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1898, allocations: 8 kB / 443.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1898, allocations: 4 kB / 443.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.1901, allocations: 172.9 kB / 443.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1904, allocations: 79.89 kB / 443.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004487/0.1909, allocations: 0.7085 MB / 444.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.1912, allocations: 59.91 kB / 444.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1913, allocations: 20 kB / 444.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002924/0.1916, allocations: 249.2 kB / 444.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002443/0.1918, allocations: 248.6 kB / 444.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003645/0.1922, allocations: 291.8 kB / 445.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/0.1922, allocations: 0 / 445.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008354/0.193, allocations: 0.5127 MB / 445.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.193, allocations: 7.938 kB / 445.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1931, allocations: 4 kB / 445.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.1934, allocations: 168.4 kB / 445.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1936, allocations: 67.91 kB / 445.8 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004539/0.194, allocations: 0.7085 MB / 446.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.1944, allocations: 43.95 kB / 446.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1944, allocations: 16 kB / 446.6 MB, free: 15.78 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.0001516/0.1946, allocations: 220.5 kB / 446.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.1946, allocations: 39.53 kB / 446.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.1947, allocations: 52.47 kB / 446.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1948, allocations: 8 kB / 446.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1948, allocations: 0 / 446.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1948, allocations: 3.984 kB / 446.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.1967, allocations: 1.203 MB / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1967, allocations: 0 / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.197, allocations: 79.83 kB / 448.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.1974, allocations: 140.8 kB / 448.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1974, allocations: 16.05 kB / 448.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005526/0.198, allocations: 0.681 MB / 449 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.198, allocations: 3.984 kB / 449 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.1995, allocations: 0.8143 MB / 449.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.1997, allocations: 152.7 kB / 450 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.1998, allocations: 12 kB / 450 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2001, allocations: 59.92 kB / 450.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2002, allocations: 59.78 kB / 450.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.2003, allocations: 19.98 kB / 450.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.2005, allocations: 239.1 kB / 450.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2005, allocations: 0 / 450.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.2011, allocations: 184 kB / 450.6 MB, free: 11.66 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.0009659/0.2021, allocations: 490.7 kB / 451 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2035, allocations: 0.6727 MB / 451.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2036, allocations: 0 / 451.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.2041, allocations: 239.7 kB / 451.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.2046, allocations: 95.55 kB / 452 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2065, allocations: 1.012 MB / 453.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2068, allocations: 0.8201 MB / 453.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.207, allocations: 59.23 kB / 453.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.2071, allocations: 39.42 kB / 454 MB, free: 8.363 MB / 318.1 MB Notification: Performance of SimCode: time 1.8e-07/0.2071, allocations: 0 / 454 MB, free: 8.363 MB / 318.1 MB Notification: Performance of Templates: time 0.01344/0.2206, allocations: 9.466 MB / 463.4 MB, free: 14.95 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe 2>&1)