Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.353/2.353, allocations: 231.9 MB / 244 MB, free: 0.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.759e-05/4.763e-05, allocations: 4 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 53.33 MB / 353.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.6191, allocations: 83.72 MB / 437.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.6195, allocations: 79.95 kB / 437.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1536/0.7732, allocations: 30.17 MB / 467.7 MB, free: 7.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7732, allocations: 0 / 467.7 MB, free: 7.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.7734, allocations: 24 kB / 467.7 MB, free: 7.527 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01015/0.7836, allocations: 1.854 MB / 469.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.7837, allocations: 12.03 kB / 469.5 MB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005713/0.7842, allocations: 139.2 kB / 469.7 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.7901, allocations: 0.5642 MB / 470.2 MB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.7937, allocations: 0.8484 MB / 471.1 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/0.7944, allocations: 339.5 kB / 471.4 MB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.795, allocations: 84 kB / 471.5 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.7989, allocations: 1.056 MB / 472.6 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.799, allocations: 0 / 472.6 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.7992, allocations: 32 kB / 472.6 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.7993, allocations: 23.94 kB / 472.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.8033, allocations: 0.9451 MB / 473.6 MB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.8187, allocations: 3.993 MB / 477.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.8236, allocations: 1.288 MB / 478.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.8259, allocations: 0.6537 MB / 479.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.8262, allocations: 16.98 kB / 479.5 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002529/0.8287, allocations: 0.7574 MB / 480.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 5.591e-06/0.8288, allocations: 4 kB / 480.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.02819/0.857, allocations: 4.426 MB / 484.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.8572, allocations: 119.8 kB / 484.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.8592, allocations: 0.7409 MB / 485.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004262/0.8596, allocations: 45.7 kB / 485.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.8602, allocations: 472.7 kB / 486.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.8611, allocations: 366.6 kB / 486.4 MB, free: 4.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.8613, allocations: 20 kB / 486.4 MB, free: 4.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8615, allocations: 341.9 kB / 486.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.8635, allocations: 0.5182 MB / 487.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.8657, allocations: 0.625 MB / 487.9 MB, free: 2.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.868, allocations: 0.6067 MB / 488.5 MB, free: 2.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.8681, allocations: 0 / 488.5 MB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.02799/0.8961, allocations: 4.532 MB / 493.1 MB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.8962, allocations: 65.58 kB / 493.1 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.8962, allocations: 0 / 493.1 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.9077, allocations: 1.766 MB / 494.9 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.9099, allocations: 199.8 kB / 495.1 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/0.9408, allocations: 7.884 MB / 0.4912 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.9444, allocations: 231 kB / 0.4914 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/0.9449, allocations: 39.98 kB / 0.4914 GB, free: 3.211 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 2 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005392/0.9454, allocations: 182.8 kB / 0.4916 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.946, allocations: 118.6 kB / 0.4917 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/0.9739, allocations: 4.559 MB / 0.4962 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.974, allocations: 12 kB / 0.4962 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.974, allocations: 0 / 0.4962 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/0.9741, allocations: 7.969 kB / 0.4962 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/1.005, allocations: 6.191 MB / 0.5022 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/1.005, allocations: 3.984 kB / 0.5023 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.007, allocations: 131.8 kB / 0.5024 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01121/1.018, allocations: 1.844 MB / 0.5042 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/1.019, allocations: 24 kB / 0.5042 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03081/1.049, allocations: 8.606 MB / 0.5126 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.05, allocations: 0 / 0.5126 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03011/1.08, allocations: 5.406 MB / 0.5179 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.08, allocations: 219.4 kB / 0.5181 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004202/1.081, allocations: 20 kB / 0.5181 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/1.084, allocations: 176 kB / 0.5183 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/1.085, allocations: 232.6 kB / 0.5185 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.085, allocations: 35.92 kB / 0.5185 GB, free: 6.977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001426/1.087, allocations: 0.5705 MB / 0.5191 GB, free: 6.391 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.087, allocations: 0 / 0.5191 GB, free: 6.391 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002496/1.089, allocations: 455.3 kB / 0.5195 GB, free: 5.945 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order4.delta,order4.w,order4.e1q,order4.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.3526/1.442, allocations: 6.068 MB / 0.5255 GB, free: 134.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.453, allocations: 2.269 MB / 0.5277 GB, free: 134.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.453, allocations: 0 / 0.5277 GB, free: 134.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008627/1.461, allocations: 1.739 MB / 0.5294 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.463, allocations: 98.69 kB / 0.5295 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/1.47, allocations: 1.98 MB / 0.5314 GB, free: 133.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/1.471, allocations: 1.131 MB / 0.5325 GB, free: 132.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008158/1.472, allocations: 94.7 kB / 0.5326 GB, free: 132.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000903/1.473, allocations: 431.2 kB / 0.533 GB, free: 132.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.305e-06/1.473, allocations: 0 / 0.533 GB, free: 132.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.593, allocations: 32.33 MB / 0.5646 GB, free: 127.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/1.593, allocations: 176.1 kB / 0.5647 GB, free: 127.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/5.698, allocations: 0 / 0.5647 GB, free: 127.7 MB / 458.7 MB