Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.417/2.417, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.634e-05, allocations: 3.938 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 53.25 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6048, allocations: 99.48 MB / 455 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.6052, allocations: 87.95 kB / 455.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08203/0.6873, allocations: 17.4 MB / 472.5 MB, free: 448 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6873, allocations: 0 / 472.5 MB, free: 448 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.071e-05/0.6874, allocations: 16 kB / 472.5 MB, free: 432 kB / 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.002401/0.6898, allocations: 0.7772 MB / 473.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.6899, allocations: 12.03 kB / 473.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.6901, allocations: 90.52 kB / 473.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.6921, allocations: 151 kB / 473.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.6975, allocations: 1.214 MB / 474.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.6976, allocations: 37.52 kB / 474.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.6978, allocations: 47.91 kB / 474.8 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6998, allocations: 0.8369 MB / 475.7 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.6998, allocations: 0 / 475.7 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.6999, allocations: 24 kB / 475.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/0.7003, allocations: 32.77 kB / 475.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.7019, allocations: 0.5716 MB / 476.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.7227, allocations: 5.778 MB / 482.1 MB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.7247, allocations: 0.7522 MB / 482.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.7261, allocations: 0.6357 MB / 483.5 MB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.7263, allocations: 8.438 kB / 483.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.7263, allocations: 43 kB / 483.5 MB, free: 5.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 4.418e-06/0.7263, allocations: 0 / 483.5 MB, free: 5.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.03241/0.7588, allocations: 5.315 MB / 488.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.7589, allocations: 81.55 kB / 488.9 MB, free: 15.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.7596, allocations: 351 kB / 489.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.7598, allocations: 41.64 kB / 489.3 MB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.7601, allocations: 311.8 kB / 489.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.7606, allocations: 273 kB / 489.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.7607, allocations: 8 kB / 489.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.761, allocations: 374.8 kB / 490.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.7629, allocations: 0.7905 MB / 491 MB, free: 13.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.7651, allocations: 0.9863 MB / 492 MB, free: 12.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.7673, allocations: 0.9036 MB / 492.9 MB, free: 11.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7673, allocations: 0 / 492.9 MB, free: 11.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.03111/0.7984, allocations: 5.353 MB / 498.3 MB, free: 6.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.7985, allocations: 11.94 kB / 498.3 MB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02318/0.8217, allocations: 4.242 MB / 0.4908 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03515/0.8569, allocations: 5.839 MB / 0.4965 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009296/0.8579, allocations: 119.8 kB / 0.4966 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02984/0.8877, allocations: 10.95 MB / 0.5073 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.8889, allocations: 55.94 kB / 0.5073 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/0.8893, allocations: 171.9 kB / 0.5075 GB, free: 0.5469 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.000385/0.8897, allocations: 142.1 kB / 0.5076 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.8899, allocations: 47.44 kB / 0.5077 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/0.9163, allocations: 4.068 MB / 0.5116 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-05/0.9164, allocations: 12 kB / 0.5116 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9164, allocations: 0 / 0.5116 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.9165, allocations: 7.984 kB / 0.5117 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/0.9469, allocations: 5.469 MB / 0.517 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.947, allocations: 4 kB / 0.517 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.9476, allocations: 51.91 kB / 0.517 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4121/1.36, allocations: 7.955 MB / 0.5248 GB, free: 135.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009217/1.361, allocations: 242 kB / 0.525 GB, free: 135.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04489/1.406, allocations: 13.63 MB / 0.5384 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.406, allocations: 3.359 kB / 0.5384 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02684/1.432, allocations: 4.522 MB / 0.5428 GB, free: 132.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/1.433, allocations: 124.5 kB / 0.5429 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.433, allocations: 190.3 kB / 0.5431 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.435, allocations: 48.86 kB / 0.5431 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/1.436, allocations: 148.2 kB / 0.5433 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004048/1.436, allocations: 170 kB / 0.5434 GB, free: 132.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005209/1.436, allocations: 268.1 kB / 0.5437 GB, free: 132.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.436, allocations: 0 / 0.5437 GB, free: 132.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002361/1.439, allocations: 388.7 kB / 0.5441 GB, free: 132.2 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.02781/1.467, allocations: 5.411 MB / 0.5493 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007924/1.475, allocations: 2.364 MB / 0.5516 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.475, allocations: 0 / 0.5516 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006025/1.481, allocations: 1.54 MB / 0.5531 GB, free: 128.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.482, allocations: 115.5 kB / 0.5533 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/1.49, allocations: 3.545 MB / 0.5567 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/1.491, allocations: 0.9785 MB / 0.5577 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006997/1.492, allocations: 146.9 kB / 0.5578 GB, free: 126.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/1.492, allocations: 207.7 kB / 0.558 GB, free: 126.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/1.492, allocations: 2.812 kB / 0.558 GB, free: 126.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08961/1.582, allocations: 39.23 MB / 0.5963 GB, free: 97.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/1.582, allocations: 176 kB / 0.5965 GB, free: 97.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.279, allocations: 0 / 0.5965 GB, free: 97.66 MB / 458.7 MB