Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.495/2.495, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.024e-05, allocations: 4 kB / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 53.23 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.6368, allocations: 91.26 MB / 446.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/0.6373, allocations: 84.45 kB / 446.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07899/0.7163, allocations: 12.47 MB / 459.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.7163, allocations: 3.984 kB / 459.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.7164, allocations: 8 kB / 459.3 MB, free: 13.78 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001389/0.7178, allocations: 0.6093 MB / 460 MB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.7178, allocations: 8.031 kB / 460 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.718, allocations: 78.52 kB / 460 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.719, allocations: 91.36 kB / 460.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.7226, allocations: 0.8604 MB / 461 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.7227, allocations: 21.12 kB / 461 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7228, allocations: 43.94 kB / 461.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.724, allocations: 452.7 kB / 461.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.724, allocations: 0 / 461.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.7241, allocations: 23.92 kB / 461.5 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.7242, allocations: 25.33 kB / 461.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.7251, allocations: 325.4 kB / 461.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.7288, allocations: 1.728 MB / 463.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.7293, allocations: 145.1 kB / 463.7 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.7296, allocations: 111.2 kB / 463.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.7297, allocations: 0 / 463.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.7297, allocations: 42.55 kB / 463.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.7297, allocations: 0 / 463.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002055/0.7318, allocations: 0.7064 MB / 464.6 MB, free: 8.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.7319, allocations: 77.11 kB / 464.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.7324, allocations: 274.7 kB / 464.9 MB, free: 7.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.7324, allocations: 29.7 kB / 465 MB, free: 7.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.7327, allocations: 259.4 kB / 465.2 MB, free: 7.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.7328, allocations: 63.09 kB / 465.3 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.7328, allocations: 4 kB / 465.3 MB, free: 7.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.733, allocations: 346.8 kB / 465.6 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.7333, allocations: 92.25 kB / 465.7 MB, free: 7.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.7337, allocations: 190.2 kB / 465.9 MB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.7341, allocations: 135.8 kB / 466 MB, free: 6.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7341, allocations: 7.938 kB / 466 MB, free: 6.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001582/0.7357, allocations: 456.3 kB / 466.5 MB, free: 6.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.7357, allocations: 8 kB / 466.5 MB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00104/0.7368, allocations: 305 kB / 466.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/0.7376, allocations: 132.9 kB / 466.9 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.7381, allocations: 51.91 kB / 467 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.7424, allocations: 2.212 MB / 469.2 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.7429, allocations: 19.91 kB / 469.2 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.7429, allocations: 8 kB / 469.2 MB, free: 3.359 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.7431, allocations: 124.9 kB / 469.3 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.7432, allocations: 31.66 kB / 469.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.7439, allocations: 253.2 kB / 469.6 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.744, allocations: 4 kB / 469.6 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.744, allocations: 3.938 kB / 469.6 MB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.744, allocations: 3.984 kB / 469.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.7459, allocations: 0.7351 MB / 470.4 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.746, allocations: 0 / 470.4 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.7464, allocations: 39.97 kB / 470.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.7466, allocations: 36.83 kB / 470.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.7467, allocations: 12.05 kB / 470.4 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.7467, allocations: 4 kB / 470.4 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7467, allocations: 3.938 kB / 470.4 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/0.7477, allocations: 474 kB / 470.9 MB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.7478, allocations: 108.7 kB / 471 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.7479, allocations: 8 kB / 471 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.7482, allocations: 7.984 kB / 471 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.7483, allocations: 19.86 kB / 471.1 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.7483, allocations: 4 kB / 471.1 MB, free: 1.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.7487, allocations: 218.2 kB / 471.3 MB, free: 1.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7487, allocations: 4 kB / 471.3 MB, free: 1.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007443/0.7494, allocations: 100 kB / 471.4 MB, free: 1.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001518/0.751, allocations: 1.237 MB / 472.6 MB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.7521, allocations: 385.3 kB / 473 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7521, allocations: 0 / 473 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.7524, allocations: 177.8 kB / 473.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.7531, allocations: 62.17 kB / 473.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.7553, allocations: 0.7623 MB / 474 MB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.756, allocations: 0.8499 MB / 474.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.7564, allocations: 62.92 kB / 474.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.7567, allocations: 127.4 kB / 475 MB, free: 13.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.266e-06/0.7567, allocations: 0 / 475 MB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.7989, allocations: 7.194 MB / 482.2 MB, free: 6.133 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.7993, allocations: 184 kB / 482.4 MB, free: 5.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.519, allocations: 7.875 kB / 482.4 MB, free: 5.902 MB / 410.7 MB