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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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 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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 178.3 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 230 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 98.14 kB / 280.9 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04412/0.04412, allocations: 8.108 MB / 339.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.831e-05, allocations: 2.406 kB / 398.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 52.52 MB / 451.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.2014, allocations: 76.46 MB / 0.5152 GB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.2017, allocations: 51.98 kB / 0.5152 GB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004426/0.2061, allocations: 1.354 MB / 0.5165 GB, free: 7.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2061, allocations: 0 / 0.5165 GB, free: 7.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2062, allocations: 0 / 0.5165 GB, free: 7.344 MB / 362.7 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.0007151/0.2069, allocations: 442.1 kB / 0.517 GB, free: 6.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.2069, allocations: 11.98 kB / 0.517 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.207, allocations: 15.86 kB / 0.517 GB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.2072, allocations: 167 kB / 0.5172 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.2074, allocations: 61.67 kB / 0.5172 GB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2075, allocations: 4 kB / 0.5172 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001846/0.2077, allocations: 75.97 kB / 0.5173 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.2081, allocations: 265.6 kB / 0.5175 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2081, allocations: 3.984 kB / 0.5175 GB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2081, allocations: 7.953 kB / 0.5176 GB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2081, allocations: 0 / 0.5176 GB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.2086, allocations: 346.3 kB / 0.5179 GB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.2089, allocations: 183.7 kB / 0.5181 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.209, allocations: 114.7 kB / 0.5182 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2091, allocations: 3.938 kB / 0.5182 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2091, allocations: 34.56 kB / 0.5182 GB, free: 5.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2091, allocations: 0 / 0.5182 GB, free: 5.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003046/0.2094, allocations: 153.7 kB / 0.5183 GB, free: 5.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.2095, allocations: 110.9 kB / 0.5185 GB, free: 5.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.2096, allocations: 96.94 kB / 0.5185 GB, free: 5.051 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2096, allocations: 25.7 kB / 0.5186 GB, free: 5.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.2096, allocations: 80.14 kB / 0.5186 GB, free: 4.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2097, allocations: 15.89 kB / 0.5187 GB, free: 4.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2097, allocations: 0 / 0.5187 GB, free: 4.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2098, allocations: 318.8 kB / 0.519 GB, free: 4.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.2098, allocations: 15.98 kB / 0.519 GB, free: 4.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2099, allocations: 95.16 kB / 0.5191 GB, free: 4.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.21, allocations: 33.33 kB / 0.5191 GB, free: 4.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.21, allocations: 0 / 0.5191 GB, free: 4.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000161/0.2102, allocations: 117.4 kB / 0.5192 GB, free: 4.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2102, allocations: 8 kB / 0.5192 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2102, allocations: 7.984 kB / 0.5192 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2102, allocations: 4 kB / 0.5192 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2104, allocations: 27.92 kB / 0.5193 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2104, allocations: 7.953 kB / 0.5193 GB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.2104, allocations: 8.312 kB / 0.5193 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2104, allocations: 4 kB / 0.5193 GB, free: 4.234 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.2105, allocations: 120.9 kB / 0.5194 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002379/0.2108, allocations: 149.5 kB / 0.5195 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.2108, allocations: 7.906 kB / 0.5195 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.211, allocations: 50.05 kB / 0.5196 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.211, allocations: 4 kB / 0.5196 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.211, allocations: 0 / 0.5196 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.211, allocations: 4 kB / 0.5196 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.2112, allocations: 162.1 kB / 0.5198 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2112, allocations: 4 kB / 0.5198 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2114, allocations: 47.95 kB / 0.5198 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2115, allocations: 0 / 0.5198 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2115, allocations: 8 kB / 0.5198 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2115, allocations: 4 kB / 0.5198 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2115, allocations: 3.953 kB / 0.5198 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.2118, allocations: 358.9 kB / 0.5202 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2118, allocations: 92.95 kB / 0.5203 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2119, allocations: 3.953 kB / 0.5203 GB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2121, allocations: 23.97 kB / 0.5203 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.2121, allocations: 4 kB / 0.5203 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2121, allocations: 11.94 kB / 0.5203 GB, free: 3.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.2122, allocations: 83.28 kB / 0.5204 GB, free: 3.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2122, allocations: 3.938 kB / 0.5204 GB, free: 3.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.2125, allocations: 12 kB / 0.5204 GB, free: 2.996 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005401/0.213, allocations: 1.016 MB / 0.5214 GB, free: 1.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2132, allocations: 99.8 kB / 0.5215 GB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2132, allocations: 0 / 0.5215 GB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2132, allocations: 12.8 kB / 0.5215 GB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2135, allocations: 79.98 kB / 0.5216 GB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.2151, allocations: 331.7 kB / 0.5219 GB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2154, allocations: 0.7043 MB / 0.5226 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.2155, allocations: 12.42 kB / 0.5226 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.2155, allocations: 19.42 kB / 0.5226 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2155, allocations: 0 / 0.5226 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/0.4744, allocations: 1.543 MB / 0.5241 GB, free: 81.06 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.4745, allocations: 117.2 kB / 0.5242 GB, free: 80.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.898, allocations: 7.406 kB / 0.5242 GB, free: 80.87 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)