Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.318/2.318, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.163e-05, allocations: 0 / 302.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 53.24 MB / 355.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.5792, allocations: 90.27 MB / 445.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.5796, allocations: 86.3 kB / 445.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05781/0.6374, allocations: 14.51 MB / 460.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.6374, allocations: 4 kB / 460.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.6375, allocations: 7.938 kB / 460.4 MB, free: 12.59 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.0008309/0.6383, allocations: 490.1 kB / 460.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6384, allocations: 8.031 kB / 460.9 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.377e-05/0.6385, allocations: 54.55 kB / 460.9 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.64, allocations: 115.6 kB / 461.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.6406, allocations: 271.1 kB / 461.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.6407, allocations: 19.94 kB / 461.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.6407, allocations: 16 kB / 461.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.6415, allocations: 302.9 kB / 461.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6416, allocations: 0 / 461.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.6416, allocations: 19.95 kB / 461.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.6417, allocations: 19.92 kB / 461.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.6425, allocations: 279.8 kB / 462 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.6452, allocations: 1.275 MB / 463.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.6457, allocations: 194.5 kB / 463.4 MB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6459, allocations: 37.77 kB / 463.5 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6459, allocations: 8 kB / 463.5 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.646, allocations: 38.5 kB / 463.5 MB, free: 9.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.646, allocations: 0 / 463.5 MB, free: 9.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003806/0.6464, allocations: 113.4 kB / 463.6 MB, free: 9.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.6465, allocations: 81.06 kB / 463.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.6468, allocations: 191 kB / 463.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.6468, allocations: 25.7 kB / 463.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.647, allocations: 171.6 kB / 464.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.6471, allocations: 39.52 kB / 464.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.6471, allocations: 7.938 kB / 464.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6473, allocations: 326.8 kB / 464.5 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.6474, allocations: 35.98 kB / 464.5 MB, free: 8.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.6476, allocations: 132.9 kB / 464.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.6478, allocations: 63.94 kB / 464.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.6479, allocations: 4 kB / 464.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004782/0.6483, allocations: 189.2 kB / 464.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6484, allocations: 4 kB / 464.9 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6484, allocations: 4 kB / 464.9 MB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.6484, allocations: 4 kB / 464.9 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.6488, allocations: 47.91 kB / 464.9 MB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.6488, allocations: 11.94 kB / 464.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.6491, allocations: 28.11 kB / 465 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.6491, allocations: 16 kB / 465 MB, free: 7.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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.0001153/0.6492, allocations: 120.8 kB / 465.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.6493, allocations: 15.81 kB / 465.1 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.6497, allocations: 111.1 kB / 465.2 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6497, allocations: 4 kB / 465.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6497, allocations: 0 / 465.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6497, allocations: 0 / 465.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.651, allocations: 0.5604 MB / 465.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.651, allocations: 4 kB / 465.8 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.6512, allocations: 24.27 kB / 465.8 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.6512, allocations: 4 kB / 465.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6512, allocations: 7.984 kB / 465.8 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.6512, allocations: 7.938 kB / 465.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6513, allocations: 4 kB / 465.8 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.6518, allocations: 396.9 kB / 466.2 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6519, allocations: 96.86 kB / 466.3 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.652, allocations: 12.17 kB / 466.3 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6522, allocations: 8.062 kB / 466.3 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.6522, allocations: 19.89 kB / 466.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.6523, allocations: 7.984 kB / 466.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.6525, allocations: 153.5 kB / 466.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6525, allocations: 0 / 466.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005441/0.6531, allocations: 59.84 kB / 466.6 MB, free: 5.824 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.001285/0.6544, allocations: 1.628 MB / 468.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.6547, allocations: 105.6 kB / 468.3 MB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6548, allocations: 0.875 kB / 468.3 MB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.6549, allocations: 48.36 kB / 468.4 MB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.6553, allocations: 31.92 kB / 468.4 MB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6566, allocations: 386.5 kB / 468.8 MB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.6571, allocations: 0.7597 MB / 469.5 MB, free: 2.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.6573, allocations: 41.5 kB / 469.6 MB, free: 2.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6575, allocations: 55.42 kB / 469.6 MB, free: 2.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6575, allocations: 0 / 469.6 MB, free: 2.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.6808, allocations: 2.975 MB / 472.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.6812, allocations: 152.3 kB / 472.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.204, allocations: 4 kB / 472.7 MB, free: 15.45 MB / 410.7 MB