Running command: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.135/2.135, allocations: 220.2 MB / 232.3 MB, free: 12.22 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.809e-05, allocations: 13.8 kB / 286.4 MB, free: 7.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 51.09 MB / 337.5 MB, free: 3.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5693, allocations: 76.12 MB / 413.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.5698, allocations: 66.16 kB / 413.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005231/0.575, allocations: 1.22 MB / 414.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5751, allocations: 0 / 414.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.5751, allocations: 0 / 414.9 MB, free: 15.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002819/0.5754, allocations: 322.5 kB / 415.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5755, allocations: 12.03 kB / 415.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.5755, allocations: 30.56 kB / 415.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.5755, allocations: 0 / 415.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5757, allocations: 166.8 kB / 415.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.5757, allocations: 0 / 415.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5757, allocations: 3.953 kB / 415.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.5758, allocations: 47.36 kB / 415.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5758, allocations: 0 / 415.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.5759, allocations: 0 / 415.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5759, allocations: 4 kB / 415.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.5759, allocations: 0 / 415.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.5763, allocations: 466.7 kB / 415.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5764, allocations: 173.1 kB / 416.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.5765, allocations: 84.2 kB / 416.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.5765, allocations: 79.27 kB / 416.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.5766, allocations: 105.8 kB / 416.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 3.406e-06/0.5766, allocations: 0 / 416.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.781e-05/0.5767, allocations: 33.39 kB / 416.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.5768, allocations: 134.7 kB / 416.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.5769, allocations: 89 kB / 416.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5769, allocations: 25.7 kB / 416.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.577, allocations: 84.05 kB / 416.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.577, allocations: 0 / 416.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.577, allocations: 0 / 416.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5771, allocations: 322.3 kB / 417.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.5771, allocations: 128 / 417.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.5772, allocations: 17.72 kB / 417.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.5772, allocations: 0 / 417.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5772, allocations: 3.953 kB / 417.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.5773, allocations: 37.69 kB / 417.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5774, allocations: 10.34 kB / 417.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5774, allocations: 0 / 417.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5774, allocations: 4.125 kB / 417.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.5775, allocations: 11.06 kB / 417.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5775, allocations: 3.938 kB / 417.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.5775, allocations: 3.906 kB / 417.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.5776, allocations: 4 kB / 417.1 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 (2): * Single equations (assignments): 2 * 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 9.987e-05/0.5777, allocations: 176.3 kB / 417.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.5777, allocations: 108.9 kB / 417.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.5778, allocations: 107.9 kB / 417.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-05/0.5779, allocations: 188.2 kB / 417.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-05/0.578, allocations: 180.6 kB / 417.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.5781, allocations: 176.8 kB / 418.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.5783, allocations: 401.2 kB / 418.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.5784, allocations: 105.2 kB / 418.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.5785, allocations: 108.9 kB / 418.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.425e-05/0.5785, allocations: 188.2 kB / 418.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/0.5786, allocations: 183.3 kB / 419 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.74e-05/0.5787, allocations: 180.3 kB / 419.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.649e-05/0.5788, allocations: 180.2 kB / 419.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.579, allocations: 311.1 kB / 419.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.5791, allocations: 178.1 kB / 419.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.5792, allocations: 180.2 kB / 420 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5793, allocations: 104.9 kB / 420.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.5794, allocations: 189.4 kB / 420.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.5795, allocations: 105 kB / 420.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.5795, allocations: 79.09 kB / 420.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5795, allocations: 0 / 420.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.5798, allocations: 4 kB / 420.5 MB, free: 9.77 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 (0): * Single equations (assignments): 0 * 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.0004175/0.5803, allocations: 0.7971 MB / 421.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.5803, allocations: 11.67 kB / 421.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5804, allocations: 0 / 421.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.5804, allocations: 0 / 421.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5807, allocations: 0.5224 MB / 421.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.5811, allocations: 157.5 kB / 422 MB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5814, allocations: 0.6731 MB / 422.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.5814, allocations: 0 / 422.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.5815, allocations: 7.438 kB / 422.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5815, allocations: 4 kB / 422.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.6018, allocations: 0.6893 MB / 423.4 MB, free: 6.875 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004503/0.6023, allocations: 147.5 kB / 423.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.808, allocations: 0 / 423.5 MB, free: 6.645 MB / 346.7 MB