Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.204/2.204, allocations: 220.2 MB / 232.3 MB, free: 12.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.134e-05, allocations: 4 kB / 287.9 MB, free: 5.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 51.11 MB / 339 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5497, allocations: 79.6 MB / 418.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5501, allocations: 63.59 kB / 418.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.5775, allocations: 5.47 MB / 424.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5775, allocations: 0 / 424.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.5776, allocations: 8 kB / 424.2 MB, free: 9.172 MB / 346.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.001294/0.5789, allocations: 0.543 MB / 424.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5789, allocations: 12.03 kB / 424.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.579, allocations: 44.75 kB / 424.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.5791, allocations: 23.72 kB / 424.8 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.5797, allocations: 288.9 kB / 425.1 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.5798, allocations: 15.69 kB / 425.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.5798, allocations: 15.33 kB / 425.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.5804, allocations: 225.1 kB / 425.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5804, allocations: 0 / 425.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.5804, allocations: 7.25 kB / 425.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5805, allocations: 0 / 425.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.5808, allocations: 116.5 kB / 425.4 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.5828, allocations: 0.9797 MB / 426.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.5835, allocations: 178.5 kB / 426.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.5837, allocations: 94.14 kB / 426.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.5838, allocations: 7.938 kB / 426.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.5842, allocations: 183 kB / 426.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 6.001e-06/0.5842, allocations: 96 / 426.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008376/0.5851, allocations: 276.7 kB / 427.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5852, allocations: 158.2 kB / 427.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.5858, allocations: 224 kB / 427.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.5859, allocations: 25.7 kB / 427.5 MB, free: 5.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.5863, allocations: 146.6 kB / 427.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.5866, allocations: 55.28 kB / 427.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.5867, allocations: 0 / 427.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.587, allocations: 342.8 kB / 428.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.5873, allocations: 67.98 kB / 428.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.5876, allocations: 134.8 kB / 428.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.5879, allocations: 99.77 kB / 428.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5879, allocations: 0 / 428.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008193/0.5887, allocations: 303 kB / 428.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.5891, allocations: 0.5622 MB / 429.2 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5891, allocations: 0 / 429.2 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5891, allocations: 4 kB / 429.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.5897, allocations: 67.89 kB / 429.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5897, allocations: 4 kB / 429.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.5902, allocations: 51.8 kB / 429.3 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.5903, allocations: 20 kB / 429.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5903, allocations: 6.656 kB / 429.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006764/0.591, allocations: 265.4 kB / 429.6 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.591, allocations: 0 / 429.6 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.591, allocations: 4 kB / 429.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.5913, allocations: 23.98 kB / 429.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5913, allocations: 7.984 kB / 429.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5915, allocations: 24.05 kB / 429.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.5916, allocations: 15.95 kB / 429.7 MB, free: 3.617 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 () * 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.0001823/0.5918, allocations: 142.7 kB / 429.8 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.5919, allocations: 27.66 kB / 429.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.592, allocations: 29.95 kB / 429.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.592, allocations: 7.938 kB / 429.9 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.592, allocations: 3.984 kB / 429.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.592, allocations: 0 / 429.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.5924, allocations: 301.4 kB / 430.2 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5925, allocations: 8 kB / 430.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.5929, allocations: 51.91 kB / 430.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.593, allocations: 0 / 430.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.593, allocations: 11.98 kB / 430.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.593, allocations: 0 / 430.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.593, allocations: 4 kB / 430.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.5941, allocations: 441.8 kB / 430.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.5943, allocations: 96.8 kB / 430.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.5943, allocations: 8 kB / 430.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.5948, allocations: 48.02 kB / 430.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5949, allocations: 27.95 kB / 430.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.595, allocations: 12 kB / 430.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002535/0.5953, allocations: 177.3 kB / 431.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5953, allocations: 0 / 431.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.5959, allocations: 103.9 kB / 431.2 MB, free: 2.031 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) * 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.001445/0.5974, allocations: 1.029 MB / 432.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.5984, allocations: 436 kB / 432.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5984, allocations: 0 / 432.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.5988, allocations: 167.3 kB / 432.8 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.5993, allocations: 48.3 kB / 432.8 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.6007, allocations: 409.3 kB / 433.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.6011, allocations: 0.7446 MB / 434 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.6014, allocations: 42.31 kB / 434 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6016, allocations: 63.41 kB / 434.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6016, allocations: 0 / 434.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.635, allocations: 5.996 MB / 440.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/0.6354, allocations: 160.8 kB / 440.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.245, allocations: 0 / 440.2 MB, free: 8.824 MB / 362.7 MB