Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.314/2.314, allocations: 231.9 MB / 244 MB, free: 0.8125 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.556e-05, allocations: 4 kB / 300.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 53.33 MB / 353.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6136, allocations: 84.81 MB / 438.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.614, allocations: 79.94 kB / 438.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1632/0.7772, allocations: 32.33 MB / 470.9 MB, free: 4.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7773, allocations: 0 / 470.9 MB, free: 4.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000105/0.7774, allocations: 28 kB / 470.9 MB, free: 4.195 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.008668/0.7861, allocations: 1.812 MB / 472.8 MB, free: 2.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.7861, allocations: 12.03 kB / 472.8 MB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005836/0.7867, allocations: 135.1 kB / 472.9 MB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.791, allocations: 449.8 kB / 473.3 MB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.794, allocations: 0.9268 MB / 474.3 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007252/0.7948, allocations: 390.9 kB / 474.7 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.7952, allocations: 91.86 kB / 474.7 MB, free: 232 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.7989, allocations: 1.085 MB / 475.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.7989, allocations: 0 / 475.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.7992, allocations: 36 kB / 475.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.7992, allocations: 20 kB / 475.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004132/0.8033, allocations: 1.004 MB / 476.9 MB, free: 14.06 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.01565/0.819, allocations: 4.413 MB / 481.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.8348, allocations: 2.806 MB / 484.1 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.8371, allocations: 0.649 MB / 484.8 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.8374, allocations: 20.97 kB / 484.8 MB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/0.8399, allocations: 0.7731 MB / 485.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 5.3e-06/0.84, allocations: 0 / 485.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.02799/0.868, allocations: 4.193 MB / 489.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.8682, allocations: 119.8 kB / 489.9 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.8723, allocations: 1.039 MB / 490.9 MB, free: 15.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005143/0.8729, allocations: 45.7 kB / 490.9 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.8738, allocations: 0.5331 MB / 491.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.8748, allocations: 386.4 kB / 491.8 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.8751, allocations: 24.03 kB / 491.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.8754, allocations: 353.9 kB / 492.2 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.8781, allocations: 0.5182 MB / 492.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.8811, allocations: 0.659 MB / 493.4 MB, free: 13.14 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.003232/0.8844, allocations: 0.6582 MB / 494.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.8844, allocations: 3.938 kB / 494.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009744/0.8942, allocations: 1.822 MB / 495.9 MB, free: 10.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.8949, allocations: 1.069 MB / 496.9 MB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.895, allocations: 7.938 kB / 497 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02129/0.9163, allocations: 2.128 MB / 499.1 MB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.9191, allocations: 175.7 kB / 499.3 MB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.9307, allocations: 2.07 MB / 0.4896 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/0.9361, allocations: 246.8 kB / 0.4898 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005243/0.9367, allocations: 39.98 kB / 0.4898 GB, free: 4.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.9367, allocations: 4 kB / 0.4899 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009184/0.9459, allocations: 1.685 MB / 0.4915 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.946, allocations: 0 / 0.4915 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/0.9653, allocations: 2.128 MB / 0.4936 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.967, allocations: 163.8 kB / 0.4937 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.9743, allocations: 2.059 MB / 0.4957 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/0.978, allocations: 238.9 kB / 0.496 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/0.9784, allocations: 39.98 kB / 0.496 GB, free: 14.45 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: 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 (89): * Single equations (assignments): 88 * 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.0005533/0.9789, allocations: 164.7 kB / 0.4962 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.9796, allocations: 134.3 kB / 0.4963 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/1.005, allocations: 4.361 MB / 0.5006 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.005, allocations: 12 kB / 0.5006 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.005, allocations: 0 / 0.5006 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/1.005, allocations: 3.984 kB / 0.5006 GB, free: 9.758 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.02942/1.034, allocations: 6.081 MB / 0.5065 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.034, allocations: 0 / 0.5065 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.036, allocations: 131.9 kB / 0.5066 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.047, allocations: 1.729 MB / 0.5083 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003771/1.047, allocations: 31.95 kB / 0.5084 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/1.077, allocations: 7.068 MB / 0.5153 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.077, allocations: 4 kB / 0.5153 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/1.104, allocations: 5.188 MB / 0.5203 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/1.105, allocations: 263.1 kB / 0.5206 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.106, allocations: 20 kB / 0.5206 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003418/1.109, allocations: 175.8 kB / 0.5208 GB, free: 4.793 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/1.111, allocations: 220.6 kB / 0.521 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.111, allocations: 35.98 kB / 0.521 GB, free: 4.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002149/1.113, allocations: 0.8086 MB / 0.5218 GB, free: 3.723 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.113, allocations: 0 / 0.5218 GB, free: 3.723 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003347/1.116, allocations: 0.6162 MB / 0.5224 GB, free: 3.105 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.3601/1.477, allocations: 5.858 MB / 0.5281 GB, free: 133.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02208/1.499, allocations: 3.53 MB / 0.5316 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.499, allocations: 0 / 0.5316 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009519/1.508, allocations: 1.631 MB / 0.5332 GB, free: 133.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.51, allocations: 121.8 kB / 0.5333 GB, free: 133.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/1.517, allocations: 2.058 MB / 0.5353 GB, free: 133.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/1.518, allocations: 1.188 MB / 0.5364 GB, free: 132.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002/1.521, allocations: 234.2 kB / 0.5367 GB, free: 132.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/1.522, allocations: 489.2 kB / 0.5371 GB, free: 132.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/1.522, allocations: 0 / 0.5371 GB, free: 132.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.656, allocations: 39.97 MB / 0.5762 GB, free: 119 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.656, allocations: 168.4 kB / 0.5763 GB, free: 118.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/6.082, allocations: 64 / 0.5763 GB, free: 118.7 MB / 458.7 MB