Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.21/2.21, allocations: 231.9 MB / 244 MB, free: 0.8008 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.55e-05/4.549e-05, allocations: 8 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 53.34 MB / 353.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5827, allocations: 84.34 MB / 438 MB, free: 5.191 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5831, allocations: 83.94 kB / 438.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1427/0.7258, allocations: 30.57 MB / 468.7 MB, free: 6.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.7259, allocations: 3.938 kB / 468.7 MB, free: 6.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.726, allocations: 23.94 kB / 468.7 MB, free: 6.395 MB / 394.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.008565/0.7346, allocations: 1.719 MB / 470.4 MB, free: 4.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.7347, allocations: 8.031 kB / 470.5 MB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005049/0.7352, allocations: 130.8 kB / 470.6 MB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.7392, allocations: 441.9 kB / 471 MB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.7419, allocations: 0.867 MB / 471.9 MB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006961/0.7427, allocations: 391.3 kB / 472.3 MB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.7432, allocations: 83.91 kB / 472.3 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.7463, allocations: 1.017 MB / 473.4 MB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.7464, allocations: 0 / 473.4 MB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.7466, allocations: 40 kB / 473.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.7466, allocations: 20 kB / 473.4 MB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.7498, allocations: 0.949 MB / 474.4 MB, free: 0.5625 MB / 394.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.01379/0.7637, allocations: 4.114 MB / 478.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.7788, allocations: 2.754 MB / 481.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.7809, allocations: 0.6373 MB / 481.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.7812, allocations: 20.98 kB / 481.9 MB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002235/0.7834, allocations: 0.7496 MB / 482.6 MB, free: 8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 6.923e-06/0.7835, allocations: 0 / 482.6 MB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.02464/0.8081, allocations: 4.15 MB / 486.8 MB, free: 3.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.8082, allocations: 90.11 kB / 486.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.8107, allocations: 0.9351 MB / 487.8 MB, free: 2.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004098/0.8111, allocations: 49.69 kB / 487.9 MB, free: 2.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.8117, allocations: 0.4895 MB / 488.4 MB, free: 2.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/0.8123, allocations: 378.5 kB / 488.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.8124, allocations: 20 kB / 488.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8126, allocations: 349.9 kB / 489.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.8143, allocations: 0.5065 MB / 489.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.8159, allocations: 0.6267 MB / 490.2 MB, free: 320 kB / 410.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.00181/0.8178, allocations: 0.6268 MB / 490.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.8178, allocations: 4.094 kB / 490.8 MB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005835/0.8236, allocations: 1.775 MB / 492.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.8237, allocations: 4 kB / 492.6 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8237, allocations: 4.344 kB / 492.6 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.8377, allocations: 2.148 MB / 494.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.8392, allocations: 159.7 kB / 494.9 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.8463, allocations: 2.059 MB / 497 MB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.8494, allocations: 226.9 kB / 497.2 MB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.8496, allocations: 39.98 kB / 497.3 MB, free: 9.203 MB / 426.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: 12 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {26 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.8501, allocations: 160.8 kB / 497.4 MB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/0.8504, allocations: 130.4 kB / 497.5 MB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02423/0.8747, allocations: 4.262 MB / 0.49 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.8748, allocations: 15.98 kB / 0.4901 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.8748, allocations: 3.953 kB / 0.4901 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.771e-05/0.8748, allocations: 11.91 kB / 0.4901 GB, free: 4.605 MB / 426.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.0295/0.9043, allocations: 5.997 MB / 0.4959 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.9044, allocations: 0 / 0.4959 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.906, allocations: 115.9 kB / 0.496 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/0.9165, allocations: 1.722 MB / 0.4977 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/0.9169, allocations: 24 kB / 0.4977 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02878/0.9457, allocations: 7.043 MB / 0.5046 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9457, allocations: 4 kB / 0.5046 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/0.9726, allocations: 5.112 MB / 0.5096 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/0.9733, allocations: 243.3 kB / 0.5098 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.9737, allocations: 20 kB / 0.5099 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/0.9765, allocations: 159.9 kB / 0.51 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/0.9776, allocations: 224.6 kB / 0.5102 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.9778, allocations: 31.98 kB / 0.5103 GB, free: 15.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00186/0.9797, allocations: 0.7386 MB / 0.511 GB, free: 14.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9797, allocations: 0 / 0.511 GB, free: 14.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00219/0.9819, allocations: 399.5 kB / 0.5114 GB, free: 14.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1_1.imLeadLag.TF.x_scaled[1],tGOV1_1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.02746/1.009, allocations: 5.798 MB / 0.517 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.021, allocations: 1.982 MB / 0.519 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.021, allocations: 0 / 0.519 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009293/1.031, allocations: 1.613 MB / 0.5205 GB, free: 5.051 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.032, allocations: 104.4 kB / 0.5206 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/1.039, allocations: 1.889 MB / 0.5225 GB, free: 3.008 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/1.04, allocations: 1.133 MB / 0.5236 GB, free: 1.844 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008926/1.041, allocations: 115.8 kB / 0.5237 GB, free: 1.727 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.042, allocations: 463.3 kB / 0.5241 GB, free: 1.273 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.042, allocations: 0 / 0.5241 GB, free: 1.273 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3968/1.439, allocations: 31.7 MB / 0.5551 GB, free: 131.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.44, allocations: 162.2 kB / 0.5553 GB, free: 131.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.914/5.353, allocations: 0 / 0.5553 GB, free: 131.6 MB / 458.7 MB