Running command: "" <> buildModelFMU(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.48/2.48, allocations: 231.9 MB / 244 MB, free: 0.8164 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.144e-05, allocations: 4 kB / 300.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 53.34 MB / 353.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.471/0.6059, allocations: 82.23 MB / 435.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/0.6063, allocations: 83.94 kB / 436 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1111/0.7174, allocations: 23.01 MB / 459 MB, free: 176 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7175, allocations: 4 kB / 459 MB, free: 172 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.7176, allocations: 27.94 kB / 459 MB, free: 144 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.008965/0.7266, allocations: 1.769 MB / 460.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.7266, allocations: 12.03 kB / 460.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005166/0.7272, allocations: 130.7 kB / 461 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005553/0.7327, allocations: 0.5448 MB / 461.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.7357, allocations: 0.794 MB / 462.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.7362, allocations: 230.4 kB / 462.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.7366, allocations: 83.91 kB / 462.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.7397, allocations: 0.9822 MB / 463.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.7398, allocations: 4 kB / 463.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.74, allocations: 28 kB / 463.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.7401, allocations: 20 kB / 463.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.743, allocations: 0.8826 MB / 464.5 MB, free: 10.51 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.01309/0.7561, allocations: 3.733 MB / 468.2 MB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.759, allocations: 1.062 MB / 469.3 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.7608, allocations: 0.6216 MB / 469.9 MB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.761, allocations: 20.77 kB / 470 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.7611, allocations: 47.33 kB / 470 MB, free: 4.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 5.039e-06/0.7611, allocations: 0 / 470 MB, free: 4.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02402/0.7851, allocations: 4.165 MB / 474.2 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7853, allocations: 141.3 kB / 474.3 MB, free: 452 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.7872, allocations: 0.7392 MB / 475 MB, free: 15.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000392/0.7876, allocations: 49.64 kB / 475.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.7881, allocations: 460.5 kB / 475.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/0.7887, allocations: 343 kB / 475.9 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7889, allocations: 20 kB / 475.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7891, allocations: 345.9 kB / 476.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.7907, allocations: 486 kB / 476.7 MB, free: 14.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.7924, allocations: 0.6 MB / 477.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.7941, allocations: 0.5881 MB / 477.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.7941, allocations: 0 / 477.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0251/0.8192, allocations: 4.372 MB / 482.3 MB, free: 8.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004804/0.8198, allocations: 0.9232 MB / 483.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.8198, allocations: 11.95 kB / 483.2 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.831, allocations: 1.726 MB / 484.9 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.8327, allocations: 159.8 kB / 485.1 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/0.861, allocations: 8.435 MB / 493.5 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.8638, allocations: 199.1 kB / 493.7 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.8641, allocations: 35.98 kB / 493.7 MB, free: 12.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8641, allocations: 4 kB / 493.8 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0252/0.8893, allocations: 4.259 MB / 498 MB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.8894, allocations: 8 kB / 498 MB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/0.9005, allocations: 1.723 MB / 499.7 MB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.9022, allocations: 155.7 kB / 499.9 MB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/0.9307, allocations: 8.406 MB / 0.4964 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.9335, allocations: 183.2 kB / 0.4966 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.9337, allocations: 36 kB / 0.4966 GB, free: 13.45 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005238/0.9342, allocations: 186.4 kB / 0.4968 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.9347, allocations: 106.7 kB / 0.4969 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/0.9587, allocations: 4.303 MB / 0.5011 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.9588, allocations: 8 kB / 0.5011 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9588, allocations: 0 / 0.5011 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-05/0.9589, allocations: 11.98 kB / 0.5011 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/0.9875, allocations: 5.895 MB / 0.5069 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.9876, allocations: 0 / 0.5069 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.9892, allocations: 127.8 kB / 0.507 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.9994, allocations: 1.68 MB / 0.5086 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003709/0.9998, allocations: 23.98 kB / 0.5086 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.024, allocations: 6.337 MB / 0.5148 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.024, allocations: 4 kB / 0.5148 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/1.05, allocations: 5.092 MB / 0.5198 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/1.051, allocations: 207.5 kB / 0.52 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/1.051, allocations: 19.98 kB / 0.52 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.054, allocations: 143.9 kB / 0.5202 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.055, allocations: 200.4 kB / 0.5203 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.055, allocations: 24 kB / 0.5204 GB, free: 4.746 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00141/1.057, allocations: 0.5812 MB / 0.5209 GB, free: 4.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.057, allocations: 0 / 0.5209 GB, free: 4.172 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003316/1.06, allocations: 0.6514 MB / 0.5216 GB, free: 3.52 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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * 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: 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.3493/1.409, allocations: 5.748 MB / 0.5272 GB, free: 135.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02021/1.429, allocations: 4.074 MB / 0.5312 GB, free: 135 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.43, allocations: 4.719 kB / 0.5312 GB, free: 135 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008504/1.438, allocations: 1.56 MB / 0.5327 GB, free: 134.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.439, allocations: 88.88 kB / 0.5328 GB, free: 134.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/1.446, allocations: 1.839 MB / 0.5346 GB, free: 134.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.448, allocations: 1.115 MB / 0.5357 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001651/1.449, allocations: 171.9 kB / 0.5358 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009533/1.45, allocations: 402.1 kB / 0.5362 GB, free: 133.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.505e-06/1.45, allocations: 0 / 0.5362 GB, free: 133.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.567, allocations: 38.33 MB / 0.5736 GB, free: 121.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.568, allocations: 178.2 kB / 0.5738 GB, free: 120.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/5.815, allocations: 1.969 kB / 0.5738 GB, free: 120.9 MB / 458.7 MB