Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.41/2.41, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.774e-05/4.79e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 53.24 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5871, allocations: 93.78 MB / 449.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.5875, allocations: 83.95 kB / 449.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05283/0.6403, allocations: 10.88 MB / 460.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6404, allocations: 0.5625 kB / 460.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.507e-05/0.6404, allocations: 15.94 kB / 460.3 MB, free: 12.94 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002035/0.6425, allocations: 0.6917 MB / 461 MB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.6426, allocations: 8.031 kB / 461 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002446/0.6428, allocations: 86.47 kB / 461.1 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.643, allocations: 51.34 kB / 461.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.6486, allocations: 1.188 MB / 462.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.6487, allocations: 28.78 kB / 462.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.6488, allocations: 40.59 kB / 462.4 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.6501, allocations: 496.8 kB / 462.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6502, allocations: 0 / 462.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.6503, allocations: 16 kB / 462.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/0.6504, allocations: 20.72 kB / 462.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.6514, allocations: 345.4 kB / 463.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.6558, allocations: 2.091 MB / 465.3 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.6566, allocations: 233.8 kB / 465.6 MB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.6571, allocations: 126.1 kB / 465.7 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.6571, allocations: 12.16 kB / 465.7 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.6572, allocations: 40 kB / 465.7 MB, free: 7.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.296e-06/0.6572, allocations: 0 / 465.7 MB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001864/0.6591, allocations: 0.6847 MB / 466.4 MB, free: 6.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.6592, allocations: 89.03 kB / 466.5 MB, free: 6.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.6598, allocations: 322.8 kB / 466.8 MB, free: 6.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.6599, allocations: 29.7 kB / 466.8 MB, free: 6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.6601, allocations: 298.9 kB / 467.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6603, allocations: 82.84 kB / 467.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.6603, allocations: 12.03 kB / 467.2 MB, free: 5.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6605, allocations: 350.8 kB / 467.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.6607, allocations: 84.84 kB / 467.7 MB, free: 5.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.6612, allocations: 268.3 kB / 467.9 MB, free: 4.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.6615, allocations: 135.7 kB / 468.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6615, allocations: 4 kB / 468.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001225/0.6628, allocations: 429.8 kB / 468.5 MB, free: 4.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6629, allocations: 8.781 kB / 468.5 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.6629, allocations: 4 kB / 468.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.6632, allocations: 64.83 kB / 468.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.6638, allocations: 83.83 kB / 468.6 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.6659, allocations: 1.48 MB / 470.1 MB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.6664, allocations: 20 kB / 470.1 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.6665, allocations: 20 kB / 470.2 MB, free: 2.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.6667, allocations: 131.5 kB / 470.3 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.6668, allocations: 43.48 kB / 470.3 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.6674, allocations: 236.9 kB / 470.6 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6674, allocations: 0 / 470.6 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6675, allocations: 0 / 470.6 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6675, allocations: 4 kB / 470.6 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.6689, allocations: 0.67 MB / 471.2 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.669, allocations: 3.984 kB / 471.2 MB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.6695, allocations: 39.98 kB / 471.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.6695, allocations: 11.97 kB / 471.3 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.6696, allocations: 8.172 kB / 471.3 MB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.6696, allocations: 8 kB / 471.3 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6696, allocations: 0 / 471.3 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.6705, allocations: 455.9 kB / 471.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.6708, allocations: 120.7 kB / 471.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.6709, allocations: 8 kB / 471.9 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.6712, allocations: 4 kB / 471.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.6712, allocations: 15.97 kB / 471.9 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6712, allocations: 7.938 kB / 471.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.6717, allocations: 261.1 kB / 472.2 MB, free: 340 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6717, allocations: 0 / 472.2 MB, free: 340 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00083/0.6726, allocations: 107.9 kB / 472.3 MB, free: 232 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001553/0.6742, allocations: 1.163 MB / 473.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.6753, allocations: 362.7 kB / 473.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6754, allocations: 0 / 473.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.6756, allocations: 91.91 kB / 473.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.6765, allocations: 81.97 kB / 473.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.6789, allocations: 0.7103 MB / 474.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.6796, allocations: 0.859 MB / 475.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005152/0.6801, allocations: 80.14 kB / 475.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.6805, allocations: 159.4 kB / 475.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6805, allocations: 0 / 475.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/0.7214, allocations: 7.751 MB / 483.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.7219, allocations: 192.7 kB / 483.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.289, allocations: 0 / 483.7 MB, free: 4.719 MB / 410.7 MB