Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009219/0.000922, allocations: 85.27 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06119/0.06119, allocations: 14.03 MB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.428e-05, allocations: 4 kB / 389.2 MB, free: 66.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 51.11 MB / 440.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5455, allocations: 79.6 MB / 0.5078 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5458, allocations: 68.25 kB / 0.5078 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5595, allocations: 5.522 MB / 0.5132 GB, free: 9.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5596, allocations: 0 / 0.5132 GB, free: 9.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.5596, allocations: 7.469 kB / 0.5132 GB, free: 9.898 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000683/0.5603, allocations: 0.5429 MB / 0.5138 GB, free: 9.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5603, allocations: 12.03 kB / 0.5138 GB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.5604, allocations: 46.17 kB / 0.5138 GB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.5604, allocations: 23.72 kB / 0.5138 GB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.5608, allocations: 294.6 kB / 0.5141 GB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5608, allocations: 7.812 kB / 0.5141 GB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.5609, allocations: 15.58 kB / 0.5141 GB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.5612, allocations: 224.2 kB / 0.5144 GB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5612, allocations: 0 / 0.5144 GB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.5612, allocations: 0 / 0.5144 GB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5612, allocations: 4 kB / 0.5144 GB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5614, allocations: 115.2 kB / 0.5145 GB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.5624, allocations: 0.983 MB / 0.5154 GB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.5628, allocations: 181.1 kB / 0.5156 GB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.5629, allocations: 95.95 kB / 0.5157 GB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.5629, allocations: 8.031 kB / 0.5157 GB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.5632, allocations: 188.3 kB / 0.5159 GB, free: 7.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.5632, allocations: 0 / 0.5159 GB, free: 7.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000459/0.5636, allocations: 272.2 kB / 0.5161 GB, free: 7.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5637, allocations: 158.2 kB / 0.5163 GB, free: 6.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.5639, allocations: 220 kB / 0.5165 GB, free: 6.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.5639, allocations: 33.52 kB / 0.5165 GB, free: 6.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.564, allocations: 142.6 kB / 0.5167 GB, free: 6.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.564, allocations: 48.91 kB / 0.5167 GB, free: 6.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.564, allocations: 4 kB / 0.5167 GB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.5641, allocations: 332.6 kB / 0.517 GB, free: 6.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.5642, allocations: 73.17 kB / 0.5171 GB, free: 6.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5644, allocations: 131.7 kB / 0.5172 GB, free: 5.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5645, allocations: 109.5 kB / 0.5173 GB, free: 5.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5645, allocations: 0 / 0.5173 GB, free: 5.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003745/0.5649, allocations: 312.7 kB / 0.5176 GB, free: 5.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.565, allocations: 0.5587 MB / 0.5182 GB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.565, allocations: 3.938 kB / 0.5182 GB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.565, allocations: 7.984 kB / 0.5182 GB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.5653, allocations: 59.91 kB / 0.5182 GB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5653, allocations: 7.984 kB / 0.5183 GB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5655, allocations: 51.44 kB / 0.5183 GB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.5656, allocations: 12 kB / 0.5183 GB, free: 4.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.5656, allocations: 8 kB / 0.5183 GB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003296/0.5659, allocations: 271.9 kB / 0.5186 GB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.5659, allocations: 0 / 0.5186 GB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.5659, allocations: 4 kB / 0.5186 GB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5661, allocations: 27.92 kB / 0.5186 GB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.5661, allocations: 4 kB / 0.5186 GB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.5662, allocations: 26.38 kB / 0.5186 GB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.5662, allocations: 19.06 kB / 0.5187 GB, free: 4.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.24e-05/0.5663, allocations: 147.4 kB / 0.5188 GB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.5663, allocations: 27.72 kB / 0.5188 GB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.5664, allocations: 24.58 kB / 0.5189 GB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5664, allocations: 4 kB / 0.5189 GB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5664, allocations: 0 / 0.5189 GB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5664, allocations: 0 / 0.5189 GB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5666, allocations: 300.4 kB / 0.5191 GB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5667, allocations: 0 / 0.5191 GB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.5669, allocations: 51.95 kB / 0.5192 GB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5669, allocations: 4 kB / 0.5192 GB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.5669, allocations: 7.688 kB / 0.5192 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5669, allocations: 0 / 0.5192 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5669, allocations: 0 / 0.5192 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.5675, allocations: 448.6 kB / 0.5196 GB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.5675, allocations: 100.8 kB / 0.5197 GB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.5676, allocations: 11.62 kB / 0.5197 GB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5678, allocations: 48.02 kB / 0.5198 GB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.5679, allocations: 23.7 kB / 0.5198 GB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.5679, allocations: 15.45 kB / 0.5198 GB, free: 3.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.568, allocations: 174.7 kB / 0.52 GB, free: 3.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.5681, allocations: 0 / 0.52 GB, free: 3.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.5684, allocations: 99.16 kB / 0.5201 GB, free: 3.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0006933/0.5691, allocations: 1.035 MB / 0.5211 GB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.5695, allocations: 442.1 kB / 0.5215 GB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5696, allocations: 0 / 0.5215 GB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.5697, allocations: 178.1 kB / 0.5217 GB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.57, allocations: 46.91 kB / 0.5217 GB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.5708, allocations: 405.6 kB / 0.5221 GB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.5709, allocations: 0.744 MB / 0.5228 GB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.5711, allocations: 50.28 kB / 0.5229 GB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.5712, allocations: 57.42 kB / 0.5229 GB, free: 0.4961 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5712, allocations: 0 / 0.5229 GB, free: 0.4961 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.5907, allocations: 6.018 MB / 0.5288 GB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.591, allocations: 157.6 kB / 0.529 GB, free: 10.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.461, allocations: 3.938 kB / 0.529 GB, free: 10.38 MB / 346.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)