Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.432/2.432, allocations: 231.9 MB / 244 MB, free: 0.8125 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.201e-05, allocations: 4 kB / 300.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 53.34 MB / 353.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6086, allocations: 82.71 MB / 436.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.609, allocations: 83.95 kB / 436.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.7335, allocations: 24.58 MB / 461.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7335, allocations: 0 / 461.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.7337, allocations: 27.94 kB / 461.1 MB, free: 14.07 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.009349/0.743, allocations: 1.781 MB / 462.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.7431, allocations: 8.031 kB / 462.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005814/0.7437, allocations: 138.8 kB / 463 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/0.7494, allocations: 0.5409 MB / 463.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.7526, allocations: 0.7978 MB / 464.4 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/0.7531, allocations: 264.1 kB / 464.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.7536, allocations: 87.92 kB / 464.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.7571, allocations: 0.9853 MB / 465.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.7572, allocations: 3.984 kB / 465.7 MB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.7574, allocations: 32 kB / 465.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.7574, allocations: 16 kB / 465.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.7608, allocations: 0.8788 MB / 466.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.7747, allocations: 3.682 MB / 470.3 MB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.7782, allocations: 1.122 MB / 471.4 MB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.7803, allocations: 0.6171 MB / 472 MB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.7805, allocations: 8.781 kB / 472.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.7829, allocations: 0.7269 MB / 472.8 MB, free: 1.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 4.689e-06/0.783, allocations: 0 / 472.8 MB, free: 1.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02582/0.8088, allocations: 4.279 MB / 477.1 MB, free: 13.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.809, allocations: 115.6 kB / 477.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.811, allocations: 0.7471 MB / 477.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.8115, allocations: 41.7 kB / 478 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.8121, allocations: 472.5 kB / 478.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008073/0.8129, allocations: 342.9 kB / 478.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.8131, allocations: 27.97 kB / 478.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.8133, allocations: 345.9 kB / 479.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.8152, allocations: 0.4986 MB / 479.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.8173, allocations: 0.6094 MB / 480.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.8195, allocations: 0.5959 MB / 480.8 MB, free: 9.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.8196, allocations: 3.938 kB / 480.8 MB, free: 9.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.02669/0.8463, allocations: 4.41 MB / 485.2 MB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.8464, allocations: 59.41 kB / 485.3 MB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.8465, allocations: 0 / 485.3 MB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.8586, allocations: 1.776 MB / 487.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.8606, allocations: 183.8 kB / 487.3 MB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/0.8911, allocations: 7.465 MB / 494.7 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.8942, allocations: 211 kB / 494.9 MB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.8946, allocations: 35.98 kB / 495 MB, free: 11.5 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6Type2_Inputs_Outputs.e1q:VARIABLE(start = order6Type2_Inputs_Outputs.e1q0 ) "q-axis transient voltage" 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 (94): * Single equations (assignments): 91 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005067/0.8952, allocations: 192.8 kB / 495.1 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.8957, allocations: 106.6 kB / 495.3 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0255/0.9212, allocations: 4.422 MB / 499.7 MB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.9213, allocations: 12 kB / 499.7 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.9213, allocations: 0 / 499.7 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.9213, allocations: 7.969 kB / 499.7 MB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0293/0.9506, allocations: 6.019 MB / 0.4939 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.9507, allocations: 0 / 0.4939 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.9521, allocations: 103.8 kB / 0.494 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01076/0.9629, allocations: 1.766 MB / 0.4957 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/0.9634, allocations: 16 kB / 0.4957 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02833/0.9917, allocations: 8.31 MB / 0.5038 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.9918, allocations: 7.938 kB / 0.5038 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0278/1.02, allocations: 5.234 MB / 0.5089 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/1.02, allocations: 211.5 kB / 0.5091 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/1.021, allocations: 20 kB / 0.5092 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.023, allocations: 151.9 kB / 0.5093 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/1.025, allocations: 212.7 kB / 0.5095 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.025, allocations: 24 kB / 0.5095 GB, free: 224 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001494/1.026, allocations: 0.5851 MB / 0.5101 GB, free: 15.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.026, allocations: 0 / 0.5101 GB, free: 15.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002653/1.029, allocations: 431.4 kB / 0.5105 GB, free: 15.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0288/1.058, allocations: 5.91 MB / 0.5163 GB, free: 9.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01115/1.069, allocations: 2.233 MB / 0.5185 GB, free: 6.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.069, allocations: 3.938 kB / 0.5185 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008879/1.078, allocations: 1.707 MB / 0.5201 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.079, allocations: 95.31 kB / 0.5202 GB, free: 5.145 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/1.087, allocations: 1.786 MB / 0.522 GB, free: 3.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009436/1.088, allocations: 1.101 MB / 0.523 GB, free: 2.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008198/1.089, allocations: 98.67 kB / 0.5231 GB, free: 2.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.09, allocations: 407.3 kB / 0.5235 GB, free: 1.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.09, allocations: 0 / 0.5235 GB, free: 1.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/1.519, allocations: 31.08 MB / 0.5539 GB, free: 132.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.519, allocations: 171.9 kB / 0.554 GB, free: 132.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.855/5.374, allocations: 3.969 kB / 0.554 GB, free: 132.7 MB / 458.7 MB