Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.532/2.532, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.231e-05/5.239e-05, allocations: 7.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6046, allocations: 90.71 MB / 446.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.605, allocations: 87.95 kB / 446.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06877/0.6737, allocations: 12.82 MB / 459.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6738, allocations: 4 kB / 459.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.619e-05/0.6739, allocations: 8 kB / 459.2 MB, free: 13.83 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001923/0.6758, allocations: 0.6249 MB / 459.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.6759, allocations: 8.031 kB / 459.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.6761, allocations: 78.53 kB / 459.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.6776, allocations: 99.36 kB / 460 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.6821, allocations: 0.865 MB / 460.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.6822, allocations: 25.12 kB / 460.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6824, allocations: 43.88 kB / 460.9 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.6839, allocations: 452.8 kB / 461.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.684, allocations: 0 / 461.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.6841, allocations: 16 kB / 461.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.728e-05/0.6842, allocations: 24.77 kB / 461.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6855, allocations: 325.3 kB / 461.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.6905, allocations: 1.632 MB / 463.3 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.6912, allocations: 169.1 kB / 463.5 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.6916, allocations: 115.6 kB / 463.6 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.6917, allocations: 4 kB / 463.6 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.6917, allocations: 38.56 kB / 463.7 MB, free: 9.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 7.654e-06/0.6918, allocations: 0 / 463.7 MB, free: 9.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002563/0.6943, allocations: 0.704 MB / 464.4 MB, free: 8.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.6945, allocations: 85.09 kB / 464.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.6951, allocations: 266.8 kB / 464.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.6952, allocations: 29.69 kB / 464.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.6955, allocations: 255.5 kB / 465 MB, free: 7.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6957, allocations: 71 kB / 465 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.6957, allocations: 4 kB / 465.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.6959, allocations: 346.8 kB / 465.4 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.6963, allocations: 95.91 kB / 465.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.6968, allocations: 188.8 kB / 465.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.6973, allocations: 132 kB / 465.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.6974, allocations: 0 / 465.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001783/0.6992, allocations: 422.8 kB / 466.2 MB, free: 6.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.6992, allocations: 4 kB / 466.2 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001132/0.7004, allocations: 261.1 kB / 466.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007228/0.7011, allocations: 77.72 kB / 466.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.7018, allocations: 63.91 kB / 466.6 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.705, allocations: 1.581 MB / 468.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.7056, allocations: 15.95 kB / 468.2 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.7056, allocations: 15.98 kB / 468.2 MB, free: 4.234 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 (34): * Single equations (assignments): 33 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.7059, allocations: 128.9 kB / 468.3 MB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.706, allocations: 27.62 kB / 468.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/0.7068, allocations: 262.3 kB / 468.6 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7069, allocations: 0 / 468.6 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7069, allocations: 8 kB / 468.6 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.7069, allocations: 4.734 kB / 468.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.7089, allocations: 0.7497 MB / 469.4 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7089, allocations: 0 / 469.4 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.7095, allocations: 55.91 kB / 469.4 MB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.7095, allocations: 4 kB / 469.5 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.7095, allocations: 4 kB / 469.5 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.7096, allocations: 7.984 kB / 469.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7096, allocations: 0 / 469.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.7105, allocations: 475.7 kB / 469.9 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.7107, allocations: 112.7 kB / 470 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.7108, allocations: 8 kB / 470 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.7111, allocations: 8 kB / 470.1 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.7111, allocations: 23.91 kB / 470.1 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.7112, allocations: 4 kB / 470.1 MB, free: 2.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.7115, allocations: 218.2 kB / 470.3 MB, free: 2.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7115, allocations: 0 / 470.3 MB, free: 2.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006813/0.7122, allocations: 99.98 kB / 470.4 MB, free: 1.926 MB / 394.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 (23): * Single equations (assignments): 22 * 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.001462/0.7137, allocations: 1.25 MB / 471.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009916/0.7147, allocations: 361.3 kB / 472 MB, free: 276 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7147, allocations: 0.875 kB / 472 MB, free: 276 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.715, allocations: 91.91 kB / 472.1 MB, free: 184 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.7156, allocations: 69.3 kB / 472.2 MB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.718, allocations: 0.8238 MB / 473 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.7186, allocations: 0.8502 MB / 473.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003958/0.719, allocations: 70.91 kB / 473.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.7193, allocations: 135.4 kB / 474 MB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7194, allocations: 4 kB / 474 MB, free: 14.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.7629, allocations: 7.059 MB / 481.1 MB, free: 7.184 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.7632, allocations: 173.1 kB / 481.3 MB, free: 6.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.284, allocations: 7.938 kB / 481.3 MB, free: 6.953 MB / 410.7 MB