Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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: translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006841/0.006841, allocations: 171 kB / 15.11 MB, free: 5.973 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.482/1.482, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008723/0.0008723, allocations: 94.84 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05299/0.05299, allocations: 14.18 MB / 332 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.000314, allocations: 8.594 kB / 395.6 MB, free: 50.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09019, allocations: 51.12 MB / 446.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.1945, allocations: 79.64 MB / 0.514 GB, free: 5.168 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.1948, allocations: 67.97 kB / 0.5141 GB, free: 5.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.209/0.4038, allocations: 6.642 MB / 0.5206 GB, free: 81.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4038, allocations: 3.844 kB / 0.5206 GB, free: 81.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4038, allocations: 8.469 kB / 0.5206 GB, free: 81.95 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008305/0.4047, allocations: 0.6277 MB / 0.5212 GB, free: 81.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4047, allocations: 16.52 kB / 0.5212 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.4048, allocations: 41.66 kB / 0.5213 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.4053, allocations: 331.9 kB / 0.5216 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4053, allocations: 10.31 kB / 0.5216 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.4054, allocations: 22.2 kB / 0.5216 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.406, allocations: 313.6 kB / 0.5219 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.406, allocations: 1.875 kB / 0.5219 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.4061, allocations: 13.19 kB / 0.5219 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.4061, allocations: 6.531 kB / 0.5219 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.4067, allocations: 250.6 kB / 0.5222 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4082, allocations: 0.9574 MB / 0.5231 GB, free: 80.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4092, allocations: 384.4 kB / 0.5235 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4093, allocations: 6.953 kB / 0.5235 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.4097, allocations: 251.2 kB / 0.5237 GB, free: 80.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.634e-06/0.4097, allocations: 2.766 kB / 0.5237 GB, free: 80.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001259/0.411, allocations: 0.5965 MB / 0.5243 GB, free: 80.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.4111, allocations: 216 kB / 0.5245 GB, free: 79.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.4114, allocations: 256.3 kB / 0.5248 GB, free: 79.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4114, allocations: 30.98 kB / 0.5248 GB, free: 79.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4115, allocations: 178 kB / 0.525 GB, free: 79.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.4116, allocations: 63.92 kB / 0.525 GB, free: 79.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.4116, allocations: 7.062 kB / 0.525 GB, free: 79.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4117, allocations: 339.6 kB / 0.5253 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.412, allocations: 132.6 kB / 0.5255 GB, free: 79.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.4124, allocations: 201.4 kB / 0.5257 GB, free: 79.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.4127, allocations: 167.6 kB / 0.5258 GB, free: 79.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4128, allocations: 0 / 0.5258 GB, free: 79.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009918/0.4138, allocations: 434.1 kB / 0.5262 GB, free: 79.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.4139, allocations: 395.6 kB / 0.5266 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4139, allocations: 1.984 kB / 0.5266 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4139, allocations: 3.281 kB / 0.5266 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.4142, allocations: 61.95 kB / 0.5267 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4142, allocations: 4.969 kB / 0.5267 GB, free: 78.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4145, allocations: 48.55 kB / 0.5267 GB, free: 78.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.4146, allocations: 13.08 kB / 0.5267 GB, free: 78.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.4146, allocations: 3.906 kB / 0.5267 GB, free: 78.73 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00061/0.4152, allocations: 308.5 kB / 0.527 GB, free: 78.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4152, allocations: 4.844 kB / 0.527 GB, free: 78.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.4152, allocations: 6.688 kB / 0.5271 GB, free: 78.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.4154, allocations: 35.28 kB / 0.5271 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4154, allocations: 1.969 kB / 0.5271 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4156, allocations: 26.64 kB / 0.5271 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.4156, allocations: 9.516 kB / 0.5271 GB, free: 78.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 0.0002277/0.4159, allocations: 275.2 kB / 0.5274 GB, free: 78.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.4159, allocations: 29.52 kB / 0.5274 GB, free: 78.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/0.416, allocations: 30.77 kB / 0.5274 GB, free: 78.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.416, allocations: 3.266 kB / 0.5274 GB, free: 78.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4161, allocations: 0 / 0.5274 GB, free: 78.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4161, allocations: 1.875 kB / 0.5274 GB, free: 78.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4165, allocations: 354.5 kB / 0.5278 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4165, allocations: 0 / 0.5278 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4168, allocations: 48.17 kB / 0.5278 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4168, allocations: 2.688 kB / 0.5278 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.4168, allocations: 9.141 kB / 0.5278 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4168, allocations: 7.125 kB / 0.5278 GB, free: 78.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4168, allocations: 0 / 0.5278 GB, free: 78.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4181, allocations: 0.6507 MB / 0.5285 GB, free: 78.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.4182, allocations: 109.4 kB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.4183, allocations: 5.438 kB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.4185, allocations: 35.48 kB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.4186, allocations: 22.45 kB / 0.5286 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.4186, allocations: 13.88 kB / 0.5287 GB, free: 77.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.4188, allocations: 208.9 kB / 0.5289 GB, free: 77.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4188, allocations: 0 / 0.5289 GB, free: 77.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.4193, allocations: 123 kB / 0.529 GB, free: 77.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0002187/0.4196, allocations: 138.8 kB / 0.5291 GB, free: 77.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4207, allocations: 0.5543 MB / 0.5297 GB, free: 77.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4207, allocations: 1.25 kB / 0.5297 GB, free: 77.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.4211, allocations: 227.8 kB / 0.5299 GB, free: 77.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4215, allocations: 61.23 kB / 0.5299 GB, free: 77.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.423, allocations: 0.6655 MB / 0.5306 GB, free: 77.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4233, allocations: 0.7774 MB / 0.5313 GB, free: 76.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.4236, allocations: 39.53 kB / 0.5314 GB, free: 76.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.4236, allocations: 21.78 kB / 0.5314 GB, free: 76.43 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4236, allocations: 0 / 0.5314 GB, free: 76.43 MB / 362.7 MB Notification: Performance of Templates: time 0.009019/0.4327, allocations: 3.83 MB / 0.5351 GB, free: 75.93 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)