Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.294/2.294, allocations: 231.9 MB / 244 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.88e-05, allocations: 5.719 kB / 300.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1274, allocations: 53.34 MB / 353.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4808/0.6082, allocations: 85.49 MB / 439.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.6087, allocations: 87.94 kB / 439.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1747/0.7834, allocations: 37.11 MB / 476.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7835, allocations: 0 / 476.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.7836, allocations: 28 kB / 476.4 MB, free: 14.68 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.0094/0.793, allocations: 1.97 MB / 478.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7931, allocations: 8.031 kB / 478.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006727/0.7938, allocations: 160.2 kB / 478.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004218/0.798, allocations: 473.5 kB / 479 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.8014, allocations: 0.9924 MB / 480 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/0.8024, allocations: 0.5423 MB / 480.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000562/0.803, allocations: 103.9 kB / 480.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.807, allocations: 1.206 MB / 481.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.8071, allocations: 3.984 kB / 481.9 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.8074, allocations: 44 kB / 481.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.8074, allocations: 24 kB / 481.9 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.8114, allocations: 1.109 MB / 483 MB, free: 7.836 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.0169/0.8284, allocations: 5.01 MB / 488 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.8471, allocations: 2.932 MB / 491 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/0.8504, allocations: 0.6925 MB / 491.7 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.8508, allocations: 24.98 kB / 491.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003022/0.8539, allocations: 0.8406 MB / 492.5 MB, free: 14.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=123): time 4.378e-06/0.8539, allocations: 0 / 492.5 MB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.025/0.8789, allocations: 4.291 MB / 496.8 MB, free: 9.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8791, allocations: 145.5 kB / 497 MB, free: 9.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.882, allocations: 1.104 MB / 498.1 MB, free: 8.434 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004379/0.8825, allocations: 49.69 kB / 498.1 MB, free: 8.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.8832, allocations: 0.5845 MB / 498.7 MB, free: 7.789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.8841, allocations: 445.6 kB / 499.1 MB, free: 7.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.8843, allocations: 24 kB / 499.2 MB, free: 7.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.8845, allocations: 361.9 kB / 499.5 MB, free: 6.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.8865, allocations: 0.5898 MB / 0.4884 GB, free: 6.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.8887, allocations: 0.7511 MB / 0.4891 GB, free: 5.586 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.002218/0.8909, allocations: 0.7497 MB / 0.4898 GB, free: 4.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.891, allocations: 4.094 kB / 0.4898 GB, free: 4.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00686/0.8978, allocations: 2.085 MB / 0.4919 GB, free: 2.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.8984, allocations: 1.197 MB / 0.4931 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.8984, allocations: 0 / 0.4931 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/0.9115, allocations: 2.093 MB / 0.4951 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.9134, allocations: 191.8 kB / 0.4953 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.9213, allocations: 2.246 MB / 0.4975 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/0.925, allocations: 266.6 kB / 0.4977 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/0.9254, allocations: 43.98 kB / 0.4978 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9255, allocations: 8 kB / 0.4978 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006632/0.9321, allocations: 1.94 MB / 0.4997 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.9322, allocations: 0 / 0.4997 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/0.945, allocations: 2.093 MB / 0.5017 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.9469, allocations: 187.7 kB / 0.5019 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007736/0.9547, allocations: 2.246 MB / 0.5041 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/0.9583, allocations: 254.8 kB / 0.5043 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.9587, allocations: 55.92 kB / 0.5044 GB, free: 5.754 MB / 442.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 (104): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 43} Notification: Performance of prepare postOptimizeDAE: time 0.0005584/0.9593, allocations: 175.1 kB / 0.5046 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006233/0.9599, allocations: 158.1 kB / 0.5047 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02524/0.9852, allocations: 4.421 MB / 0.509 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.9853, allocations: 12 kB / 0.509 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.9853, allocations: 4 kB / 0.509 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/0.9854, allocations: 7.969 kB / 0.509 GB, free: 0.9609 MB / 442.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.02935/1.015, allocations: 6.532 MB / 0.5154 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.015, allocations: 4 kB / 0.5154 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.017, allocations: 163.8 kB / 0.5156 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/1.027, allocations: 1.722 MB / 0.5173 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/1.028, allocations: 31.98 kB / 0.5173 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/1.057, allocations: 7.07 MB / 0.5242 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.057, allocations: 0 / 0.5242 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3851/1.442, allocations: 5.41 MB / 0.5295 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.443, allocations: 269.3 kB / 0.5297 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008768/1.444, allocations: 26.42 kB / 0.5298 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004953/1.449, allocations: 188.5 kB / 0.5299 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/1.451, allocations: 231.3 kB / 0.5302 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004292/1.452, allocations: 35.97 kB / 0.5302 GB, free: 131.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003424/1.455, allocations: 0.8595 MB / 0.531 GB, free: 131.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.843e-06/1.455, allocations: 2.031 kB / 0.531 GB, free: 131.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005534/1.461, allocations: 0.68 MB / 0.5317 GB, free: 131.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epq,generator.PSIkd,generator.PSIppq,SCRX.imLeadLag.TF.x_scaled[1],SCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.04241/1.503, allocations: 6.177 MB / 0.5377 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03322/1.537, allocations: 3.888 MB / 0.5415 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.537, allocations: 3.625 kB / 0.5415 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01489/1.552, allocations: 1.695 MB / 0.5432 GB, free: 129.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.553, allocations: 126 kB / 0.5433 GB, free: 129.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009709/1.563, allocations: 2.392 MB / 0.5456 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/1.564, allocations: 1.246 MB / 0.5469 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002188/1.566, allocations: 257.2 kB / 0.5471 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.567, allocations: 0.5501 MB / 0.5476 GB, free: 128.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/1.567, allocations: 0 / 0.5476 GB, free: 128.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.697, allocations: 43.26 MB / 0.5899 GB, free: 106.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/1.697, allocations: 170.3 kB / 0.5901 GB, free: 106.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.132/6.829, allocations: 0 / 0.5901 GB, free: 106.1 MB / 458.7 MB