Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.161/2.161, allocations: 220.2 MB / 232.3 MB, free: 12.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.28e-05, allocations: 7.984 kB / 286.4 MB, free: 7.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 51.11 MB / 337.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5756, allocations: 76.64 MB / 414.2 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.576, allocations: 64.66 kB / 414.2 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003415/0.5794, allocations: 0.7038 MB / 414.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5795, allocations: 4 kB / 414.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.5795, allocations: 4 kB / 414.9 MB, free: 15.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004307/0.58, allocations: 327.3 kB / 415.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.58, allocations: 8.031 kB / 415.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.5801, allocations: 34.56 kB / 415.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.5801, allocations: 0 / 415.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.5804, allocations: 174 kB / 415.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.5804, allocations: 4 kB / 415.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.5804, allocations: 3.953 kB / 415.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.5806, allocations: 66.89 kB / 415.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5806, allocations: 0 / 415.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.5806, allocations: 0 / 415.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5806, allocations: 0 / 415.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.5807, allocations: 15.36 kB / 415.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.5812, allocations: 351.4 kB / 415.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.5813, allocations: 40.78 kB / 415.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.5814, allocations: 23.89 kB / 416 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.5814, allocations: 3.938 kB / 416 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5815, allocations: 47.81 kB / 416 MB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5815, allocations: 0 / 416 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002096/0.5817, allocations: 41.58 kB / 416.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.5818, allocations: 102.8 kB / 416.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.5819, allocations: 100.8 kB / 416.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5819, allocations: 25.7 kB / 416.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.582, allocations: 88.2 kB / 416.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.582, allocations: 14.81 kB / 416.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.582, allocations: 0 / 416.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5822, allocations: 310.8 kB / 416.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.5822, allocations: 7.812 kB / 416.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.217e-05/0.5823, allocations: 29.25 kB / 416.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.5823, allocations: 8.031 kB / 416.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5823, allocations: 3.953 kB / 416.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/0.5825, allocations: 47.39 kB / 416.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.5826, allocations: 185.1 kB / 417 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5826, allocations: 0 / 417 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5826, allocations: 0 / 417 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.5828, allocations: 16.06 kB / 417 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5828, allocations: 0 / 417 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.583, allocations: 16.7 kB / 417 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.583, allocations: 0 / 417 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.583, allocations: 5.25 kB / 417 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.999e-05/0.5831, allocations: 23.36 kB / 417 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.5831, allocations: 0 / 417 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-06/0.5831, allocations: 4.062 kB / 417 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.5832, allocations: 4 kB / 417 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.5832, allocations: 3.938 kB / 417 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.5833, allocations: 4 kB / 417 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5833, allocations: 4 kB / 417 MB, free: 13.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 8.007e-05/0.5834, allocations: 104.4 kB / 417.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.5835, allocations: 12.69 kB / 417.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.5835, allocations: 10.52 kB / 417.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5835, allocations: 4 kB / 417.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5835, allocations: 0 / 417.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5835, allocations: 0 / 417.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.5838, allocations: 160.4 kB / 417.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5838, allocations: 4 kB / 417.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.584, allocations: 8 kB / 417.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.584, allocations: 7.953 kB / 417.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.584, allocations: 0 / 417.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.584, allocations: 3.938 kB / 417.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.584, allocations: 3.984 kB / 417.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.5842, allocations: 238.5 kB / 417.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.5843, allocations: 85.05 kB / 417.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5843, allocations: 0 / 417.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5845, allocations: 8 kB / 417.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.5846, allocations: 14.98 kB / 417.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.5846, allocations: 0 / 417.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.376e-05/0.5847, allocations: 79.28 kB / 417.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5847, allocations: 0 / 417.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004334/0.5851, allocations: 15.31 kB / 417.8 MB, free: 12.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0005735/0.5857, allocations: 0.8364 MB / 418.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.5859, allocations: 23.19 kB / 418.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.5859, allocations: 0 / 418.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.586, allocations: 15 kB / 418.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5862, allocations: 4.562 kB / 418.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.5869, allocations: 110.7 kB / 418.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.5872, allocations: 0.6847 MB / 419.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.5873, allocations: 4 kB / 419.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.5873, allocations: 7.438 kB / 419.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5873, allocations: 0 / 419.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.6611, allocations: 1.164 MB / 420.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.6615, allocations: 133.2 kB / 420.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.008, allocations: 0 / 420.8 MB, free: 9.438 MB / 346.7 MB