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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.899/1.899, 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.000956/0.000956, allocations: 88.7 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05701/0.05701, allocations: 14.04 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.509e-05, allocations: 0 / 382 MB, free: 72.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09216, allocations: 51.12 MB / 433.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.4847, allocations: 78.93 MB / 0.5 GB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.485, allocations: 69.67 kB / 0.5001 GB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.5003, allocations: 5.469 MB / 0.5054 GB, free: 11.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5004, allocations: 4 kB / 0.5054 GB, free: 11.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.5004, allocations: 8.062 kB / 0.5054 GB, free: 11.08 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.0007623/0.5012, allocations: 0.5418 MB / 0.506 GB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5012, allocations: 11.72 kB / 0.506 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.5013, allocations: 30.16 kB / 0.506 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.5017, allocations: 289 kB / 0.5063 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5017, allocations: 3.906 kB / 0.5063 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.5017, allocations: 7.656 kB / 0.5063 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002093/0.5019, allocations: 113.2 kB / 0.5064 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.5022, allocations: 210.4 kB / 0.5066 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5022, allocations: 0 / 0.5066 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.5023, allocations: 3.938 kB / 0.5066 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5023, allocations: 7.969 kB / 0.5066 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.5033, allocations: 0.9389 MB / 0.5075 GB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.5036, allocations: 170.9 kB / 0.5077 GB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.5037, allocations: 99.16 kB / 0.5078 GB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.5038, allocations: 2.812 kB / 0.5078 GB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.504, allocations: 180.1 kB / 0.508 GB, free: 9.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.504, allocations: 3.938 kB / 0.508 GB, free: 9.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004612/0.5044, allocations: 246.7 kB / 0.5082 GB, free: 9.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5045, allocations: 164.8 kB / 0.5084 GB, free: 8.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.5047, allocations: 211.6 kB / 0.5086 GB, free: 8.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5047, allocations: 29.55 kB / 0.5086 GB, free: 8.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.5048, allocations: 144.1 kB / 0.5087 GB, free: 8.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.5048, allocations: 42.95 kB / 0.5088 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.5048, allocations: 3.844 kB / 0.5088 GB, free: 8.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.5049, allocations: 329 kB / 0.5091 GB, free: 8.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.505, allocations: 74.66 kB / 0.5092 GB, free: 8.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5051, allocations: 138.5 kB / 0.5093 GB, free: 8.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.5053, allocations: 72.62 kB / 0.5094 GB, free: 8.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5053, allocations: 0 / 0.5094 GB, free: 8.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003573/0.5056, allocations: 276 kB / 0.5096 GB, free: 8.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.5058, allocations: 0.5561 MB / 0.5102 GB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5058, allocations: 3.984 kB / 0.5102 GB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5058, allocations: 7.859 kB / 0.5102 GB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.5061, allocations: 61.45 kB / 0.5102 GB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5061, allocations: 3.938 kB / 0.5102 GB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.5064, allocations: 58.39 kB / 0.5103 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.5065, allocations: 10.91 kB / 0.5103 GB, free: 7.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.5065, allocations: 3.812 kB / 0.5103 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003017/0.5068, allocations: 219.2 kB / 0.5105 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.5068, allocations: 0 / 0.5105 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-06/0.5068, allocations: 3.969 kB / 0.5105 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5069, allocations: 27.08 kB / 0.5105 GB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.5069, allocations: 8 kB / 0.5106 GB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.507, allocations: 11.72 kB / 0.5106 GB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.5071, allocations: 23.53 kB / 0.5106 GB, free: 7.473 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 9.718e-05/0.5072, allocations: 145.5 kB / 0.5107 GB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003315/0.5075, allocations: 265.4 kB / 0.511 GB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.5076, allocations: 19.06 kB / 0.511 GB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.5076, allocations: 24.89 kB / 0.511 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5076, allocations: 7.938 kB / 0.511 GB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5076, allocations: 0 / 0.511 GB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5077, allocations: 0 / 0.511 GB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.5079, allocations: 270.7 kB / 0.5113 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5079, allocations: 0 / 0.5113 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.5081, allocations: 50.59 kB / 0.5113 GB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5081, allocations: 0 / 0.5113 GB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.5082, allocations: 7.828 kB / 0.5113 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5082, allocations: 3.844 kB / 0.5113 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5082, allocations: 4 kB / 0.5113 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.5087, allocations: 408.3 kB / 0.5117 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.5087, allocations: 100 kB / 0.5118 GB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.5088, allocations: 3.75 kB / 0.5118 GB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.509, allocations: 42.8 kB / 0.5119 GB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.5091, allocations: 27.11 kB / 0.5119 GB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.5091, allocations: 15.06 kB / 0.5119 GB, free: 6.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.5092, allocations: 161.1 kB / 0.5121 GB, free: 6.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5092, allocations: 3.938 kB / 0.5121 GB, free: 6.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.5096, allocations: 89.67 kB / 0.5122 GB, free: 6.605 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.0006914/0.5103, allocations: 1.001 MB / 0.5131 GB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.5108, allocations: 416.6 kB / 0.5135 GB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5108, allocations: 0 / 0.5135 GB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.5109, allocations: 167.6 kB / 0.5137 GB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.5112, allocations: 39.56 kB / 0.5137 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.512, allocations: 404.1 kB / 0.5141 GB, free: 5.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.5122, allocations: 0.7449 MB / 0.5148 GB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.5124, allocations: 49.77 kB / 0.5149 GB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.5125, allocations: 59.66 kB / 0.515 GB, free: 4.645 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5125, allocations: 4 kB / 0.515 GB, free: 4.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.5382, allocations: 5.458 MB / 0.5203 GB, free: 2.047 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.5386, allocations: 163 kB / 0.5204 GB, free: 1.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.314, allocations: 0 / 0.5204 GB, free: 1.844 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)