Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 1.968/1.968, allocations: 221.9 MB / 234.1 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.946e-05/4.954e-05, allocations: 0 / 287.6 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 50.5 MB / 338.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5054, allocations: 76.5 MB / 414.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.5057, allocations: 67.47 kB / 414.6 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/0.5882, allocations: 17.8 MB / 432.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.5883, allocations: 3.984 kB / 432.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.5884, allocations: 19.94 kB / 432.4 MB, free: 0.9375 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.007376/0.5958, allocations: 1.547 MB / 434 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.5958, allocations: 11.97 kB / 434 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004267/0.5963, allocations: 130.8 kB / 434.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.6009, allocations: 498.1 kB / 434.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6025, allocations: 0.6122 MB / 435.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.6029, allocations: 234.4 kB / 435.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.6033, allocations: 75.94 kB / 435.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.6061, allocations: 0.8548 MB / 436.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.6061, allocations: 0 / 436.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.6063, allocations: 35.98 kB / 436.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.6063, allocations: 16 kB / 436.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.6092, allocations: 0.8358 MB / 437.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.6201, allocations: 3.494 MB / 440.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.6224, allocations: 0.724 MB / 441.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.6241, allocations: 0.564 MB / 442.1 MB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.6243, allocations: 12.77 kB / 442.1 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.6244, allocations: 43.34 kB / 442.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 4.048e-06/0.6244, allocations: 0 / 442.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.02362/0.648, allocations: 4.023 MB / 446.1 MB, free: 2.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.6481, allocations: 60.19 kB / 446.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.6495, allocations: 0.5937 MB / 446.8 MB, free: 2.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.6498, allocations: 41.7 kB / 446.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.6502, allocations: 420.3 kB / 447.2 MB, free: 1.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005324/0.6507, allocations: 315.4 kB / 447.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.6509, allocations: 16 kB / 447.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.651, allocations: 341.9 kB / 447.9 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.6525, allocations: 437.9 kB / 448.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.654, allocations: 0.5239 MB / 448.8 MB, free: 132 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.6556, allocations: 474.1 kB / 449.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6556, allocations: 0 / 449.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.02407/0.6797, allocations: 4.126 MB / 453.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.6798, allocations: 10.28 kB / 453.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6798, allocations: 4 kB / 453.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.6906, allocations: 1.745 MB / 455.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.6921, allocations: 143.8 kB / 455.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/0.7196, allocations: 7.246 MB / 462.6 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.722, allocations: 187.2 kB / 462.8 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.7222, allocations: 28 kB / 462.8 MB, free: 2.023 MB / 378.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 Generator.e1q:VARIABLE(start = Generator.e1q0 ) "q-axis transient voltage (pu)" type: Real 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 (71): * Single equations (assignments): 70 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004086/0.7226, allocations: 152.8 kB / 462.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.723, allocations: 86.88 kB / 463 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0234/0.7464, allocations: 4.159 MB / 467.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.7465, allocations: 8 kB / 467.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7465, allocations: 4 kB / 467.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.7465, allocations: 7.938 kB / 467.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.7489, allocations: 1.142 MB / 468.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.749, allocations: 7.938 kB / 468.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.7503, allocations: 119.9 kB / 468.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009714/0.7601, allocations: 1.652 MB / 470.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.7604, allocations: 19.98 kB / 470.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/0.784, allocations: 6.305 MB / 476.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.784, allocations: 0 / 476.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/0.8095, allocations: 4.875 MB / 481.3 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/0.8104, allocations: 303.7 kB / 481.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.8106, allocations: 19.94 kB / 481.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.8128, allocations: 139.9 kB / 481.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/0.8138, allocations: 204.4 kB / 482 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.814, allocations: 24 kB / 482 MB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000987/0.815, allocations: 479.2 kB / 482.5 MB, free: 14.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.815, allocations: 4 kB / 482.5 MB, free: 14.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001805/0.8168, allocations: 371.5 kB / 482.8 MB, free: 13.71 MB / 410.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.02598/0.8428, allocations: 5.462 MB / 488.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009788/0.8527, allocations: 1.981 MB / 490.3 MB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.8527, allocations: 4.062 kB / 490.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007934/0.8607, allocations: 1.474 MB / 491.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.8615, allocations: 60.72 kB / 491.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.8668, allocations: 1.463 MB / 493.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/0.8676, allocations: 1.049 MB / 494.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000653/0.8683, allocations: 65.23 kB / 494.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/0.8691, allocations: 351.3 kB / 494.7 MB, free: 1.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8692, allocations: 0 / 494.7 MB, free: 1.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.9739, allocations: 26.38 MB / 0.5089 GB, free: 7.391 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.9743, allocations: 177.4 kB / 0.5091 GB, free: 7.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/4.183, allocations: 0 / 0.5091 GB, free: 7.16 MB / 442.7 MB