Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.51/2.51, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.961e-05, allocations: 3.938 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 53.25 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5842, allocations: 93.77 MB / 449.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5846, allocations: 91.94 kB / 449.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04935/0.634, allocations: 10.88 MB / 460.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.634, allocations: 4 kB / 460.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.586e-05/0.6341, allocations: 12 kB / 460.3 MB, free: 12.71 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.00164/0.6357, allocations: 0.6953 MB / 461 MB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6358, allocations: 12.03 kB / 461 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.6359, allocations: 78.52 kB / 461.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.6361, allocations: 55.34 kB / 461.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/0.6411, allocations: 1.183 MB / 462.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.6411, allocations: 33.45 kB / 462.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.6412, allocations: 36 kB / 462.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.6424, allocations: 493.3 kB / 462.9 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.6424, allocations: 7.875 kB / 462.9 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.6425, allocations: 16 kB / 462.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/0.6426, allocations: 20.77 kB / 462.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.6435, allocations: 341.4 kB / 463.2 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.6475, allocations: 2.091 MB / 465.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.6482, allocations: 235.1 kB / 465.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.6487, allocations: 134.1 kB / 465.7 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.6487, allocations: 4.125 kB / 465.7 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.6488, allocations: 38.75 kB / 465.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/0.6488, allocations: 0 / 465.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001637/0.6504, allocations: 0.6888 MB / 466.4 MB, free: 6.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.6505, allocations: 81.05 kB / 466.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.6511, allocations: 338.7 kB / 466.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6511, allocations: 29.7 kB / 466.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.6514, allocations: 291 kB / 467.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.6515, allocations: 82.84 kB / 467.2 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.6515, allocations: 4 kB / 467.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6517, allocations: 358.8 kB / 467.6 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.6521, allocations: 84.86 kB / 467.7 MB, free: 4.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.6526, allocations: 264.3 kB / 467.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.6531, allocations: 137.1 kB / 468.1 MB, free: 4.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6531, allocations: 0 / 468.1 MB, free: 4.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001496/0.6546, allocations: 430.1 kB / 468.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.6547, allocations: 8 kB / 468.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.6547, allocations: 8 kB / 468.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.6551, allocations: 57.39 kB / 468.5 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.6557, allocations: 83.84 kB / 468.6 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.6583, allocations: 1.484 MB / 470.1 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.6589, allocations: 12 kB / 470.1 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.659, allocations: 20 kB / 470.1 MB, free: 2.227 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.0002014/0.6592, allocations: 136.8 kB / 470.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6593, allocations: 39.48 kB / 470.3 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.6602, allocations: 232.8 kB / 470.5 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6602, allocations: 8.062 kB / 470.6 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6602, allocations: 0 / 470.6 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.6602, allocations: 5.391 kB / 470.6 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.662, allocations: 0.6672 MB / 471.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.662, allocations: 4 kB / 471.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.6626, allocations: 55.91 kB / 471.3 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.6627, allocations: 0 / 471.3 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.6627, allocations: 4 kB / 471.3 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6627, allocations: 4.031 kB / 471.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6628, allocations: 4 kB / 471.3 MB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6638, allocations: 451.9 kB / 471.7 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.6641, allocations: 120.7 kB / 471.9 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.6642, allocations: 8 kB / 471.9 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.6646, allocations: 11.98 kB / 471.9 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.6647, allocations: 15.92 kB / 471.9 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.6647, allocations: 11.95 kB / 471.9 MB, free: 356 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005492/0.6653, allocations: 249.2 kB / 472.1 MB, free: 112 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6653, allocations: 1.406 kB / 472.1 MB, free: 112 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6664, allocations: 111.9 kB / 472.3 MB, free: 0 / 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.001822/0.6683, allocations: 1.167 MB / 473.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.6697, allocations: 354.8 kB / 473.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6697, allocations: 4.312 kB / 473.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.67, allocations: 87.92 kB / 473.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6712, allocations: 85.39 kB / 473.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.6743, allocations: 0.7026 MB / 474.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/0.6752, allocations: 0.8707 MB / 475.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006617/0.6759, allocations: 80.12 kB / 475.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.6763, allocations: 147.4 kB / 475.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6763, allocations: 0 / 475.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06726/0.7436, allocations: 7.761 MB / 483.5 MB, free: 4.727 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004495/0.7442, allocations: 177.2 kB / 483.7 MB, free: 4.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.362, allocations: 0 / 483.7 MB, free: 4.5 MB / 410.7 MB