Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.486/2.486, allocations: 233 MB / 245.6 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.755e-05, allocations: 4 kB / 301.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 53.23 MB / 354.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5672, allocations: 89.61 MB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5675, allocations: 87.95 kB / 444.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05768/0.6252, allocations: 14.15 MB / 458.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.668e-06/0.6253, allocations: 3.984 kB / 458.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.6253, allocations: 8 kB / 458.4 MB, free: 14.04 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.0008982/0.6262, allocations: 490.2 kB / 458.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6263, allocations: 8.031 kB / 458.9 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.336e-05/0.6264, allocations: 58.53 kB / 459 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.6278, allocations: 103.5 kB / 459.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.6283, allocations: 258.6 kB / 459.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.6284, allocations: 16 kB / 459.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.6285, allocations: 19.98 kB / 459.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.6292, allocations: 302.2 kB / 459.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6292, allocations: 0 / 459.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.6293, allocations: 15.94 kB / 459.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.6294, allocations: 23.98 kB / 459.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.6301, allocations: 271.8 kB / 460 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.6329, allocations: 1.273 MB / 461.3 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.6337, allocations: 229.1 kB / 461.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.634, allocations: 101.7 kB / 461.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.634, allocations: 4 kB / 461.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6341, allocations: 30.56 kB / 461.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.6341, allocations: 0 / 461.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001128/0.6352, allocations: 364.5 kB / 462 MB, free: 10.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.6353, allocations: 81.11 kB / 462 MB, free: 10.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.6356, allocations: 181.5 kB / 462.2 MB, free: 9.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.6357, allocations: 29.64 kB / 462.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6358, allocations: 214.3 kB / 462.5 MB, free: 9.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.6359, allocations: 63.09 kB / 462.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.6359, allocations: 4 kB / 462.5 MB, free: 9.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6361, allocations: 326.7 kB / 462.8 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.6363, allocations: 84.47 kB / 462.9 MB, free: 9.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.6366, allocations: 157.2 kB / 463.1 MB, free: 9.086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.6369, allocations: 103.9 kB / 463.2 MB, free: 8.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6369, allocations: 0 / 463.2 MB, free: 8.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006878/0.6376, allocations: 275.6 kB / 463.5 MB, free: 8.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6377, allocations: 4 kB / 463.5 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6377, allocations: 4 kB / 463.5 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.6377, allocations: 4 kB / 463.5 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.6382, allocations: 59.89 kB / 463.5 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.6382, allocations: 4 kB / 463.5 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.6386, allocations: 15.98 kB / 463.5 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.6386, allocations: 8 kB / 463.5 MB, free: 8.613 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.0001337/0.6387, allocations: 128.9 kB / 463.7 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.6388, allocations: 15.81 kB / 463.7 MB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.6394, allocations: 227.1 kB / 463.9 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6395, allocations: 3.984 kB / 463.9 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6395, allocations: 0 / 463.9 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6395, allocations: 4 kB / 463.9 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.6416, allocations: 0.9361 MB / 464.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.6417, allocations: 11.94 kB / 464.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.642, allocations: 31.98 kB / 464.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.642, allocations: 4 kB / 464.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.642, allocations: 12 kB / 464.9 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.6421, allocations: 7.938 kB / 464.9 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.6421, allocations: 4 kB / 464.9 MB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.643, allocations: 0.5966 MB / 465.5 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6431, allocations: 100.8 kB / 465.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.6432, allocations: 12 kB / 465.6 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.6435, allocations: 11.94 kB / 465.6 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.6435, allocations: 23.92 kB / 465.7 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6436, allocations: 16 kB / 465.7 MB, free: 6.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.6438, allocations: 150.8 kB / 465.8 MB, free: 6.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.467e-06/0.6438, allocations: 0 / 465.8 MB, free: 6.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005696/0.6444, allocations: 59.94 kB / 465.9 MB, free: 5.973 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.001673/0.6461, allocations: 2.243 MB / 468.1 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.6467, allocations: 195.8 kB / 468.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6467, allocations: 0 / 468.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.647, allocations: 96.84 kB / 468.4 MB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.6475, allocations: 46.84 kB / 468.5 MB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.649, allocations: 0.5297 MB / 469 MB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.6495, allocations: 0.7714 MB / 469.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.6497, allocations: 63.41 kB / 469.8 MB, free: 1.781 MB / 394.7 MB Notification: Performance of SimCode: time 4.018e-06/0.6498, allocations: 0 / 469.8 MB, free: 1.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.495/3.145, allocations: 3.655 MB / 473.5 MB, free: 14.12 MB / 410.7 MB