Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.28/2.28, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.839e-05, allocations: 4 kB / 301.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5898, allocations: 93.78 MB / 448.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.5902, allocations: 91.94 kB / 448.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05122/0.6415, allocations: 10.88 MB / 459.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6415, allocations: 0 / 459.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.6416, allocations: 8 kB / 459.3 MB, free: 13.01 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.001839/0.6434, allocations: 0.6996 MB / 460 MB, free: 12.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6435, allocations: 8.031 kB / 460.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.6437, allocations: 78.53 kB / 460.1 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.6439, allocations: 55.33 kB / 460.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/0.6492, allocations: 1.187 MB / 461.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.6493, allocations: 37.45 kB / 461.4 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6494, allocations: 36.56 kB / 461.4 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6507, allocations: 488.8 kB / 461.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6508, allocations: 3.938 kB / 461.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.6508, allocations: 27.92 kB / 462 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-05/0.6509, allocations: 16.78 kB / 462 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.6519, allocations: 354.9 kB / 462.3 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.6563, allocations: 2.083 MB / 464.4 MB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.657, allocations: 225.8 kB / 464.6 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.6574, allocations: 138 kB / 464.8 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.6575, allocations: 192 / 464.8 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.6575, allocations: 38.75 kB / 464.8 MB, free: 7.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.6575, allocations: 0 / 464.8 MB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001831/0.6594, allocations: 0.6847 MB / 465.5 MB, free: 6.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.6595, allocations: 85.05 kB / 465.6 MB, free: 6.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.6601, allocations: 334.7 kB / 465.9 MB, free: 6.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.6602, allocations: 33.73 kB / 465.9 MB, free: 6.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.6605, allocations: 337.4 kB / 466.2 MB, free: 5.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.6606, allocations: 78.84 kB / 466.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.6606, allocations: 12 kB / 466.3 MB, free: 5.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6608, allocations: 326.8 kB / 466.7 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.6611, allocations: 84.8 kB / 466.7 MB, free: 5.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.6615, allocations: 268.3 kB / 467 MB, free: 4.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.6618, allocations: 137 kB / 467.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6619, allocations: 0 / 467.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00115/0.663, allocations: 414.7 kB / 467.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.6631, allocations: 8 kB / 467.5 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6631, allocations: 8 kB / 467.6 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.6634, allocations: 52.83 kB / 467.6 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.6639, allocations: 75.84 kB / 467.7 MB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.666, allocations: 1.488 MB / 469.2 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.6665, allocations: 23.98 kB / 469.2 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.6665, allocations: 16 kB / 469.2 MB, free: 2.516 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.0001608/0.6667, allocations: 136.9 kB / 469.3 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.6668, allocations: 39.48 kB / 469.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/0.6674, allocations: 232.9 kB / 469.6 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6675, allocations: 5.484 kB / 469.6 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6675, allocations: 4.188 kB / 469.6 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.6675, allocations: 4 kB / 469.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.6688, allocations: 0.6632 MB / 470.3 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6689, allocations: 4.031 kB / 470.3 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.6694, allocations: 51.91 kB / 470.3 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.6694, allocations: 0 / 470.3 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.6694, allocations: 8 kB / 470.3 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6694, allocations: 0 / 470.3 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6694, allocations: 0 / 470.3 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/0.6703, allocations: 455.9 kB / 470.8 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.6705, allocations: 120.6 kB / 470.9 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.6706, allocations: 15.97 kB / 470.9 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.6709, allocations: 4 kB / 470.9 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.6709, allocations: 15.92 kB / 470.9 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.671, allocations: 11.95 kB / 471 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004275/0.6714, allocations: 258.7 kB / 471.2 MB, free: 408 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6714, allocations: 0 / 471.2 MB, free: 408 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.6722, allocations: 99.94 kB / 471.3 MB, free: 308 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.001399/0.6736, allocations: 1.168 MB / 472.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.6746, allocations: 362 kB / 472.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6746, allocations: 0 / 472.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.6749, allocations: 87.86 kB / 472.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.6757, allocations: 97.52 kB / 473 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.6779, allocations: 0.7471 MB / 473.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.6786, allocations: 0.8707 MB / 474.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.679, allocations: 151.4 kB / 474.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.679, allocations: 0 / 474.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.823/3.502, allocations: 8.131 MB / 482.9 MB, free: 4.582 MB / 410.7 MB