Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Running command: translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 107.3 kB / 17.08 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 195 kB / 18.02 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05478/0.05478, allocations: 8.09 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2322, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001802/0.234, allocations: 0.7593 MB / 415.4 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2351, allocations: 1.157 MB / 416.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.2352, allocations: 4 kB / 416.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.2352, allocations: 7.938 kB / 416.6 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2354, allocations: 15.86 kB / 416.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2356, allocations: 31.89 kB / 416.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.2357, allocations: 91.81 kB / 416.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2358, allocations: 8 kB / 416.8 MB, free: 23.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.2359, allocations: 43.89 kB / 416.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2361, allocations: 39.89 kB / 416.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2361, allocations: 12 kB / 416.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.2361, allocations: 8 kB / 416.9 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.2362, allocations: 31.91 kB / 416.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.2362, allocations: 43.84 kB / 416.9 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2363, allocations: 79.58 kB / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2363, allocations: 0 / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2364, allocations: 0 / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.2364, allocations: 0 / 417 MB, free: 23.12 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008501/0.2372, allocations: 455.9 kB / 417.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2373, allocations: 11.89 kB / 417.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.2373, allocations: 8.844 kB / 417.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2374, allocations: 168.3 kB / 417.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.2376, allocations: 66.17 kB / 417.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2376, allocations: 4.375 kB / 417.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.2386, allocations: 421 kB / 418.1 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2386, allocations: 0 / 418.1 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2386, allocations: 4 kB / 418.1 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2387, allocations: 7.938 kB / 418.1 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.2392, allocations: 163.8 kB / 418.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.2396, allocations: 365.9 kB / 418.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.2404, allocations: 327.5 kB / 419 MB, free: 20.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.2408, allocations: 154.6 kB / 419.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2408, allocations: 8.141 kB / 419.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2408, allocations: 34.56 kB / 419.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2408, allocations: 0 / 419.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.2418, allocations: 345.7 kB / 419.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.2419, allocations: 122.7 kB / 419.6 MB, free: 20.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.242, allocations: 97.86 kB / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.242, allocations: 33.7 kB / 419.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2421, allocations: 80.14 kB / 419.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2421, allocations: 19.83 kB / 419.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2421, allocations: 29.78 kB / 419.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.2422, allocations: 318.8 kB / 420.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.2422, allocations: 19.98 kB / 420.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.946e-05/0.2423, allocations: 95.16 kB / 420.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.2424, allocations: 131 kB / 420.4 MB, free: 19.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2424, allocations: 4 kB / 420.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001462/0.2426, allocations: 137.2 kB / 420.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2426, allocations: 8 kB / 420.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2426, allocations: 4 kB / 420.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2426, allocations: 4 kB / 420.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.2427, allocations: 24.17 kB / 420.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.2427, allocations: 8.344 kB / 420.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.2428, allocations: 12 kB / 420.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2428, allocations: 4 kB / 420.6 MB, free: 19.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2429, allocations: 129.7 kB / 420.8 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/0.2435, allocations: 237.8 kB / 421 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2436, allocations: 53.66 kB / 421 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2436, allocations: 4 kB / 421 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2436, allocations: 4 kB / 421 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2436, allocations: 0 / 421 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2439, allocations: 193.5 kB / 421.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2439, allocations: 4.031 kB / 421.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.2441, allocations: 51.89 kB / 421.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2441, allocations: 0 / 421.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2441, allocations: 4 kB / 421.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2441, allocations: 4 kB / 421.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2441, allocations: 0 / 421.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.2448, allocations: 431.3 kB / 421.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2448, allocations: 89.03 kB / 421.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.2448, allocations: 4 kB / 421.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2451, allocations: 23.98 kB / 421.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2451, allocations: 7.984 kB / 421.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2451, allocations: 0 / 421.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.2451, allocations: 83.28 kB / 421.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2451, allocations: 0 / 421.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.2454, allocations: 20 kB / 421.9 MB, free: 17.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.976e-05/0.2455, allocations: 99.34 kB / 422 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.2459, allocations: 175.5 kB / 422.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2459, allocations: 7.938 kB / 422.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.246, allocations: 4 kB / 422.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.2466, allocations: 132.8 kB / 422.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2479, allocations: 396.7 kB / 422.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2481, allocations: 0.7041 MB / 423.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.2481, allocations: 4.438 kB / 423.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.2482, allocations: 11.44 kB / 423.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2482, allocations: 0 / 423.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003047/0.2512, allocations: 0.9909 MB / 424.4 MB, free: 15.13 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)