Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.381/2.381, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.9e-05, allocations: 4 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.584, allocations: 94.33 MB / 449.9 MB, free: 7.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5843, allocations: 79.95 kB / 449.9 MB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09069/0.6751, allocations: 19.22 MB / 469.2 MB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6751, allocations: 4 kB / 469.2 MB, free: 3.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.6752, allocations: 12 kB / 469.2 MB, free: 3.742 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002306/0.6775, allocations: 0.9073 MB / 470.1 MB, free: 2.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6775, allocations: 8.031 kB / 470.1 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.6778, allocations: 131.1 kB / 470.2 MB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/0.6788, allocations: 142.9 kB / 470.4 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.6817, allocations: 0.8634 MB / 471.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.6818, allocations: 58 kB / 471.3 MB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.682, allocations: 75.98 kB / 471.3 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.6844, allocations: 1.076 MB / 472.4 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.6844, allocations: 7.938 kB / 472.4 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.6846, allocations: 35.98 kB / 472.5 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.781e-05/0.6847, allocations: 49.98 kB / 472.5 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.6867, allocations: 0.7694 MB / 473.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008345/0.6951, allocations: 5.001 MB / 478.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.6963, allocations: 393.7 kB / 478.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.6969, allocations: 222.4 kB / 478.9 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.6969, allocations: 8.312 kB / 478.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.697, allocations: 38.89 kB / 478.9 MB, free: 9.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 3.637e-06/0.697, allocations: 1.969 kB / 478.9 MB, free: 9.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.002578/0.6996, allocations: 0.9121 MB / 479.8 MB, free: 8.586 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.6997, allocations: 81.11 kB / 479.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.7005, allocations: 439.7 kB / 480.4 MB, free: 8.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.7006, allocations: 29.7 kB / 480.4 MB, free: 8.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.701, allocations: 457.7 kB / 480.8 MB, free: 7.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.7013, allocations: 169.6 kB / 481 MB, free: 7.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.7013, allocations: 12 kB / 481 MB, free: 7.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.7016, allocations: 370.8 kB / 481.4 MB, free: 7.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006296/0.7022, allocations: 233.7 kB / 481.6 MB, free: 6.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.7032, allocations: 0.6066 MB / 482.2 MB, free: 5.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.7041, allocations: 367.3 kB / 482.6 MB, free: 5.629 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.7041, allocations: 4.172 kB / 482.6 MB, free: 5.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00222/0.7064, allocations: 0.8563 MB / 483.4 MB, free: 4.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.7064, allocations: 12 kB / 483.4 MB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.7065, allocations: 12 kB / 483.4 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.577e-05/0.7065, allocations: 20 kB / 483.5 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.7079, allocations: 207.6 kB / 483.7 MB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.252e-05/0.708, allocations: 24.48 kB / 483.7 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.7088, allocations: 51.88 kB / 483.7 MB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.7089, allocations: 40 kB / 483.8 MB, free: 4.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (97): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.7091, allocations: 165.7 kB / 483.9 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7092, allocations: 63.28 kB / 484 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.7108, allocations: 0.542 MB / 484.5 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/0.7109, allocations: 12 kB / 484.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7109, allocations: 0 / 484.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.7109, allocations: 3.984 kB / 484.6 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.7143, allocations: 1.326 MB / 485.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.7143, allocations: 0 / 485.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.7152, allocations: 111.9 kB / 486 MB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.7153, allocations: 4 kB / 486 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.7153, allocations: 8 kB / 486 MB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.7153, allocations: 7.938 kB / 486 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.7153, allocations: 5.219 kB / 486 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.7168, allocations: 0.7755 MB / 486.8 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.717, allocations: 124.5 kB / 486.9 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.7172, allocations: 19.98 kB / 486.9 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.7177, allocations: 23.97 kB / 487 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.7178, allocations: 31.95 kB / 487 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.7178, allocations: 15.98 kB / 487 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00058/0.7184, allocations: 321.5 kB / 487.3 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7184, allocations: 0 / 487.3 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001114/0.7196, allocations: 191.9 kB / 487.5 MB, free: 476 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (48): * Single equations (assignments): 45 * Array equations: 2 * 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.002205/0.7218, allocations: 1.977 MB / 489.5 MB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.7234, allocations: 0.5878 MB / 490.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7235, allocations: 0 / 490.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.7241, allocations: 261 kB / 490.3 MB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.725, allocations: 95.03 kB / 490.4 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.729, allocations: 1.24 MB / 491.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.73, allocations: 1.016 MB / 492.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.7311, allocations: 220.9 kB / 492.9 MB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.7317, allocations: 259.3 kB / 493.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7317, allocations: 0 / 493.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.7744, allocations: 10.81 MB / 0.4921 GB, free: 15.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.7747, allocations: 150.3 kB / 0.4923 GB, free: 15.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.379, allocations: 0 / 0.4923 GB, free: 15.68 MB / 442.7 MB