Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.323/2.323, allocations: 233 MB / 245.6 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.504e-05, allocations: 4 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 53.23 MB / 354.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/0.6124, allocations: 99.49 MB / 454.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/0.6129, allocations: 87.95 kB / 454.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09249/0.7054, allocations: 17.4 MB / 471.6 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7054, allocations: 0 / 471.6 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.276e-05/0.7055, allocations: 16 kB / 471.6 MB, free: 0.7266 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002471/0.708, allocations: 0.7772 MB / 472.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.7081, allocations: 8.031 kB / 472.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002677/0.7083, allocations: 94.52 kB / 472.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.7104, allocations: 147 kB / 472.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005436/0.7158, allocations: 1.21 MB / 473.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.7159, allocations: 33.52 kB / 473.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.7162, allocations: 51.91 kB / 473.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.7182, allocations: 0.8369 MB / 474.7 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.7183, allocations: 4 kB / 474.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7184, allocations: 16 kB / 474.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003287/0.7188, allocations: 32.77 kB / 474.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.7204, allocations: 0.5767 MB / 475.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.742, allocations: 5.782 MB / 481.1 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.744, allocations: 0.7444 MB / 481.9 MB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.7456, allocations: 0.6435 MB / 482.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.7458, allocations: 12.42 kB / 482.5 MB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.7458, allocations: 35 kB / 482.6 MB, free: 5.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.547e-06/0.7458, allocations: 0 / 482.6 MB, free: 5.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.03036/0.7762, allocations: 5.317 MB / 487.9 MB, free: 0 / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.7763, allocations: 92.06 kB / 488 MB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.777, allocations: 351 kB / 488.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.7773, allocations: 37.73 kB / 488.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.7776, allocations: 366.2 kB / 488.7 MB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.7781, allocations: 257 kB / 489 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.7782, allocations: 19.98 kB / 489 MB, free: 14.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7784, allocations: 342.8 kB / 489.3 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.7805, allocations: 0.7905 MB / 490.1 MB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.7827, allocations: 0.9966 MB / 491.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.7852, allocations: 0.8958 MB / 492 MB, free: 11.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7852, allocations: 0 / 492 MB, free: 11.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.03127/0.8165, allocations: 5.33 MB / 497.3 MB, free: 6.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.8166, allocations: 8 kB / 497.3 MB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02303/0.8396, allocations: 4.242 MB / 0.4898 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03569/0.8753, allocations: 5.839 MB / 0.4955 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.8763, allocations: 115.8 kB / 0.4956 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03035/0.9067, allocations: 10.96 MB / 0.5063 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.9079, allocations: 57.53 kB / 0.5064 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.9083, allocations: 167.9 kB / 0.5066 GB, free: 0.8633 MB / 442.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.9087, allocations: 147.5 kB / 0.5067 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.909, allocations: 51.42 kB / 0.5067 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/0.9352, allocations: 4.068 MB / 0.5107 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.9353, allocations: 8 kB / 0.5107 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9353, allocations: 0 / 0.5107 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.9353, allocations: 7.984 kB / 0.5107 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0309/0.9662, allocations: 5.465 MB / 0.5161 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.9663, allocations: 0 / 0.5161 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.9669, allocations: 59.89 kB / 0.5161 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3431/1.31, allocations: 7.957 MB / 0.5239 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006618/1.311, allocations: 238.6 kB / 0.5241 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/1.343, allocations: 13.64 MB / 0.5374 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.343, allocations: 1.281 kB / 0.5374 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/1.37, allocations: 4.522 MB / 0.5419 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/1.37, allocations: 124.3 kB / 0.542 GB, free: 132.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000666/1.371, allocations: 194.9 kB / 0.5422 GB, free: 132.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.372, allocations: 47.53 kB / 0.5422 GB, free: 132.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008149/1.373, allocations: 140.7 kB / 0.5423 GB, free: 132.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004132/1.373, allocations: 167.3 kB / 0.5425 GB, free: 132.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004878/1.374, allocations: 272.5 kB / 0.5428 GB, free: 132.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.374, allocations: 0 / 0.5428 GB, free: 132.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002563/1.376, allocations: 385.3 kB / 0.5431 GB, free: 132.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02613/1.402, allocations: 5.407 MB / 0.5484 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007446/1.41, allocations: 2.367 MB / 0.5507 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.41, allocations: 4.781 kB / 0.5507 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005797/1.416, allocations: 1.533 MB / 0.5522 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.417, allocations: 119.2 kB / 0.5523 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/1.425, allocations: 3.609 MB / 0.5559 GB, free: 127.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/1.426, allocations: 0.9832 MB / 0.5568 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.426, allocations: 215.7 kB / 0.557 GB, free: 126.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/1.426, allocations: 0 / 0.557 GB, free: 126.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.107/5.533, allocations: 25.88 MB / 0.5823 GB, free: 111.6 MB / 458.7 MB