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.001012/0.001011, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009713/0.0009712, allocations: 79.09 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05761/0.05761, allocations: 14.02 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.71e-05, allocations: 3.938 kB / 381.8 MB, free: 72.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 51.12 MB / 433 MB, free: 21.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4653, allocations: 78.87 MB / 0.4998 GB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4656, allocations: 68.38 kB / 0.4999 GB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.4826, allocations: 6.602 MB / 0.5064 GB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4827, allocations: 0 / 0.5064 GB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.4827, allocations: 7.625 kB / 0.5064 GB, free: 10.64 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008255/0.4835, allocations: 0.5889 MB / 0.5069 GB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4836, allocations: 7.656 kB / 0.5069 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.4837, allocations: 38.88 kB / 0.507 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.4841, allocations: 340.8 kB / 0.5073 GB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4841, allocations: 3.906 kB / 0.5073 GB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4842, allocations: 15.41 kB / 0.5073 GB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002822/0.4845, allocations: 141.1 kB / 0.5075 GB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.4849, allocations: 240.1 kB / 0.5077 GB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4849, allocations: 0 / 0.5077 GB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.4849, allocations: 0 / 0.5077 GB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.4849, allocations: 3.781 kB / 0.5077 GB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4862, allocations: 0.9129 MB / 0.5086 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.4869, allocations: 246.4 kB / 0.5088 GB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.487, allocations: 114.8 kB / 0.5089 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4871, allocations: 0 / 0.5089 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.4874, allocations: 202.6 kB / 0.5091 GB, free: 8.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.4874, allocations: 0 / 0.5091 GB, free: 8.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006208/0.488, allocations: 281.9 kB / 0.5094 GB, free: 8.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.4881, allocations: 209.5 kB / 0.5096 GB, free: 8.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.4884, allocations: 237.7 kB / 0.5098 GB, free: 8.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4884, allocations: 33.48 kB / 0.5098 GB, free: 8.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4885, allocations: 177.4 kB / 0.51 GB, free: 8.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.4886, allocations: 68.81 kB / 0.5101 GB, free: 8.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.4886, allocations: 0 / 0.5101 GB, free: 8.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4888, allocations: 337.1 kB / 0.5104 GB, free: 7.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4889, allocations: 73.64 kB / 0.5105 GB, free: 7.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.489, allocations: 165.2 kB / 0.5106 GB, free: 7.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4892, allocations: 83.55 kB / 0.5107 GB, free: 7.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4892, allocations: 0 / 0.5107 GB, free: 7.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003767/0.4896, allocations: 290.7 kB / 0.511 GB, free: 7.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4897, allocations: 399.7 kB / 0.5114 GB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4897, allocations: 0 / 0.5114 GB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4898, allocations: 7.906 kB / 0.5114 GB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.49, allocations: 54.31 kB / 0.5114 GB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.49, allocations: 11.89 kB / 0.5114 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.4903, allocations: 46.75 kB / 0.5115 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.4903, allocations: 7.688 kB / 0.5115 GB, free: 7.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.4903, allocations: 7.797 kB / 0.5115 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003231/0.4907, allocations: 243 kB / 0.5117 GB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.4907, allocations: 0 / 0.5117 GB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.4907, allocations: 0 / 0.5117 GB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4908, allocations: 38.55 kB / 0.5118 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.4908, allocations: 3.844 kB / 0.5118 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.491, allocations: 31.3 kB / 0.5118 GB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.491, allocations: 7.688 kB / 0.5118 GB, free: 7.156 MB / 330.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 () * 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.0001593/0.4912, allocations: 149 kB / 0.5119 GB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4912, allocations: 31.08 kB / 0.512 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.4913, allocations: 32.23 kB / 0.512 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4913, allocations: 0 / 0.512 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4913, allocations: 3.906 kB / 0.512 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4914, allocations: 4 kB / 0.512 GB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.4916, allocations: 303.9 kB / 0.5123 GB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4916, allocations: 3.875 kB / 0.5123 GB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4918, allocations: 54.11 kB / 0.5124 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4919, allocations: 0 / 0.5124 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4919, allocations: 3.844 kB / 0.5124 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4919, allocations: 7.797 kB / 0.5124 GB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4919, allocations: 11.98 kB / 0.5124 GB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.4925, allocations: 471.7 kB / 0.5128 GB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.4925, allocations: 106.7 kB / 0.5129 GB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.4926, allocations: 3.812 kB / 0.5129 GB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4928, allocations: 35.16 kB / 0.513 GB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.4929, allocations: 18.78 kB / 0.513 GB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.4929, allocations: 11 kB / 0.513 GB, free: 6.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4931, allocations: 191.1 kB / 0.5132 GB, free: 6.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4931, allocations: 3.875 kB / 0.5132 GB, free: 6.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.4935, allocations: 112.4 kB / 0.5133 GB, free: 6.309 MB / 330.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) * 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.0001915/0.4937, allocations: 137.2 kB / 0.5134 GB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.4942, allocations: 445.1 kB / 0.5139 GB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4942, allocations: 3.875 kB / 0.5139 GB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4943, allocations: 172.6 kB / 0.514 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4947, allocations: 61.62 kB / 0.5141 GB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.4954, allocations: 420.5 kB / 0.5145 GB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4957, allocations: 0.7774 MB / 0.5152 GB, free: 5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.4959, allocations: 50.42 kB / 0.5153 GB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.4959, allocations: 18.97 kB / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4959, allocations: 0 / 0.5153 GB, free: 4.965 MB / 330.7 MB Notification: Performance of Templates: time 0.006698/0.5026, allocations: 4.055 MB / 0.5193 GB, free: 2.965 MB / 330.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)