Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005952/0.005952, allocations: 172 kB / 15.11 MB, free: 5.98 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.511/1.511, 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.0009723/0.0009722, allocations: 98.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05277/0.05277, allocations: 14.17 MB / 332 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 10.53 kB / 395.6 MB, free: 50.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 51.12 MB / 446.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.2171, allocations: 79.98 MB / 0.5144 GB, free: 4.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.2174, allocations: 75.95 kB / 0.5145 GB, free: 4.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2243/0.4417, allocations: 6.217 MB / 0.5205 GB, free: 82.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4418, allocations: 0 / 0.5205 GB, free: 82.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.4418, allocations: 10.5 kB / 0.5205 GB, free: 82.12 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00091/0.4427, allocations: 0.6153 MB / 0.5211 GB, free: 81.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4428, allocations: 9.469 kB / 0.5211 GB, free: 81.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.4429, allocations: 31.47 kB / 0.5212 GB, free: 81.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.4433, allocations: 304.5 kB / 0.5215 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.4434, allocations: 14.52 kB / 0.5215 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.4434, allocations: 18.94 kB / 0.5215 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.4442, allocations: 326.1 kB / 0.5218 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4442, allocations: 2.047 kB / 0.5218 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.4443, allocations: 6.781 kB / 0.5218 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4443, allocations: 7 kB / 0.5218 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.4451, allocations: 271.5 kB / 0.5221 GB, free: 81.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.4465, allocations: 1.068 MB / 0.5231 GB, free: 80.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.4473, allocations: 348.2 kB / 0.5235 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4474, allocations: 10.3 kB / 0.5235 GB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.4479, allocations: 262.3 kB / 0.5237 GB, free: 80.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.4479, allocations: 1 kB / 0.5237 GB, free: 80.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.4492, allocations: 0.6347 MB / 0.5243 GB, free: 80.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.4493, allocations: 167.7 kB / 0.5245 GB, free: 80.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.4495, allocations: 231.3 kB / 0.5247 GB, free: 79.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4496, allocations: 28.61 kB / 0.5247 GB, free: 79.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.4497, allocations: 162.8 kB / 0.5249 GB, free: 79.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.4497, allocations: 72.09 kB / 0.525 GB, free: 79.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.4498, allocations: 4.906 kB / 0.525 GB, free: 79.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.4498, allocations: 338.7 kB / 0.5253 GB, free: 79.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.4502, allocations: 146.1 kB / 0.5254 GB, free: 79.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.4506, allocations: 220.5 kB / 0.5256 GB, free: 79.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.451, allocations: 180.2 kB / 0.5258 GB, free: 79.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.451, allocations: 0 / 0.5258 GB, free: 79.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001574/0.4526, allocations: 0.6946 MB / 0.5265 GB, free: 79.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.4528, allocations: 0.5634 MB / 0.527 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4528, allocations: 2.156 kB / 0.527 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.4533, allocations: 192.8 kB / 0.5272 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4535, allocations: 28.56 kB / 0.5273 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4549, allocations: 1.404 MB / 0.5286 GB, free: 77.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4552, allocations: 54.2 kB / 0.5287 GB, free: 77.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.4552, allocations: 11.52 kB / 0.5287 GB, free: 77.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.4553, allocations: 8 kB / 0.5287 GB, free: 77.5 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005338/0.4558, allocations: 320 kB / 0.529 GB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4558, allocations: 4.641 kB / 0.529 GB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.4558, allocations: 3.719 kB / 0.529 GB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.456, allocations: 49.02 kB / 0.5291 GB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.456, allocations: 2.594 kB / 0.5291 GB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.4562, allocations: 32.61 kB / 0.5291 GB, free: 77.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4562, allocations: 14.41 kB / 0.5291 GB, free: 77.44 MB / 362.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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.4564, allocations: 265.2 kB / 0.5294 GB, free: 77.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.4565, allocations: 27.64 kB / 0.5294 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.4566, allocations: 30.92 kB / 0.5294 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4566, allocations: 3.688 kB / 0.5294 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4566, allocations: 0 / 0.5294 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4566, allocations: 6.703 kB / 0.5294 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.457, allocations: 338.6 kB / 0.5297 GB, free: 77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.457, allocations: 0 / 0.5297 GB, free: 77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.4572, allocations: 59.58 kB / 0.5298 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4572, allocations: 0 / 0.5298 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4573, allocations: 11.83 kB / 0.5298 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4573, allocations: 6.688 kB / 0.5298 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4573, allocations: 1.594 kB / 0.5298 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4586, allocations: 0.6699 MB / 0.5305 GB, free: 76.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.4587, allocations: 102.4 kB / 0.5306 GB, free: 76.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4587, allocations: 8.312 kB / 0.5306 GB, free: 76.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.459, allocations: 37.59 kB / 0.5306 GB, free: 76.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4591, allocations: 39.88 kB / 0.5307 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4591, allocations: 15.17 kB / 0.5307 GB, free: 76.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.4593, allocations: 184.4 kB / 0.5308 GB, free: 76.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4593, allocations: 2.75 kB / 0.5308 GB, free: 76.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004903/0.4598, allocations: 110.9 kB / 0.531 GB, free: 76.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0002096/0.46, allocations: 140.5 kB / 0.5311 GB, free: 76.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4616, allocations: 0.7214 MB / 0.5318 GB, free: 76.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4617, allocations: 1.469 kB / 0.5318 GB, free: 76.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.4621, allocations: 252.2 kB / 0.532 GB, free: 76.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4625, allocations: 43.7 kB / 0.5321 GB, free: 76.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4635, allocations: 0.5974 MB / 0.5327 GB, free: 75.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4637, allocations: 0.7608 MB / 0.5334 GB, free: 75.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.4638, allocations: 34.42 kB / 0.5334 GB, free: 75.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.4639, allocations: 20.38 kB / 0.5335 GB, free: 75.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4639, allocations: 0 / 0.5335 GB, free: 75.25 MB / 362.7 MB Notification: Performance of Templates: time 0.0077/0.4716, allocations: 4.164 MB / 0.5375 GB, free: 74.3 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)