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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005603/0.005603, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05463/0.05463, allocations: 14.16 MB / 284.9 MB, free: 7.031 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 16 kB / 348.9 MB, free: 17.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07827, allocations: 51.11 MB / 400 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001975/0.08028, allocations: 1.583 MB / 401.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.08166, allocations: 0.8154 MB / 402.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.0818, allocations: 3.938 kB / 402.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.08197, allocations: 39.81 kB / 402.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.08208, allocations: 51.75 kB / 402.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.08261, allocations: 203.7 kB / 402.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.08287, allocations: 227.4 kB / 402.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.08299, allocations: 40.3 kB / 403 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.08312, allocations: 83.62 kB / 403.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.08327, allocations: 111.5 kB / 403.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.08331, allocations: 11.94 kB / 403.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.08344, allocations: 79.92 kB / 403.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.08351, allocations: 43.77 kB / 403.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.08361, allocations: 105.1 kB / 403.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.08387, allocations: 243.2 kB / 403.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.08389, allocations: 0 / 403.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.0839, allocations: 4 kB / 403.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.08391, allocations: 0 / 403.6 MB, free: 10.58 MB / 302.1 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.0007905/0.0847, allocations: 0.5549 MB / 404.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.08475, allocations: 12.03 kB / 404.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.08481, allocations: 46.73 kB / 404.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.08487, allocations: 28.56 kB / 404.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.08516, allocations: 290.7 kB / 404.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.08519, allocations: 8.375 kB / 404.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.08522, allocations: 12.38 kB / 404.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.08582, allocations: 285.2 kB / 404.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.08583, allocations: 0 / 404.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.08586, allocations: 4 kB / 404.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.08587, allocations: 4 kB / 404.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.08659, allocations: 255.7 kB / 405.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.0876, allocations: 0.8923 MB / 406 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.08847, allocations: 321 kB / 406.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.08887, allocations: 165.2 kB / 406.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.0889, allocations: 3.984 kB / 406.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/0.08941, allocations: 238.7 kB / 406.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.08942, allocations: 0 / 406.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001281/0.09071, allocations: 0.5297 MB / 407.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.09079, allocations: 166.2 kB / 407.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.09099, allocations: 237 kB / 407.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.09103, allocations: 33.69 kB / 407.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.09112, allocations: 144.2 kB / 407.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.09117, allocations: 55.28 kB / 407.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.09122, allocations: 25.7 kB / 407.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.09132, allocations: 338.8 kB / 408.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.09171, allocations: 140.1 kB / 408.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.09212, allocations: 206.5 kB / 408.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.09288, allocations: 370.6 kB / 408.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0929, allocations: 0 / 408.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009091/0.09381, allocations: 442.7 kB / 409.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/0.09391, allocations: 167 kB / 409.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09392, allocations: 96 / 409.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.09394, allocations: 3.938 kB / 409.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.09423, allocations: 71.94 kB / 409.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.09425, allocations: 3.938 kB / 409.6 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.09449, allocations: 51.86 kB / 409.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.09452, allocations: 16 kB / 409.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.09453, allocations: 9.875 kB / 409.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004158/0.09495, allocations: 257.5 kB / 409.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.09496, allocations: 0 / 409.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.09497, allocations: 4 kB / 409.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.09513, allocations: 31.97 kB / 410 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.09514, allocations: 7.875 kB / 410 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.09526, allocations: 27.98 kB / 410 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.09528, allocations: 12 kB / 410 MB, free: 3.77 MB / 302.1 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 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.09545, allocations: 247.9 kB / 410.3 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.09549, allocations: 23.72 kB / 410.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.09556, allocations: 29.83 kB / 410.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.09557, allocations: 7.938 kB / 410.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.09558, allocations: 0 / 410.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.09558, allocations: 0 / 410.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.09582, allocations: 293.4 kB / 410.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09583, allocations: 0 / 410.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.09612, allocations: 63.88 kB / 410.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.09613, allocations: 3.984 kB / 410.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.09616, allocations: 12 kB / 410.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.09616, allocations: 3.938 kB / 410.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09617, allocations: 0 / 410.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.09747, allocations: 0.6006 MB / 411.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.09754, allocations: 96.89 kB / 411.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.09758, allocations: 12.06 kB / 411.4 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.0978, allocations: 43.89 kB / 411.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.09788, allocations: 27.91 kB / 411.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.09791, allocations: 11.98 kB / 411.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.09805, allocations: 176.5 kB / 411.7 MB, free: 2.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09806, allocations: 0 / 411.7 MB, free: 2.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00036/0.09842, allocations: 91.97 kB / 411.7 MB, free: 1.938 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/0.1, allocations: 1.173 MB / 412.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1011, allocations: 0.569 MB / 413.5 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1011, allocations: 0 / 413.5 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.1016, allocations: 255.5 kB / 413.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1019, allocations: 52.47 kB / 413.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.1063, allocations: 3.05 MB / 416.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1065, allocations: 0.7402 MB / 417.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1066, allocations: 37.47 kB / 417.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1068, allocations: 59.42 kB / 417.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1068, allocations: 0 / 417.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.1219, allocations: 5.814 MB / 423.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.1221, allocations: 204.3 kB / 423.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.754, allocations: 0 / 423.7 MB, free: 5.797 MB / 318.1 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/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat --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)