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: translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 175.3 kB / 16.12 MB, free: 5.699 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.767/1.767, allocations: 205.4 MB / 222.3 MB, free: 8.953 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.0007849/0.0007852, allocations: 86.36 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06168/0.06168, allocations: 14.19 MB / 333.1 MB, free: 9.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 19.94 kB / 396.9 MB, free: 62.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 51.12 MB / 448 MB, free: 11.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4776, allocations: 79.72 MB / 0.5154 GB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.478, allocations: 67.03 kB / 0.5154 GB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4926, allocations: 5.562 MB / 0.5209 GB, free: 6.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4926, allocations: 4 kB / 0.5209 GB, free: 6.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.4926, allocations: 8 kB / 0.5209 GB, free: 6.168 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.0008089/0.4934, allocations: 0.5681 MB / 0.5214 GB, free: 5.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4935, allocations: 8.031 kB / 0.5215 GB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.4936, allocations: 24.66 kB / 0.5215 GB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.494, allocations: 306.1 kB / 0.5218 GB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.494, allocations: 11.88 kB / 0.5218 GB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.494, allocations: 12.06 kB / 0.5218 GB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.4946, allocations: 292.8 kB / 0.5221 GB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4946, allocations: 192 / 0.5221 GB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.4947, allocations: 15.36 kB / 0.5221 GB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4947, allocations: 0 / 0.5221 GB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.4953, allocations: 263 kB / 0.5223 GB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.4963, allocations: 0.9723 MB / 0.5233 GB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.4971, allocations: 339.2 kB / 0.5236 GB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.4975, allocations: 157.7 kB / 0.5238 GB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4975, allocations: 4 kB / 0.5238 GB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.4979, allocations: 263.4 kB / 0.524 GB, free: 3.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.498, allocations: 0 / 0.524 GB, free: 3.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001218/0.4992, allocations: 0.553 MB / 0.5246 GB, free: 2.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.4993, allocations: 166 kB / 0.5247 GB, free: 2.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4995, allocations: 235.4 kB / 0.5249 GB, free: 2.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4995, allocations: 33.73 kB / 0.525 GB, free: 2.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.4996, allocations: 151.3 kB / 0.5251 GB, free: 1.996 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.4996, allocations: 50.16 kB / 0.5252 GB, free: 1.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.4997, allocations: 4 kB / 0.5252 GB, free: 1.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.4997, allocations: 333 kB / 0.5255 GB, free: 1.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.5001, allocations: 148.3 kB / 0.5256 GB, free: 1.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.5005, allocations: 210 kB / 0.5258 GB, free: 1.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.5012, allocations: 387.5 kB / 0.5262 GB, free: 0.9492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5012, allocations: 0 / 0.5262 GB, free: 0.9492 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008569/0.5021, allocations: 452.7 kB / 0.5266 GB, free: 0.5547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/0.5022, allocations: 162.6 kB / 0.5268 GB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5022, allocations: 7.938 kB / 0.5268 GB, free: 376 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5022, allocations: 0 / 0.5268 GB, free: 376 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5025, allocations: 67.89 kB / 0.5269 GB, free: 308 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5025, allocations: 0 / 0.5269 GB, free: 308 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.5027, allocations: 63.61 kB / 0.5269 GB, free: 248 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.5028, allocations: 8 kB / 0.5269 GB, free: 240 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.5028, allocations: 4 kB / 0.5269 GB, free: 236 kB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004058/0.5032, allocations: 289 kB / 0.5272 GB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.5032, allocations: 0 / 0.5272 GB, free: 8 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.5032, allocations: 0 / 0.5272 GB, free: 8 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5034, allocations: 32.08 kB / 0.5272 GB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5034, allocations: 4 kB / 0.5272 GB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5035, allocations: 31.39 kB / 0.5273 GB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.5036, allocations: 8 kB / 0.5273 GB, free: 15.94 MB / 346.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 () * Number of clocked 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 0.0002261/0.5038, allocations: 254.1 kB / 0.5275 GB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.5039, allocations: 23.72 kB / 0.5275 GB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.5039, allocations: 28.89 kB / 0.5276 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.504, allocations: 0 / 0.5276 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.504, allocations: 7.938 kB / 0.5276 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.504, allocations: 4 kB / 0.5276 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.5043, allocations: 295.5 kB / 0.5279 GB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5043, allocations: 0 / 0.5279 GB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.5045, allocations: 51.95 kB / 0.5279 GB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5046, allocations: 4 kB / 0.5279 GB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.5046, allocations: 7.25 kB / 0.5279 GB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5046, allocations: 0 / 0.5279 GB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5046, allocations: 7.938 kB / 0.5279 GB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.506, allocations: 0.6412 MB / 0.5286 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.5061, allocations: 96.92 kB / 0.5286 GB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.5062, allocations: 15.19 kB / 0.5287 GB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5064, allocations: 39.95 kB / 0.5287 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.5066, allocations: 35.56 kB / 0.5287 GB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5066, allocations: 14.62 kB / 0.5287 GB, free: 14.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.5068, allocations: 171 kB / 0.5289 GB, free: 14.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5068, allocations: 0 / 0.5289 GB, free: 14.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.5072, allocations: 103 kB / 0.529 GB, free: 14.27 MB / 346.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) * Number of clocked states: 0 () * 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.000251/0.5075, allocations: 130.8 kB / 0.5291 GB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.5087, allocations: 0.5691 MB / 0.5297 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5087, allocations: 0 / 0.5297 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.5091, allocations: 247.8 kB / 0.5299 GB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5095, allocations: 46.5 kB / 0.53 GB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.5108, allocations: 0.5403 MB / 0.5305 GB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.5112, allocations: 0.7402 MB / 0.5312 GB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.5114, allocations: 37.52 kB / 0.5313 GB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.5114, allocations: 15.44 kB / 0.5313 GB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5114, allocations: 0 / 0.5313 GB, free: 12.05 MB / 346.7 MB Notification: Performance of Templates: time 0.008121/0.5196, allocations: 3.529 MB / 0.5347 GB, free: 8.551 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (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 & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)