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/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.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.001136/0.001136, allocations: 173.2 kB / 7.644 MB, free: 1.41 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.762/1.762, 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.0009215/0.0009212, allocations: 96.69 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.05696/0.05696, allocations: 14.02 MB / 323.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.8e-05, allocations: 4 kB / 381.9 MB, free: 72.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 51.11 MB / 433 MB, free: 21.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4712, allocations: 78.93 MB / 0.4999 GB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.4714, allocations: 68.75 kB / 0.5 GB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.4849, allocations: 5.49 MB / 0.5053 GB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.485, allocations: 4 kB / 0.5053 GB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.485, allocations: 7.844 kB / 0.5053 GB, free: 11.11 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.0006297/0.4856, allocations: 0.5377 MB / 0.5059 GB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4857, allocations: 7.875 kB / 0.5059 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.4857, allocations: 26.66 kB / 0.5059 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.4861, allocations: 288.4 kB / 0.5062 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4861, allocations: 4.062 kB / 0.5062 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4861, allocations: 7.656 kB / 0.5062 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/0.4863, allocations: 120.8 kB / 0.5063 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.4865, allocations: 204.9 kB / 0.5065 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4866, allocations: 0 / 0.5065 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.4866, allocations: 7.797 kB / 0.5065 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4866, allocations: 0 / 0.5065 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.4875, allocations: 0.9426 MB / 0.5074 GB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.4878, allocations: 173.9 kB / 0.5076 GB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4879, allocations: 91.22 kB / 0.5077 GB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4879, allocations: 3.844 kB / 0.5077 GB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4881, allocations: 181.4 kB / 0.5078 GB, free: 9.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.4881, allocations: 0 / 0.5078 GB, free: 9.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004337/0.4886, allocations: 244.6 kB / 0.5081 GB, free: 9.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4886, allocations: 158.1 kB / 0.5082 GB, free: 8.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4888, allocations: 221.1 kB / 0.5084 GB, free: 8.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4888, allocations: 25.7 kB / 0.5085 GB, free: 8.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.4889, allocations: 143.5 kB / 0.5086 GB, free: 8.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.4889, allocations: 50.45 kB / 0.5086 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.489, allocations: 0 / 0.5086 GB, free: 8.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.489, allocations: 334.2 kB / 0.509 GB, free: 8.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4892, allocations: 74.38 kB / 0.509 GB, free: 8.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4893, allocations: 134.7 kB / 0.5092 GB, free: 8.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.4894, allocations: 77.28 kB / 0.5092 GB, free: 8.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4894, allocations: 0 / 0.5092 GB, free: 8.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003463/0.4898, allocations: 270.1 kB / 0.5095 GB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.4899, allocations: 0.5551 MB / 0.51 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4899, allocations: 0 / 0.51 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.49, allocations: 7.797 kB / 0.51 GB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4902, allocations: 66.23 kB / 0.5101 GB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4902, allocations: 0 / 0.5101 GB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.4905, allocations: 58.73 kB / 0.5102 GB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.4905, allocations: 10.69 kB / 0.5102 GB, free: 7.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/0.4905, allocations: 7.125 kB / 0.5102 GB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003035/0.4908, allocations: 222.7 kB / 0.5104 GB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.4908, allocations: 0 / 0.5104 GB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.4908, allocations: 3.844 kB / 0.5104 GB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4909, allocations: 27.14 kB / 0.5104 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.491, allocations: 4 kB / 0.5104 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4911, allocations: 15.59 kB / 0.5104 GB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4911, allocations: 18.64 kB / 0.5105 GB, free: 7.52 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 0.0001033/0.4912, allocations: 141.2 kB / 0.5106 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.4913, allocations: 25.75 kB / 0.5106 GB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.4913, allocations: 32.55 kB / 0.5106 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4913, allocations: 0 / 0.5106 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4913, allocations: 0 / 0.5106 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4914, allocations: 4 kB / 0.5107 GB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.4916, allocations: 268.5 kB / 0.5109 GB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4916, allocations: 3.953 kB / 0.5109 GB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.4918, allocations: 50.45 kB / 0.511 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4918, allocations: 3.844 kB / 0.511 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4918, allocations: 15.34 kB / 0.511 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4918, allocations: 0 / 0.511 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4919, allocations: 0 / 0.511 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.4923, allocations: 403.6 kB / 0.5114 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.4924, allocations: 100.5 kB / 0.5115 GB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.4924, allocations: 2.188 kB / 0.5115 GB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4927, allocations: 50.55 kB / 0.5115 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.4927, allocations: 23.11 kB / 0.5115 GB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4928, allocations: 10.84 kB / 0.5115 GB, free: 6.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.4929, allocations: 164.9 kB / 0.5117 GB, free: 6.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4929, allocations: 4 kB / 0.5117 GB, free: 6.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000371/0.4933, allocations: 89.5 kB / 0.5118 GB, free: 6.727 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.0001916/0.4935, allocations: 136.2 kB / 0.5119 GB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.4939, allocations: 424.8 kB / 0.5123 GB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4939, allocations: 0 / 0.5123 GB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.494, allocations: 160.9 kB / 0.5125 GB, free: 6.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.4943, allocations: 52.42 kB / 0.5125 GB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.4949, allocations: 325.8 kB / 0.5128 GB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4951, allocations: 0.7466 MB / 0.5136 GB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.4952, allocations: 53.5 kB / 0.5136 GB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.4953, allocations: 15.12 kB / 0.5136 GB, free: 5.449 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4953, allocations: 0 / 0.5136 GB, free: 5.449 MB / 330.7 MB Notification: Performance of Templates: time 0.006044/0.5013, allocations: 3.611 MB / 0.5172 GB, free: 3.68 MB / 330.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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)