Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.233/2.233, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.892e-05, allocations: 7.938 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5501, allocations: 94.88 MB / 450.4 MB, free: 6.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.5505, allocations: 83.95 kB / 450.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0522/0.6027, allocations: 11.49 MB / 462 MB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6028, allocations: 4 kB / 462 MB, free: 11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.6028, allocations: 11.94 kB / 462 MB, free: 10.99 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00169/0.6045, allocations: 0.7635 MB / 462.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6046, allocations: 12.02 kB / 462.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.6047, allocations: 82.53 kB / 462.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.6049, allocations: 55.34 kB / 462.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.6099, allocations: 1.218 MB / 464.1 MB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.61, allocations: 35.56 kB / 464.2 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6101, allocations: 40 kB / 464.2 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.6114, allocations: 0.521 MB / 464.7 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.6114, allocations: 4 kB / 464.7 MB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.6115, allocations: 20 kB / 464.8 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.6115, allocations: 16.78 kB / 464.8 MB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6126, allocations: 373.3 kB / 465.1 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.6163, allocations: 1.932 MB / 467.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.6172, allocations: 317.4 kB / 467.4 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.6177, allocations: 181.7 kB / 467.6 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.6177, allocations: 4 kB / 467.6 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.6183, allocations: 272.7 kB / 467.8 MB, free: 4.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.6183, allocations: 0 / 467.8 MB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002449/0.6207, allocations: 1.066 MB / 468.9 MB, free: 3.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.6209, allocations: 166.2 kB / 469.1 MB, free: 3.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.6215, allocations: 347 kB / 469.4 MB, free: 3.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.6215, allocations: 33.7 kB / 469.4 MB, free: 3.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.6218, allocations: 293.3 kB / 469.7 MB, free: 2.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.622, allocations: 118.3 kB / 469.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.622, allocations: 8 kB / 469.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6222, allocations: 362.7 kB / 470.2 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.6225, allocations: 121.1 kB / 470.3 MB, free: 2.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.623, allocations: 277 kB / 470.6 MB, free: 1.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.6234, allocations: 178.4 kB / 470.7 MB, free: 1.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6235, allocations: 0 / 470.7 MB, free: 1.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001163/0.6246, allocations: 498.5 kB / 471.2 MB, free: 1.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.6247, allocations: 37.69 kB / 471.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6247, allocations: 7.938 kB / 471.3 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.6248, allocations: 8 kB / 471.3 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.6256, allocations: 111.8 kB / 471.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/0.6256, allocations: 11.94 kB / 471.4 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.6261, allocations: 28.39 kB / 471.4 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.6262, allocations: 31.98 kB / 471.5 MB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001887/0.6264, allocations: 174.4 kB / 471.6 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6265, allocations: 47.44 kB / 471.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.6276, allocations: 448.6 kB / 472.1 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6276, allocations: 4 kB / 472.1 MB, free: 312 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6276, allocations: 0 / 472.1 MB, free: 312 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6277, allocations: 4 kB / 472.1 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.6295, allocations: 0.9344 MB / 473.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6296, allocations: 4 kB / 473.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.6302, allocations: 67.89 kB / 473.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.6302, allocations: 4 kB / 473.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.6303, allocations: 8 kB / 473.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.6303, allocations: 4 kB / 473.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6303, allocations: 32 / 473.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6318, allocations: 0.7245 MB / 473.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.6321, allocations: 136.5 kB / 474 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.6322, allocations: 15.98 kB / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.6326, allocations: 17.47 kB / 474 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.6327, allocations: 27.92 kB / 474.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.6328, allocations: 31.95 kB / 474.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004366/0.6332, allocations: 261.2 kB / 474.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6332, allocations: 0 / 474.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007272/0.634, allocations: 116 kB / 474.5 MB, free: 13.84 MB / 410.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: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.002021/0.636, allocations: 1.461 MB / 475.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.637, allocations: 390.8 kB / 476.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.637, allocations: 1.375 kB / 476.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.6375, allocations: 255.2 kB / 476.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.6383, allocations: 95.42 kB / 476.7 MB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.6408, allocations: 0.8296 MB / 477.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.6414, allocations: 0.8937 MB / 478.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005471/0.642, allocations: 92.3 kB / 478.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.6423, allocations: 171.4 kB / 478.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6423, allocations: 0 / 478.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.6839, allocations: 8.656 MB / 487.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.6843, allocations: 160.9 kB / 487.4 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/3.652, allocations: 3.938 kB / 487.5 MB, free: 0.7266 MB / 410.7 MB