Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.476/2.476, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.435e-05/4.445e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 53.23 MB / 355.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5909, allocations: 91.45 MB / 447 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.5913, allocations: 83.95 kB / 447.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06015/0.6514, allocations: 12.48 MB / 459.5 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6515, allocations: 0 / 459.5 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.828e-05/0.6516, allocations: 8 kB / 459.5 MB, free: 13.59 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.001506/0.6531, allocations: 0.6093 MB / 460.2 MB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6532, allocations: 8.031 kB / 460.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.6533, allocations: 78.52 kB / 460.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6544, allocations: 95.36 kB / 460.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/0.6583, allocations: 0.8565 MB / 461.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.6584, allocations: 24.78 kB / 461.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6585, allocations: 32.34 kB / 461.2 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.6596, allocations: 460.6 kB / 461.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.6597, allocations: 0 / 461.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.6598, allocations: 15.94 kB / 461.7 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/0.6598, allocations: 28.77 kB / 461.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.6607, allocations: 313.4 kB / 462 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.6647, allocations: 1.709 MB / 463.8 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.6652, allocations: 141.1 kB / 463.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.6656, allocations: 101.8 kB / 464 MB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.6656, allocations: 4 kB / 464 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.6657, allocations: 42.55 kB / 464 MB, free: 8.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 4.729e-06/0.6657, allocations: 0 / 464 MB, free: 8.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002361/0.6681, allocations: 0.6791 MB / 464.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.6682, allocations: 89.08 kB / 464.8 MB, free: 7.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.6687, allocations: 266.7 kB / 465.1 MB, free: 7.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.6688, allocations: 29.7 kB / 465.1 MB, free: 7.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.669, allocations: 255.4 kB / 465.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.6691, allocations: 60.33 kB / 465.4 MB, free: 7.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.6692, allocations: 8 kB / 465.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6694, allocations: 342.8 kB / 465.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.6696, allocations: 88.25 kB / 465.8 MB, free: 6.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.67, allocations: 185.1 kB / 466 MB, free: 6.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.6703, allocations: 124.6 kB / 466.1 MB, free: 6.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.6703, allocations: 4 kB / 466.1 MB, free: 6.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001433/0.6718, allocations: 444.7 kB / 466.6 MB, free: 6.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.6718, allocations: 4 kB / 466.6 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009772/0.6728, allocations: 283.5 kB / 466.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007789/0.6736, allocations: 128.8 kB / 467 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.674, allocations: 51.91 kB / 467 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.6782, allocations: 2.152 MB / 469.2 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.6787, allocations: 19.89 kB / 469.2 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.6788, allocations: 16 kB / 469.2 MB, free: 3.363 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.0001528/0.6789, allocations: 124.8 kB / 469.3 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.679, allocations: 23.72 kB / 469.4 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.6798, allocations: 253.1 kB / 469.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6798, allocations: 0 / 469.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6798, allocations: 0 / 469.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6798, allocations: 0 / 469.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.6818, allocations: 0.7195 MB / 470.3 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6818, allocations: 0 / 470.3 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.6823, allocations: 39.91 kB / 470.4 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.6825, allocations: 32.91 kB / 470.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.6825, allocations: 8 kB / 470.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.6843, allocations: 1.478 MB / 471.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6844, allocations: 0 / 471.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.6854, allocations: 450.2 kB / 472.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.6856, allocations: 112.7 kB / 472.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.6857, allocations: 11.94 kB / 472.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.686, allocations: 11.98 kB / 472.5 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.6861, allocations: 11.98 kB / 472.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6861, allocations: 8 kB / 472.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003692/0.6865, allocations: 218.2 kB / 472.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6865, allocations: 0 / 472.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007733/0.6873, allocations: 96 kB / 472.8 MB, free: 15.51 MB / 410.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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/0.6888, allocations: 1.218 MB / 474 MB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.69, allocations: 369.3 kB / 474.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.69, allocations: 0 / 474.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.6905, allocations: 223.5 kB / 474.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.6912, allocations: 61.02 kB / 474.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.6936, allocations: 0.7626 MB / 475.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.6945, allocations: 0.8499 MB / 476.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000489/0.695, allocations: 58.92 kB / 476.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.6953, allocations: 123.4 kB / 476.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6954, allocations: 4 kB / 476.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08659/0.782, allocations: 7.267 MB / 483.7 MB, free: 4.535 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.7822, allocations: 196.8 kB / 483.9 MB, free: 4.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.46, allocations: 3.938 kB / 483.9 MB, free: 4.293 MB / 410.7 MB