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.00499/0.00499, allocations: 172 kB / 15.11 MB, free: 5.969 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.463/1.463, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008651/0.0008651, allocations: 86.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05246/0.05246, allocations: 14.19 MB / 332 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002908, allocations: 9.172 kB / 395.7 MB, free: 50.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07841, allocations: 51.12 MB / 446.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09747/0.1759, allocations: 79.69 MB / 0.5142 GB, free: 4.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.1761, allocations: 67.97 kB / 0.5143 GB, free: 4.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1841/0.3602, allocations: 5.52 MB / 0.5197 GB, free: 82.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3602, allocations: 0 / 0.5197 GB, free: 82.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.3603, allocations: 9.188 kB / 0.5197 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007394/0.361, allocations: 0.5692 MB / 0.5202 GB, free: 81.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3611, allocations: 11.86 kB / 0.5202 GB, free: 81.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3611, allocations: 52.58 kB / 0.5203 GB, free: 81.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.3612, allocations: 31.75 kB / 0.5203 GB, free: 81.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.3615, allocations: 289.7 kB / 0.5206 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3616, allocations: 8.391 kB / 0.5206 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3616, allocations: 16.02 kB / 0.5206 GB, free: 81.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.3622, allocations: 289.2 kB / 0.5209 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3622, allocations: 1.594 kB / 0.5209 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3622, allocations: 4.375 kB / 0.5209 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3623, allocations: 6.938 kB / 0.5209 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.363, allocations: 261.8 kB / 0.5212 GB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.364, allocations: 0.9702 MB / 0.5221 GB, free: 80.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.3649, allocations: 334.8 kB / 0.5224 GB, free: 80.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3649, allocations: 17.95 kB / 0.5224 GB, free: 80.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.3654, allocations: 258.3 kB / 0.5227 GB, free: 80.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.3654, allocations: 0 / 0.5227 GB, free: 80.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001479/0.3669, allocations: 0.6266 MB / 0.5233 GB, free: 80.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.367, allocations: 163 kB / 0.5235 GB, free: 80.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3672, allocations: 219.9 kB / 0.5237 GB, free: 79.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3672, allocations: 27.8 kB / 0.5237 GB, free: 79.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.3673, allocations: 147.4 kB / 0.5238 GB, free: 79.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3674, allocations: 48.05 kB / 0.5239 GB, free: 79.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.3674, allocations: 5.125 kB / 0.5239 GB, free: 79.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.3675, allocations: 333.9 kB / 0.5242 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3679, allocations: 151.9 kB / 0.5244 GB, free: 79.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3683, allocations: 205 kB / 0.5245 GB, free: 79.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.3687, allocations: 185.2 kB / 0.5247 GB, free: 79.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3687, allocations: 0 / 0.5247 GB, free: 79.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.3698, allocations: 454.7 kB / 0.5252 GB, free: 79.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.37, allocations: 0.56 MB / 0.5257 GB, free: 78.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.37, allocations: 5.438 kB / 0.5257 GB, free: 78.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.37, allocations: 3.906 kB / 0.5257 GB, free: 78.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3703, allocations: 61.8 kB / 0.5258 GB, free: 78.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3703, allocations: 2.812 kB / 0.5258 GB, free: 78.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3705, allocations: 59.91 kB / 0.5258 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3706, allocations: 8.75 kB / 0.5258 GB, free: 78.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.3706, allocations: 4.344 kB / 0.5258 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004748/0.3711, allocations: 288.8 kB / 0.5261 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.3711, allocations: 3.297 kB / 0.5261 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/0.3711, allocations: 1.312 kB / 0.5261 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3712, allocations: 29.8 kB / 0.5262 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3712, allocations: 2.672 kB / 0.5262 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3713, allocations: 26.61 kB / 0.5262 GB, free: 78.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.3714, allocations: 13.36 kB / 0.5262 GB, free: 78.62 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,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.0001441/0.3715, allocations: 257.2 kB / 0.5264 GB, free: 78.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3716, allocations: 25.05 kB / 0.5265 GB, free: 78.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.3716, allocations: 26.72 kB / 0.5265 GB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3716, allocations: 1.375 kB / 0.5265 GB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3716, allocations: 0 / 0.5265 GB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3717, allocations: 1.859 kB / 0.5265 GB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3719, allocations: 295.7 kB / 0.5268 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3719, allocations: 3 kB / 0.5268 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3722, allocations: 55.92 kB / 0.5268 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3722, allocations: 1.125 kB / 0.5268 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3722, allocations: 5.281 kB / 0.5268 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3722, allocations: 6.094 kB / 0.5268 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3722, allocations: 2.016 kB / 0.5268 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3736, allocations: 0.6545 MB / 0.5275 GB, free: 78.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3737, allocations: 98.97 kB / 0.5276 GB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3737, allocations: 8.344 kB / 0.5276 GB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.3739, allocations: 46.12 kB / 0.5276 GB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.374, allocations: 28.62 kB / 0.5277 GB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3741, allocations: 16.64 kB / 0.5277 GB, free: 77.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3742, allocations: 175.3 kB / 0.5278 GB, free: 77.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 0.5278 GB, free: 77.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.3746, allocations: 94.33 kB / 0.5279 GB, free: 77.8 MB / 362.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.001476/0.3761, allocations: 1.265 MB / 0.5292 GB, free: 77.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.3771, allocations: 0.5659 MB / 0.5297 GB, free: 76.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3771, allocations: 0 / 0.5297 GB, free: 76.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.3776, allocations: 244.8 kB / 0.53 GB, free: 76.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3778, allocations: 43.47 kB / 0.53 GB, free: 76.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.3808, allocations: 2.451 MB / 0.5324 GB, free: 75.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.381, allocations: 0.7425 MB / 0.5331 GB, free: 74.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.3811, allocations: 33.33 kB / 0.5331 GB, free: 74.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3812, allocations: 62.67 kB / 0.5332 GB, free: 74.75 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3812, allocations: 0 / 0.5332 GB, free: 74.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.4001, allocations: 5.719 MB / 0.5388 GB, free: 73.46 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/0.4002, allocations: 193.4 kB / 0.539 GB, free: 73.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.017, allocations: 0 / 0.539 GB, free: 73.21 MB / 362.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)