Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.504/2.504, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.526e-05, allocations: 4 kB / 301.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 53.23 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6363, allocations: 116.2 MB / 470.8 MB, free: 1.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.6367, allocations: 91.94 kB / 470.9 MB, free: 1.559 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1563/0.7931, allocations: 34.8 MB / 0.4938 GB, free: 14.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.7932, allocations: 0 / 0.4938 GB, free: 14.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.7933, allocations: 24 kB / 0.4939 GB, free: 14.37 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004564/0.7979, allocations: 1.307 MB / 0.4951 GB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.7979, allocations: 8.031 kB / 0.4951 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005233/0.7985, allocations: 168.6 kB / 0.4953 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.7994, allocations: 158.8 kB / 0.4954 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.8044, allocations: 1.199 MB / 0.4966 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.8046, allocations: 77.98 kB / 0.4967 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005301/0.8051, allocations: 123.8 kB / 0.4968 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.8085, allocations: 1.26 MB / 0.498 GB, free: 9.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.8086, allocations: 7.938 kB / 0.498 GB, free: 9.898 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.8088, allocations: 40 kB / 0.4981 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.809, allocations: 69.88 kB / 0.4982 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.8119, allocations: 0.9761 MB / 0.4991 GB, free: 8.812 MB / 442.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.8239, allocations: 4.911 MB / 0.5039 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.8256, allocations: 0.6984 MB / 0.5046 GB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.8264, allocations: 319.4 kB / 0.5049 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.8265, allocations: 20.55 kB / 0.5049 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.8266, allocations: 43.06 kB / 0.505 GB, free: 2.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 5.871e-06/0.8266, allocations: 0 / 0.505 GB, free: 2.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.008107/0.8347, allocations: 2.677 MB / 0.5076 GB, free: 15.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.8348, allocations: 123.4 kB / 0.5077 GB, free: 15.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.836, allocations: 0.5977 MB / 0.5083 GB, free: 14.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.8362, allocations: 37.7 kB / 0.5083 GB, free: 14.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.8367, allocations: 0.5519 MB / 0.5088 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.837, allocations: 256.4 kB / 0.5091 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.8371, allocations: 16 kB / 0.5091 GB, free: 14.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8372, allocations: 346.8 kB / 0.5094 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.838, allocations: 265.9 kB / 0.5097 GB, free: 13.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/0.839, allocations: 0.5026 MB / 0.5102 GB, free: 12.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.8399, allocations: 361.9 kB / 0.5105 GB, free: 12.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/0.8399, allocations: 7.938 kB / 0.5105 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004154/0.8441, allocations: 1.16 MB / 0.5117 GB, free: 11.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.8454, allocations: 2.962 MB / 0.5146 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.8455, allocations: 8 kB / 0.5146 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.848, allocations: 404.5 kB / 0.5149 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.8493, allocations: 167.7 kB / 0.5151 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.8518, allocations: 1.146 MB / 0.5162 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.853, allocations: 43.83 kB / 0.5163 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8531, allocations: 36 kB / 0.5163 GB, free: 6.352 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8531, allocations: 4 kB / 0.5163 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003979/0.8571, allocations: 1.108 MB / 0.5174 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.8572, allocations: 8 kB / 0.5174 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.8595, allocations: 392.8 kB / 0.5178 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.8608, allocations: 163.7 kB / 0.5179 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.317/1.178, allocations: 4.561 MB / 0.5224 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008856/1.179, allocations: 33.95 kB / 0.5224 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/1.179, allocations: 42.2 kB / 0.5225 GB, free: 124.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * Single equations (assignments): 78 * 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: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/1.179, allocations: 152 kB / 0.5226 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.179, allocations: 88.52 kB / 0.5227 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.182, allocations: 0.8419 MB / 0.5235 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.182, allocations: 11.53 kB / 0.5235 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.182, allocations: 2.031 kB / 0.5235 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.182, allocations: 5.094 kB / 0.5235 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/1.187, allocations: 1.783 MB / 0.5253 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.187, allocations: 6.531 kB / 0.5253 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/1.189, allocations: 168.1 kB / 0.5254 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-05/1.189, allocations: 3.219 kB / 0.5254 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.189, allocations: 18.44 kB / 0.5255 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.189, allocations: 10.59 kB / 0.5255 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.189, allocations: 1.094 kB / 0.5255 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/1.192, allocations: 1.252 MB / 0.5267 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/1.192, allocations: 215.2 kB / 0.5269 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.193, allocations: 17.25 kB / 0.5269 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/1.193, allocations: 21 kB / 0.5269 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.194, allocations: 46.06 kB / 0.527 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/1.194, allocations: 19.22 kB / 0.527 GB, free: 123.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009991/1.195, allocations: 477 kB / 0.5274 GB, free: 123.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.195, allocations: 0.9844 kB / 0.5274 GB, free: 123.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002342/1.197, allocations: 421.4 kB / 0.5278 GB, free: 123.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.003255/1.2, allocations: 2.102 MB / 0.5299 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004991/1.205, allocations: 1.489 MB / 0.5314 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.205, allocations: 1.344 kB / 0.5314 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009085/1.206, allocations: 329.6 kB / 0.5317 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.208, allocations: 217.8 kB / 0.5319 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/1.215, allocations: 2.265 MB / 0.5341 GB, free: 121.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.216, allocations: 1.195 MB / 0.5353 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009628/1.217, allocations: 416.1 kB / 0.5357 GB, free: 120.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.654e-06/1.217, allocations: 0 / 0.5357 GB, free: 120.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.999/4.217, allocations: 21 MB / 0.5562 GB, free: 119.6 MB / 458.7 MB