Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.512/2.512, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.862e-05, allocations: 0 / 301.3 MB, free: 7.887 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 53.24 MB / 354.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5722, allocations: 88.92 MB / 443.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.5726, allocations: 79.95 kB / 443.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05333/0.6259, allocations: 13.08 MB / 456.7 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.626, allocations: 8 kB / 456.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.626, allocations: 4 kB / 456.7 MB, free: 15.68 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.0008944/0.6269, allocations: 490.2 kB / 457.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.627, allocations: 8.031 kB / 457.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.554e-05/0.6271, allocations: 58.48 kB / 457.2 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.6284, allocations: 91.61 kB / 457.3 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.629, allocations: 267.1 kB / 457.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.629, allocations: 15.98 kB / 457.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.6291, allocations: 16 kB / 457.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.6298, allocations: 298.9 kB / 457.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6299, allocations: 7.891 kB / 457.9 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.6299, allocations: 15.97 kB / 457.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.6301, allocations: 23.98 kB / 457.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.6308, allocations: 267.8 kB / 458.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.6335, allocations: 1.29 MB / 459.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.6341, allocations: 226.2 kB / 459.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.6342, allocations: 45.78 kB / 459.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.6343, allocations: 3.984 kB / 459.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.6343, allocations: 42.56 kB / 459.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 6.602e-06/0.6343, allocations: 0 / 459.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007784/0.6351, allocations: 233.7 kB / 460 MB, free: 12.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.6352, allocations: 81.05 kB / 460.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.6355, allocations: 177.5 kB / 460.3 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.6355, allocations: 33.7 kB / 460.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.6357, allocations: 218.2 kB / 460.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.6358, allocations: 55.28 kB / 460.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.6358, allocations: 4.031 kB / 460.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6359, allocations: 322.8 kB / 460.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.6361, allocations: 40 kB / 460.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.6363, allocations: 141 kB / 461.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.6365, allocations: 72.5 kB / 461.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6365, allocations: 3.984 kB / 461.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004956/0.637, allocations: 195.5 kB / 461.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6371, allocations: 8 kB / 461.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6371, allocations: 4 kB / 461.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6371, allocations: 7.984 kB / 461.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.6375, allocations: 43.92 kB / 461.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.6375, allocations: 4 kB / 461.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.6377, allocations: 8 kB / 461.4 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.6378, allocations: 15.95 kB / 461.4 MB, free: 10.54 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 (25): * Single equations (assignments): 25 * 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.0001144/0.6379, allocations: 117.1 kB / 461.5 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.6379, allocations: 19.8 kB / 461.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.6383, allocations: 147.1 kB / 461.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6384, allocations: 7.938 kB / 461.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6384, allocations: 0 / 461.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6384, allocations: 0 / 461.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.6397, allocations: 0.6382 MB / 462.4 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6398, allocations: 8.031 kB / 462.4 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.64, allocations: 35.92 kB / 462.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.64, allocations: 4 kB / 462.4 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.64, allocations: 4 kB / 462.4 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.6401, allocations: 7.984 kB / 462.4 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.6401, allocations: 11.88 kB / 462.4 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.6408, allocations: 0.4925 MB / 462.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6409, allocations: 100.9 kB / 463 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.6409, allocations: 4 kB / 463 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.6412, allocations: 12.05 kB / 463 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.6412, allocations: 23.86 kB / 463.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.6413, allocations: 8 kB / 463.1 MB, free: 8.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.6415, allocations: 140.4 kB / 463.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6415, allocations: 0 / 463.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005797/0.6421, allocations: 48 kB / 463.3 MB, free: 8.453 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.001404/0.6435, allocations: 1.997 MB / 465.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.6439, allocations: 115.8 kB / 465.4 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6439, allocations: 0 / 465.4 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.6441, allocations: 61.48 kB / 465.4 MB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.6446, allocations: 44.34 kB / 465.5 MB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.646, allocations: 465.4 kB / 465.9 MB, free: 5.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6464, allocations: 0.7599 MB / 466.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.6466, allocations: 63.41 kB / 466.7 MB, free: 4.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6466, allocations: 4 kB / 466.7 MB, free: 4.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/3.256, allocations: 3.237 MB / 470 MB, free: 1.492 MB / 394.7 MB