Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.466/2.466, allocations: 231.9 MB / 244 MB, free: 0.8008 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.587e-05, allocations: 4 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 53.33 MB / 353.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5977, allocations: 85.23 MB / 438.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.5981, allocations: 83.94 kB / 439 MB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/0.7473, allocations: 31.62 MB / 470.6 MB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.492e-06/0.7474, allocations: 0 / 470.6 MB, free: 4.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.788e-05/0.7475, allocations: 31.88 kB / 470.6 MB, free: 4.465 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.008138/0.7556, allocations: 1.769 MB / 472.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7557, allocations: 8.031 kB / 472.4 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004214/0.7561, allocations: 143.3 kB / 472.6 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/0.76, allocations: 461.7 kB / 473 MB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.7627, allocations: 0.8967 MB / 473.9 MB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006733/0.7634, allocations: 387 kB / 474.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.7638, allocations: 95.94 kB / 474.4 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.767, allocations: 1.081 MB / 475.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.767, allocations: 0 / 475.5 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.7672, allocations: 32 kB / 475.5 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.7673, allocations: 23.94 kB / 475.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.7705, allocations: 0.9959 MB / 476.5 MB, free: 14.4 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.01393/0.7844, allocations: 4.395 MB / 480.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.7997, allocations: 2.743 MB / 483.7 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.8018, allocations: 0.6412 MB / 484.3 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.802, allocations: 16.98 kB / 484.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/0.8042, allocations: 0.7614 MB / 485.1 MB, free: 5.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 3.937e-06/0.8042, allocations: 0 / 485.1 MB, free: 5.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=109): time 0.02473/0.8289, allocations: 4.15 MB / 489.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.8291, allocations: 90.11 kB / 489.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.8319, allocations: 0.9931 MB / 490.3 MB, free: 272 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.8323, allocations: 49.64 kB / 490.4 MB, free: 216 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/0.833, allocations: 0.5172 MB / 490.9 MB, free: 15.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008041/0.8338, allocations: 386.4 kB / 491.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.834, allocations: 20 kB / 491.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.8342, allocations: 354 kB / 491.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.8359, allocations: 0.5259 MB / 492.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.8379, allocations: 0.6435 MB / 492.8 MB, free: 13.72 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.002137/0.84, allocations: 0.6542 MB / 493.4 MB, free: 13.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.8401, allocations: 4 kB / 493.4 MB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006111/0.8462, allocations: 1.869 MB / 495.3 MB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.8463, allocations: 10.81 kB / 495.3 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.8463, allocations: 8 kB / 495.3 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/0.8608, allocations: 2.401 MB / 497.7 MB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.8622, allocations: 131.8 kB / 497.9 MB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/0.8706, allocations: 2.357 MB / 0.4885 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/0.8739, allocations: 218.9 kB / 0.4887 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/0.8742, allocations: 51.97 kB / 0.4887 GB, free: 5.961 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: 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 (74): * Single equations (assignments): 73 * 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 {30 41} Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.8746, allocations: 152.8 kB / 0.4889 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.8751, allocations: 134.3 kB / 0.489 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02447/0.8996, allocations: 4.286 MB / 0.4932 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.8997, allocations: 12 kB / 0.4932 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.8997, allocations: 0 / 0.4932 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/0.8998, allocations: 11.97 kB / 0.4932 GB, free: 1.348 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.02871/0.9285, allocations: 5.971 MB / 0.4991 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.9286, allocations: 3.953 kB / 0.4991 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.9302, allocations: 127.8 kB / 0.4992 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/0.9409, allocations: 1.726 MB / 0.5009 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/0.9413, allocations: 23.98 kB / 0.5009 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/0.9706, allocations: 7.062 MB / 0.5078 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9706, allocations: 0 / 0.5078 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02731/0.998, allocations: 5.175 MB / 0.5128 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/0.9989, allocations: 251.1 kB / 0.5131 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/0.9995, allocations: 20.09 kB / 0.5131 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.003, allocations: 163.8 kB / 0.5133 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.004, allocations: 228.5 kB / 0.5135 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.004, allocations: 28 kB / 0.5135 GB, free: 12.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001947/1.006, allocations: 0.7759 MB / 0.5143 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.006, allocations: 0 / 0.5143 GB, free: 11.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002226/1.008, allocations: 419.5 kB / 0.5147 GB, free: 11.1 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,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 (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 {22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02768/1.036, allocations: 5.841 MB / 0.5204 GB, free: 5.219 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.048, allocations: 2.052 MB / 0.5224 GB, free: 3.168 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.048, allocations: 0 / 0.5224 GB, free: 3.168 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009293/1.057, allocations: 1.621 MB / 0.524 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.058, allocations: 109.3 kB / 0.5241 GB, free: 1.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3185/1.377, allocations: 1.938 MB / 0.526 GB, free: 135.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/1.378, allocations: 1.15 MB / 0.5271 GB, free: 134.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009404/1.379, allocations: 108.2 kB / 0.5272 GB, free: 134.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.38, allocations: 489.8 kB / 0.5276 GB, free: 134.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/1.38, allocations: 0 / 0.5276 GB, free: 134.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.482, allocations: 33.05 MB / 0.5599 GB, free: 129.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/1.483, allocations: 168.3 kB / 0.5601 GB, free: 129.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.127/5.61, allocations: 0 / 0.5601 GB, free: 129.2 MB / 458.7 MB