Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.434/2.434, allocations: 233 MB / 246.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.024e-05, allocations: 0 / 302.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5591, allocations: 89.6 MB / 445.1 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.5595, allocations: 82.14 kB / 445.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05528/0.6148, allocations: 14.15 MB / 459.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.868e-06/0.6149, allocations: 0 / 459.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.6149, allocations: 7.938 kB / 459.4 MB, free: 13.63 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.0008159/0.6157, allocations: 498.1 kB / 459.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6158, allocations: 12.03 kB / 459.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/0.6159, allocations: 54.55 kB / 459.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.6171, allocations: 99.61 kB / 460 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.6177, allocations: 262.5 kB / 460.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6177, allocations: 16 kB / 460.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.6178, allocations: 16 kB / 460.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.6185, allocations: 306.2 kB / 460.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6185, allocations: 3.953 kB / 460.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.6185, allocations: 8 kB / 460.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.6187, allocations: 27.97 kB / 460.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.6194, allocations: 271.8 kB / 460.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.622, allocations: 1.265 MB / 462.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.6227, allocations: 229.1 kB / 462.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.623, allocations: 101.7 kB / 462.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.623, allocations: 4 kB / 462.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6231, allocations: 34.56 kB / 462.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.6231, allocations: 0 / 462.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001058/0.6241, allocations: 360.5 kB / 462.9 MB, free: 9.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.6242, allocations: 81.11 kB / 463 MB, free: 9.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.6245, allocations: 181.4 kB / 463.1 MB, free: 9.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6245, allocations: 29.7 kB / 463.2 MB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6246, allocations: 152 kB / 463.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.6247, allocations: 67.08 kB / 463.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.6248, allocations: 11.94 kB / 463.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6249, allocations: 330.8 kB / 463.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.6251, allocations: 80.44 kB / 463.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.6254, allocations: 149.2 kB / 464 MB, free: 8.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.6257, allocations: 107.9 kB / 464.1 MB, free: 8.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6257, allocations: 7.938 kB / 464.1 MB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006721/0.6264, allocations: 274.8 kB / 464.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6265, allocations: 11.98 kB / 464.3 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6265, allocations: 0 / 464.3 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6265, allocations: 4 kB / 464.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.627, allocations: 52.19 kB / 464.4 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.627, allocations: 8 kB / 464.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.6273, allocations: 19.98 kB / 464.4 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.6273, allocations: 15.98 kB / 464.4 MB, free: 8.234 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.0001148/0.6275, allocations: 120.8 kB / 464.6 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.6275, allocations: 15.81 kB / 464.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.6281, allocations: 229.1 kB / 464.8 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.6282, allocations: 4 kB / 464.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6282, allocations: 4 kB / 464.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6282, allocations: 0 / 464.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.6303, allocations: 0.9516 MB / 465.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6303, allocations: 4 kB / 465.8 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.6306, allocations: 32.47 kB / 465.8 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.6306, allocations: 12 kB / 465.8 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.6307, allocations: 8 kB / 465.8 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.6307, allocations: 11.94 kB / 465.8 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6307, allocations: 4 kB / 465.8 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.6315, allocations: 0.5783 MB / 466.4 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6316, allocations: 104.9 kB / 466.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.6317, allocations: 7.984 kB / 466.5 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.6319, allocations: 19.89 kB / 466.5 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.632, allocations: 19.97 kB / 466.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.632, allocations: 8 kB / 466.6 MB, free: 5.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.6322, allocations: 150.8 kB / 466.7 MB, free: 5.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6323, allocations: 7.938 kB / 466.7 MB, free: 5.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005523/0.6328, allocations: 63.95 kB / 466.8 MB, free: 5.594 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.001487/0.6343, allocations: 2.245 MB / 469 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.6349, allocations: 203.7 kB / 469.2 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.635, allocations: 0 / 469.2 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.6352, allocations: 91.77 kB / 469.3 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.6357, allocations: 37.78 kB / 469.4 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6372, allocations: 0.4971 MB / 469.9 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.6376, allocations: 0.7675 MB / 470.6 MB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.6379, allocations: 49.5 kB / 470.7 MB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.6381, allocations: 63.36 kB / 470.7 MB, free: 1.402 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6381, allocations: 0 / 470.7 MB, free: 1.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.6619, allocations: 3.68 MB / 474.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.6622, allocations: 158.8 kB / 474.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.216, allocations: 0 / 474.6 MB, free: 13.55 MB / 410.7 MB