Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.521/2.521, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.937e-05, allocations: 7.984 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.6058, allocations: 89.6 MB / 445.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/0.6063, allocations: 79.95 kB / 445.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05809/0.6644, allocations: 14.16 MB / 459.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.52e-06/0.6644, allocations: 0 / 459.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.6645, allocations: 7.938 kB / 459.4 MB, free: 13.6 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009294/0.6654, allocations: 0.4892 MB / 459.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.6655, allocations: 8.031 kB / 459.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.6656, allocations: 50.55 kB / 459.9 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6669, allocations: 99.61 kB / 460 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.6674, allocations: 266.5 kB / 460.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.6675, allocations: 12 kB / 460.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.6675, allocations: 20 kB / 460.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.6683, allocations: 306.2 kB / 460.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6683, allocations: 3.953 kB / 460.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.6683, allocations: 8 kB / 460.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.6685, allocations: 35.91 kB / 460.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.6692, allocations: 267.8 kB / 460.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.672, allocations: 1.265 MB / 462.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.6728, allocations: 225.1 kB / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.6732, allocations: 105.7 kB / 462.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.6732, allocations: 7.984 kB / 462.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6733, allocations: 34.56 kB / 462.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.466e-06/0.6733, allocations: 0 / 462.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001129/0.6744, allocations: 360.5 kB / 462.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.6745, allocations: 81.11 kB / 463 MB, free: 9.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.6748, allocations: 185.4 kB / 463.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6749, allocations: 25.7 kB / 463.2 MB, free: 9.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.675, allocations: 152 kB / 463.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.6751, allocations: 59.11 kB / 463.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.6751, allocations: 7.969 kB / 463.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6753, allocations: 338.8 kB / 463.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6755, allocations: 80.44 kB / 463.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.6758, allocations: 149.2 kB / 464 MB, free: 8.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.6761, allocations: 107.9 kB / 464.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6761, allocations: 0 / 464.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006604/0.6768, allocations: 279.3 kB / 464.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6768, allocations: 8 kB / 464.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6768, allocations: 7.984 kB / 464.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.6768, allocations: 4 kB / 464.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.6773, allocations: 51.91 kB / 464.4 MB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6774, allocations: 4 kB / 464.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.6776, allocations: 19.98 kB / 464.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.6777, allocations: 20.27 kB / 464.5 MB, free: 8.203 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.6778, allocations: 120.8 kB / 464.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.6779, allocations: 15.81 kB / 464.6 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.6784, allocations: 223.1 kB / 464.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6785, allocations: 4 kB / 464.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.6785, allocations: 0 / 464.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6785, allocations: 0 / 464.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6806, allocations: 0.9477 MB / 465.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6806, allocations: 7.938 kB / 465.8 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.6809, allocations: 31.98 kB / 465.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.6809, allocations: 4 kB / 465.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.681, allocations: 15.98 kB / 465.8 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/0.681, allocations: 8.438 kB / 465.8 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.681, allocations: 11.94 kB / 465.8 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.6818, allocations: 0.5806 MB / 466.4 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.6819, allocations: 100.9 kB / 466.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.682, allocations: 7.984 kB / 466.5 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.6823, allocations: 15.95 kB / 466.5 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.6823, allocations: 23.92 kB / 466.6 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.6824, allocations: 11.98 kB / 466.6 MB, free: 5.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.6826, allocations: 150.8 kB / 466.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6826, allocations: 3.938 kB / 466.7 MB, free: 5.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.6831, allocations: 63.95 kB / 466.8 MB, free: 5.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.001484/0.6846, allocations: 2.248 MB / 469 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.6853, allocations: 200.1 kB / 469.2 MB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6853, allocations: 4.188 kB / 469.2 MB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.6855, allocations: 91.77 kB / 469.3 MB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.686, allocations: 36.17 kB / 469.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.6875, allocations: 0.4896 MB / 469.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.688, allocations: 0.7753 MB / 470.6 MB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.6882, allocations: 53.48 kB / 470.7 MB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6884, allocations: 65.39 kB / 470.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6884, allocations: 0 / 470.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.7168, allocations: 3.684 MB / 474.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.717, allocations: 161.4 kB / 474.6 MB, free: 13.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.091, allocations: 0 / 474.6 MB, free: 13.53 MB / 410.7 MB