Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.545/2.545, allocations: 231.9 MB / 244 MB, free: 0.7266 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.323e-05, allocations: 4 kB / 300.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 53.32 MB / 353.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.557, allocations: 81.68 MB / 435.4 MB, free: 7.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5574, allocations: 80.5 kB / 435.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1096/0.667, allocations: 20.32 MB / 455.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6671, allocations: 0 / 455.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001876/0.6673, allocations: 24 kB / 455.8 MB, free: 3.414 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.00893/0.6762, allocations: 1.622 MB / 457.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.6763, allocations: 11.97 kB / 457.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005385/0.6769, allocations: 130.5 kB / 457.6 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0083/0.6852, allocations: 0.5293 MB / 458.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/0.69, allocations: 0.7382 MB / 458.8 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006871/0.6907, allocations: 260.9 kB / 459.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000652/0.6914, allocations: 83.86 kB / 459.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.6968, allocations: 0.9188 MB / 460.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6969, allocations: 0 / 460.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.6973, allocations: 28 kB / 460.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.6974, allocations: 16 kB / 460.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005197/0.7026, allocations: 0.8358 MB / 461 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.7217, allocations: 3.428 MB / 464.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.7246, allocations: 0.9804 MB / 465.4 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.7265, allocations: 0.5661 MB / 465.9 MB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.7268, allocations: 12.77 kB / 465.9 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.7269, allocations: 39.34 kB / 466 MB, free: 8.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=86): time 7.054e-06/0.7269, allocations: 7.984 kB / 466 MB, free: 8.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.02461/0.7515, allocations: 4.047 MB / 470 MB, free: 4.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.7516, allocations: 89.89 kB / 470.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.7534, allocations: 0.657 MB / 470.8 MB, free: 4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/0.7538, allocations: 41.7 kB / 470.8 MB, free: 3.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/0.7544, allocations: 436.3 kB / 471.2 MB, free: 3.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/0.7551, allocations: 303.5 kB / 471.5 MB, free: 3.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.7552, allocations: 20 kB / 471.6 MB, free: 3.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.7554, allocations: 337.9 kB / 471.9 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.757, allocations: 434 kB / 472.3 MB, free: 2.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.7588, allocations: 0.5364 MB / 472.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.7606, allocations: 475.6 kB / 473.3 MB, free: 1.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.7606, allocations: 4 kB / 473.3 MB, free: 1.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.02498/0.7856, allocations: 4.148 MB / 477.5 MB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.7861, allocations: 0.7891 MB / 478.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.7861, allocations: 4 kB / 478.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.7971, allocations: 1.698 MB / 480 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.7985, allocations: 127.8 kB / 480.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02812/0.8266, allocations: 7.251 MB / 487.3 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.8292, allocations: 191.2 kB / 487.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.8296, allocations: 31.98 kB / 487.6 MB, free: 2.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8296, allocations: 4 kB / 487.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02401/0.8537, allocations: 4.046 MB / 491.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.742e-05/0.8538, allocations: 0 / 491.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.8644, allocations: 1.687 MB / 493.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.8656, allocations: 119.8 kB / 493.4 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0268/0.8925, allocations: 7.247 MB / 0.4889 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.895, allocations: 187.2 kB / 0.4891 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.8952, allocations: 31.98 kB / 0.4891 GB, free: 5.477 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real TGtypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004245/0.8956, allocations: 152.7 kB / 0.4893 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.896, allocations: 98.78 kB / 0.4894 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02352/0.9195, allocations: 4.121 MB / 0.4934 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.9196, allocations: 8 kB / 0.4934 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9196, allocations: 8 kB / 0.4934 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/0.9197, allocations: 3.984 kB / 0.4934 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/0.9463, allocations: 5.55 MB / 0.4988 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.9464, allocations: 0 / 0.4988 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.9476, allocations: 99.89 kB / 0.4989 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/0.9578, allocations: 1.683 MB / 0.5006 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.9582, allocations: 20 kB / 0.5006 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/0.9822, allocations: 6.325 MB / 0.5068 GB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9823, allocations: 4 kB / 0.5068 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/1.008, allocations: 4.881 MB / 0.5115 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/1.009, allocations: 191.7 kB / 0.5117 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/1.009, allocations: 19.95 kB / 0.5117 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/1.012, allocations: 143.9 kB / 0.5119 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/1.013, allocations: 208.3 kB / 0.5121 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.013, allocations: 23.94 kB / 0.5121 GB, free: 13.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001224/1.014, allocations: 0.5187 MB / 0.5126 GB, free: 13.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.014, allocations: 0 / 0.5126 GB, free: 13.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003131/1.017, allocations: 0.6124 MB / 0.5132 GB, free: 12.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGtypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02715/1.045, allocations: 5.488 MB / 0.5186 GB, free: 6.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01822/1.063, allocations: 3.456 MB / 0.5219 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.063, allocations: 0 / 0.5219 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00837/1.071, allocations: 1.444 MB / 0.5233 GB, free: 2.047 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009633/1.072, allocations: 87.25 kB / 0.5234 GB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/1.079, allocations: 1.664 MB / 0.5251 GB, free: 260 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2881/1.367, allocations: 1.073 MB / 0.5261 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001239/1.368, allocations: 146.8 kB / 0.5262 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/1.369, allocations: 356.5 kB / 0.5266 GB, free: 137.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.213e-06/1.369, allocations: 1.031 kB / 0.5266 GB, free: 137.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.488, allocations: 35.77 MB / 0.5615 GB, free: 130.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.488, allocations: 175.5 kB / 0.5617 GB, free: 130.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/5.142, allocations: 0 / 0.5617 GB, free: 130.3 MB / 458.7 MB