Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.191/2.191, allocations: 220.2 MB / 232.3 MB, free: 12.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.349e-05, allocations: 4 kB / 287.9 MB, free: 5.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 51.11 MB / 339 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5766, allocations: 76.56 MB / 415.6 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.577, allocations: 63.34 kB / 415.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002259/0.5792, allocations: 0.5419 MB / 416.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5793, allocations: 0 / 416.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5793, allocations: 3.938 kB / 416.2 MB, free: 0.7031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003646/0.5797, allocations: 339.9 kB / 416.5 MB, free: 336 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.5797, allocations: 8.031 kB / 416.5 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.5798, allocations: 34.56 kB / 416.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.5799, allocations: 0 / 416.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.58, allocations: 163 kB / 416.7 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.58, allocations: 0.9062 kB / 416.7 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5801, allocations: 11.94 kB / 416.7 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.5803, allocations: 50.03 kB / 416.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.5803, allocations: 0 / 416.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5803, allocations: 0 / 416.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5803, allocations: 7.188 kB / 416.8 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.5804, allocations: 11.62 kB / 416.8 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.5809, allocations: 236.5 kB / 417 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.581, allocations: 25.33 kB / 417 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.5811, allocations: 19.84 kB / 417.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.5811, allocations: 4.531 kB / 417.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.5811, allocations: 42.5 kB / 417.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.305e-06/0.5812, allocations: 0 / 417.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002823/0.5815, allocations: 70.34 kB / 417.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.5815, allocations: 85.09 kB / 417.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.5816, allocations: 87.3 kB / 417.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.5816, allocations: 25.7 kB / 417.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.5817, allocations: 84.05 kB / 417.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.5817, allocations: 0 / 417.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5818, allocations: 4.031 kB / 417.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5819, allocations: 318.5 kB / 417.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.582, allocations: 4 kB / 417.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.582, allocations: 7.938 kB / 417.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.5821, allocations: 37.38 kB / 417.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5821, allocations: 4 kB / 417.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.5824, allocations: 78.33 kB / 417.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.5824, allocations: 41.5 kB / 417.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5824, allocations: 4.094 kB / 417.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5825, allocations: 0 / 417.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.5825, allocations: 0 / 417.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5826, allocations: 4 kB / 417.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.614e-05/0.5827, allocations: 0 / 417.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5827, allocations: 4 kB / 417.9 MB, free: 14.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.0001236/0.5828, allocations: 130.7 kB / 418.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.5829, allocations: 7.953 kB / 418.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.5829, allocations: 10.58 kB / 418.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.583, allocations: 11.88 kB / 418.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.583, allocations: 0 / 418.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.583, allocations: 0 / 418.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.5833, allocations: 153.7 kB / 418.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5833, allocations: 0 / 418.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.5833, allocations: 0 / 418.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.5834, allocations: 11.94 kB / 418.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.5834, allocations: 0 / 418.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.5834, allocations: 0 / 418.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5834, allocations: 0 / 418.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.5837, allocations: 183.8 kB / 418.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.5837, allocations: 77.11 kB / 418.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.5838, allocations: 4.828 kB / 418.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.584, allocations: 4 kB / 418.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.584, allocations: 7.359 kB / 418.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.5841, allocations: 0 / 418.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.5841, allocations: 75.28 kB / 418.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5841, allocations: 4 kB / 418.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.5847, allocations: 8.031 kB / 418.6 MB, free: 13.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0006644/0.5853, allocations: 0.7051 MB / 419.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.5856, allocations: 82.14 kB / 419.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5856, allocations: 4 kB / 419.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.5857, allocations: 67.44 kB / 419.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.586, allocations: 7.953 kB / 419.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.5866, allocations: 91.03 kB / 419.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5869, allocations: 0.677 MB / 420.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.587, allocations: 3.938 kB / 420.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.587, allocations: 11.44 kB / 420.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5871, allocations: 0 / 420.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.6312, allocations: 1.08 MB / 421.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.6316, allocations: 188.6 kB / 421.5 MB, free: 11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.151, allocations: 0 / 421.5 MB, free: 11 MB / 346.7 MB