Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.222/2.222, allocations: 231.9 MB / 244 MB, free: 0.7891 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.833e-05, allocations: 4 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 53.33 MB / 353.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5563, allocations: 81.61 MB / 435.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5567, allocations: 79.95 kB / 435.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0999/0.6566, allocations: 20.7 MB / 456.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6566, allocations: 0 / 456.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.984e-05/0.6567, allocations: 16 kB / 456.1 MB, free: 3.168 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008243/0.665, allocations: 1.699 MB / 457.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.6651, allocations: 8.031 kB / 457.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/0.6656, allocations: 126.7 kB / 457.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/0.6711, allocations: 0.5448 MB / 458.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.6737, allocations: 0.7079 MB / 459.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.6742, allocations: 268.1 kB / 459.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.6746, allocations: 83.84 kB / 459.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.6775, allocations: 0.8508 MB / 460.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.6776, allocations: 0 / 460.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.6778, allocations: 28 kB / 460.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.6779, allocations: 20 kB / 460.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.6811, allocations: 0.8436 MB / 461.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.6935, allocations: 3.483 MB / 464.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.6962, allocations: 0.9633 MB / 465.7 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.6981, allocations: 0.5778 MB / 466.3 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.6983, allocations: 16.75 kB / 466.3 MB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.6984, allocations: 47.28 kB / 466.3 MB, free: 8.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 3.646e-06/0.6984, allocations: 4 kB / 466.3 MB, free: 8.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02386/0.7223, allocations: 4.07 MB / 470.4 MB, free: 4.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.7224, allocations: 68.06 kB / 470.5 MB, free: 4.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.724, allocations: 0.6298 MB / 471.1 MB, free: 3.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.7243, allocations: 41.7 kB / 471.2 MB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.7248, allocations: 452.4 kB / 471.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.7254, allocations: 323.2 kB / 471.9 MB, free: 2.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.7255, allocations: 20 kB / 471.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7257, allocations: 337.9 kB / 472.3 MB, free: 2.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.7272, allocations: 446 kB / 472.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.7288, allocations: 0.5325 MB / 473.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.7303, allocations: 482.7 kB / 473.7 MB, free: 1.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.7304, allocations: 0 / 473.7 MB, free: 1.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.02464/0.755, allocations: 4.183 MB / 477.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.7551, allocations: 12 kB / 477.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.7551, allocations: 0 / 477.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.7661, allocations: 1.69 MB / 479.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.7677, allocations: 155.8 kB / 479.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/0.7953, allocations: 7.267 MB / 487 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.7978, allocations: 203.1 kB / 487.2 MB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/0.7982, allocations: 27.98 kB / 487.2 MB, free: 3.398 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0006742/0.7989, allocations: 148.8 kB / 487.4 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.7995, allocations: 102.8 kB / 487.5 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/0.8231, allocations: 4.184 MB / 491.7 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.8232, allocations: 12 kB / 491.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8232, allocations: 0 / 491.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.8232, allocations: 3.984 kB / 491.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/0.8502, allocations: 5.585 MB / 497.3 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.8503, allocations: 3.938 kB / 497.3 MB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8518, allocations: 139.8 kB / 497.4 MB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/0.862, allocations: 1.675 MB / 499.1 MB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003288/0.8624, allocations: 20 kB / 499.1 MB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/0.8868, allocations: 6.321 MB / 0.4936 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8869, allocations: 7.938 kB / 0.4936 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02699/0.9138, allocations: 4.929 MB / 0.4984 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.9144, allocations: 195.6 kB / 0.4986 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.9148, allocations: 19.94 kB / 0.4986 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.9169, allocations: 147.9 kB / 0.4987 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/0.9182, allocations: 220.3 kB / 0.4989 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.9183, allocations: 20 kB / 0.499 GB, free: 11.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.9194, allocations: 0.4953 MB / 0.4995 GB, free: 10.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9194, allocations: 0 / 0.4995 GB, free: 10.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001955/0.9214, allocations: 399.5 kB / 0.4998 GB, free: 10.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (62): * Single equations (assignments): 61 * 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.02665/0.9481, allocations: 5.528 MB / 0.5052 GB, free: 4.926 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/0.9583, allocations: 1.972 MB / 0.5072 GB, free: 2.945 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9583, allocations: 0 / 0.5072 GB, free: 2.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008168/0.9665, allocations: 1.475 MB / 0.5086 GB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.9675, allocations: 79.25 kB / 0.5087 GB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.9736, allocations: 1.563 MB / 0.5102 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.9745, allocations: 1.068 MB / 0.5112 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006449/0.9751, allocations: 73.48 kB / 0.5113 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008344/0.976, allocations: 371.2 kB / 0.5117 GB, free: 14.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.814e-06/0.976, allocations: 0 / 0.5117 GB, free: 14.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3911/1.367, allocations: 27.65 MB / 0.5387 GB, free: 137.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.367, allocations: 175.2 kB / 0.5388 GB, free: 137.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/5.016, allocations: 0 / 0.5388 GB, free: 137.5 MB / 458.7 MB