Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSSE.PSS.STAB3,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSSE_PSS_STAB3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.352/2.352, allocations: 231.9 MB / 244 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.925e-05, allocations: 4 kB / 300.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 53.33 MB / 353.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6042, allocations: 86.7 MB / 440.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/0.6047, allocations: 83.95 kB / 440.5 MB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1988/0.8034, allocations: 37.16 MB / 477.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8035, allocations: 0 / 477.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000213/0.8037, allocations: 32 kB / 477.7 MB, free: 13.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.01057/0.8143, allocations: 2.037 MB / 479.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.8144, allocations: 8.031 kB / 479.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/0.8152, allocations: 164.7 kB / 479.9 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.8196, allocations: 481.4 kB / 480.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.8234, allocations: 0.9808 MB / 481.3 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009012/0.8243, allocations: 470.4 kB / 481.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007369/0.8251, allocations: 123.9 kB / 481.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/0.8302, allocations: 1.264 MB / 483.2 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.8303, allocations: 3.938 kB / 483.2 MB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.8307, allocations: 48 kB / 483.2 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.8307, allocations: 27.98 kB / 483.2 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.8354, allocations: 1.113 MB / 484.3 MB, free: 6.605 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.8547, allocations: 5.011 MB / 489.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/0.871, allocations: 2.9 MB / 492.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.8735, allocations: 0.6889 MB / 493 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.8739, allocations: 16.98 kB / 493 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003012/0.8769, allocations: 0.8451 MB / 493.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 6.141e-06/0.877, allocations: 0 / 493.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.03716/0.9141, allocations: 6.655 MB / 0.4887 GB, free: 6.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.9143, allocations: 171.5 kB / 0.4889 GB, free: 5.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.9174, allocations: 1.073 MB / 0.4899 GB, free: 4.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004838/0.9179, allocations: 53.77 kB / 0.49 GB, free: 4.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/0.9187, allocations: 0.6118 MB / 0.4906 GB, free: 4.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009869/0.9197, allocations: 465.3 kB / 0.491 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.92, allocations: 35.94 kB / 0.4911 GB, free: 3.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.9202, allocations: 353.9 kB / 0.4914 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.9223, allocations: 0.6093 MB / 0.492 GB, free: 2.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.925, allocations: 0.7638 MB / 0.4928 GB, free: 1.848 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gENCLS.omega = 0.0 ($START.gENCLS.omega = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.9279, allocations: 0.7772 MB / 0.4935 GB, free: 1.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.9279, allocations: 4 kB / 0.4935 GB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01593/0.9438, allocations: 2.999 MB / 0.4964 GB, free: 14.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006299/0.9445, allocations: 1.189 MB / 0.4976 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.9446, allocations: 8 kB / 0.4976 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/0.9596, allocations: 2.16 MB / 0.4997 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.9615, allocations: 179.7 kB / 0.4999 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.9716, allocations: 2.884 MB / 0.5027 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/0.9776, allocations: 195.9 kB / 0.5029 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/0.9785, allocations: 52.06 kB / 0.5029 GB, free: 7.238 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.9786, allocations: 4 kB / 0.503 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01822/0.9968, allocations: 2.816 MB / 0.5057 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.9969, allocations: 4 kB / 0.5057 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/1.011, allocations: 2.156 MB / 0.5078 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.013, allocations: 175.7 kB / 0.508 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.026, allocations: 4.171 MB / 0.5121 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/1.03, allocations: 179.9 kB / 0.5122 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005693/1.03, allocations: 55.97 kB / 0.5123 GB, free: 13.5 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: gENCLS.omega = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (SCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,25 43} Notification: Performance of prepare postOptimizeDAE: time 0.000663/1.031, allocations: 176.7 kB / 0.5124 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/1.032, allocations: 154 kB / 0.5126 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02812/1.06, allocations: 4.599 MB / 0.5171 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/1.06, allocations: 16 kB / 0.5171 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.06, allocations: 0 / 0.5171 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.67e-05/1.06, allocations: 19.89 kB / 0.5171 GB, free: 8.516 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03339/1.094, allocations: 6.539 MB / 0.5235 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.094, allocations: 0 / 0.5235 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/1.096, allocations: 159.8 kB / 0.5237 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3387/1.434, allocations: 1.789 MB / 0.5254 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004833/1.435, allocations: 29.98 kB / 0.5254 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03663/1.472, allocations: 8.807 MB / 0.534 GB, free: 126.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.472, allocations: 1 kB / 0.534 GB, free: 126.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03086/1.502, allocations: 5.549 MB / 0.5395 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/1.503, allocations: 249.1 kB / 0.5397 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000879/1.504, allocations: 25.62 kB / 0.5397 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003682/1.508, allocations: 182 kB / 0.5399 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001915/1.51, allocations: 277 kB / 0.5402 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/1.51, allocations: 37.39 kB / 0.5402 GB, free: 126.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002553/1.513, allocations: 0.83 MB / 0.541 GB, free: 126.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.513, allocations: 0 / 0.541 GB, free: 126.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00473/1.518, allocations: 0.6347 MB / 0.5416 GB, free: 126.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epq,generator.PSIkd,generator.PSIppq,HYGOV.SimpleLag1.state,HYGOV.q.y,HYGOV.g.state,HYGOV.Position_Limiter.y,SCRX.imLeadLag.TF.x_scaled[1],SCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.03197/1.55, allocations: 6.301 MB / 0.5478 GB, free: 124.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02392/1.574, allocations: 4.238 MB / 0.5519 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.574, allocations: 2.078 kB / 0.5519 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.584, allocations: 1.854 MB / 0.5537 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.586, allocations: 130.5 kB / 0.5538 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.597, allocations: 2.429 MB / 0.5562 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/1.598, allocations: 1.261 MB / 0.5574 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002178/1.6, allocations: 239.8 kB / 0.5577 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.601, allocations: 0.564 MB / 0.5582 GB, free: 119.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/1.601, allocations: 0 / 0.5582 GB, free: 119.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/1.739, allocations: 45.49 MB / 0.6027 GB, free: 92.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.739, allocations: 169.8 kB / 0.6028 GB, free: 92.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.957/6.696, allocations: 0 / 0.6028 GB, free: 92.68 MB / 458.7 MB