Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.41/2.41, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.102e-05, allocations: 4 kB / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 53.23 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/0.6092, allocations: 95.22 MB / 450.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6095, allocations: 83.94 kB / 450.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05561/0.6652, allocations: 12.17 MB / 463 MB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6652, allocations: 0 / 463 MB, free: 10.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.324e-05/0.6653, allocations: 8 kB / 463 MB, free: 10.14 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001549/0.6668, allocations: 0.6371 MB / 463.6 MB, free: 9.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6669, allocations: 8.031 kB / 463.6 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.6671, allocations: 94.45 kB / 463.7 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.6679, allocations: 83.39 kB / 463.8 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.6714, allocations: 0.8374 MB / 464.7 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.6714, allocations: 29 kB / 464.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6716, allocations: 43.98 kB / 464.7 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.673, allocations: 0.5958 MB / 465.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.673, allocations: 4 kB / 465.3 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.6731, allocations: 16 kB / 465.3 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.6732, allocations: 28.7 kB / 465.4 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.6743, allocations: 425.2 kB / 465.8 MB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.6794, allocations: 2.867 MB / 468.7 MB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.68, allocations: 230.5 kB / 468.9 MB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.6804, allocations: 139.7 kB / 469 MB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.6805, allocations: 7.984 kB / 469 MB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6805, allocations: 42.56 kB / 469.1 MB, free: 3.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/0.6806, allocations: 0 / 469.1 MB, free: 3.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002209/0.6828, allocations: 0.8551 MB / 469.9 MB, free: 2.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.6829, allocations: 85.05 kB / 470 MB, free: 2.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.6834, allocations: 290.5 kB / 470.3 MB, free: 2.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.6834, allocations: 33.7 kB / 470.3 MB, free: 2.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6837, allocations: 271.3 kB / 470.6 MB, free: 2.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6838, allocations: 106.5 kB / 470.7 MB, free: 2.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.6839, allocations: 8 kB / 470.7 MB, free: 2.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.684, allocations: 346.8 kB / 471 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.6844, allocations: 149 kB / 471.2 MB, free: 1.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.685, allocations: 338.6 kB / 471.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.6856, allocations: 211.8 kB / 471.7 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6856, allocations: 4 kB / 471.7 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001271/0.6869, allocations: 0.4982 MB / 472.2 MB, free: 388 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6869, allocations: 8 kB / 472.2 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.6869, allocations: 11.98 kB / 472.2 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.687, allocations: 8 kB / 472.2 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.6878, allocations: 116.5 kB / 472.4 MB, free: 244 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.6878, allocations: 19.92 kB / 472.4 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.6883, allocations: 19.98 kB / 472.4 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.6883, allocations: 24 kB / 472.4 MB, free: 180 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0001575/0.6885, allocations: 132.8 kB / 472.6 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.6886, allocations: 35.53 kB / 472.6 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009793/0.6896, allocations: 341.6 kB / 472.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.6897, allocations: 11.98 kB / 472.9 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6897, allocations: 11.89 kB / 472.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6897, allocations: 0 / 472.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.6919, allocations: 0.8717 MB / 473.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6919, allocations: 0 / 473.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.6926, allocations: 71.84 kB / 473.9 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.6926, allocations: 4 kB / 473.9 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.6926, allocations: 12.09 kB / 473.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.6927, allocations: 4 kB / 473.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6927, allocations: 0 / 473.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.694, allocations: 0.6261 MB / 474.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.6942, allocations: 116.6 kB / 474.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.6942, allocations: 8 kB / 474.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.6946, allocations: 11.98 kB / 474.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.6947, allocations: 23.92 kB / 474.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.6947, allocations: 8 kB / 474.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.6951, allocations: 226.2 kB / 474.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6951, allocations: 0 / 474.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007396/0.6959, allocations: 100 kB / 475 MB, free: 13.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.001862/0.6977, allocations: 1.458 MB / 476.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.6987, allocations: 358 kB / 476.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6987, allocations: 0 / 476.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.6991, allocations: 143.8 kB / 477 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.6998, allocations: 61.17 kB / 477 MB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.7025, allocations: 0.9079 MB / 477.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.7032, allocations: 0.8748 MB / 478.8 MB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006435/0.7038, allocations: 127.1 kB / 478.9 MB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.7041, allocations: 135.4 kB / 479.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7042, allocations: 0 / 479.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.7347, allocations: 6.559 MB / 485.6 MB, free: 2.777 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.735, allocations: 168.1 kB / 485.8 MB, free: 2.539 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.459, allocations: 0 / 485.8 MB, free: 2.539 MB / 410.7 MB