Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.588/2.588, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.649e-05, allocations: 4 kB / 330.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 60.23 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.691/3.118, allocations: 0.7547 GB / 1.137 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/3.118, allocations: 79.3 kB / 1.137 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.346/5.465, allocations: 476.1 MB / 1.602 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.294e-06/5.465, allocations: 0 / 1.602 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001869/5.465, allocations: 39.98 kB / 1.602 GB, free: 78.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004156/5.469, allocations: 1.704 MB / 1.603 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/5.469, allocations: 8.031 kB / 1.603 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/5.469, allocations: 139.5 kB / 1.604 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/5.471, allocations: 301 kB / 1.604 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/5.475, allocations: 1.42 MB / 1.605 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/5.475, allocations: 95.69 kB / 1.605 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/5.475, allocations: 87.91 kB / 1.605 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/5.478, allocations: 1.09 MB / 1.607 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/5.478, allocations: 7.953 kB / 1.607 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/5.478, allocations: 43.98 kB / 1.607 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/5.478, allocations: 30 kB / 1.607 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/5.48, allocations: 0.7604 MB / 1.607 GB, free: 72.32 MB / 0.5105 GB 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.01101/5.491, allocations: 5.188 MB / 1.612 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/5.492, allocations: 306.7 kB / 1.613 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/5.492, allocations: 145.6 kB / 1.613 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/5.492, allocations: 4 kB / 1.613 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/5.492, allocations: 42.75 kB / 1.613 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 3.987e-06/5.492, allocations: 3.391 kB / 1.613 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.003496/5.496, allocations: 1.537 MB / 1.614 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/5.496, allocations: 88.84 kB / 1.614 GB, free: 64.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0065/5.502, allocations: 3.062 MB / 1.617 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/5.503, allocations: 37.73 kB / 1.617 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/5.504, allocations: 0.9867 MB / 1.618 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/5.504, allocations: 142 kB / 1.619 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/5.504, allocations: 16 kB / 1.619 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/5.504, allocations: 326 kB / 1.619 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/5.504, allocations: 193.5 kB / 1.619 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/5.505, allocations: 390.4 kB / 1.619 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/5.506, allocations: 257.5 kB / 1.62 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/5.506, allocations: 0 / 1.62 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002152/5.508, allocations: 0.8135 MB / 1.621 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/5.508, allocations: 8 kB / 1.621 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/5.508, allocations: 8 kB / 1.621 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/5.508, allocations: 8 kB / 1.621 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/5.51, allocations: 220.2 kB / 1.621 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/5.511, allocations: 1.207 MB / 1.622 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/5.512, allocations: 52 kB / 1.622 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/5.512, allocations: 32 kB / 1.622 GB, free: 56.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/5.513, allocations: 151.1 kB / 1.622 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/5.513, allocations: 221.3 kB / 1.622 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/5.515, allocations: 0.519 MB / 1.623 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/5.515, allocations: 4 kB / 1.623 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/5.515, allocations: 11.89 kB / 1.623 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/5.515, allocations: 4 kB / 1.623 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/5.519, allocations: 2.006 MB / 1.625 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/5.519, allocations: 4 kB / 1.625 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/5.521, allocations: 131.8 kB / 1.625 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/5.521, allocations: 11.23 kB / 1.625 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/5.521, allocations: 8 kB / 1.625 GB, free: 53.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006023/5.521, allocations: 1.188 MB / 1.626 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.521, allocations: 3.953 kB / 1.626 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/5.523, allocations: 0.7796 MB / 1.627 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/5.525, allocations: 0.4943 MB / 1.627 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003862/5.525, allocations: 16 kB / 1.627 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/5.527, allocations: 43.95 kB / 1.627 GB, free: 51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/5.527, allocations: 27.91 kB / 1.627 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/5.527, allocations: 23.97 kB / 1.627 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005054/5.532, allocations: 2.368 MB / 1.63 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.21e-07/5.532, allocations: 0 / 1.63 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002506/5.534, allocations: 443.8 kB / 1.63 GB, free: 48.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004704/5.539, allocations: 2.522 MB / 1.633 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001397/5.541, allocations: 434.3 kB / 1.633 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/5.541, allocations: 0.7969 kB / 1.633 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/5.541, allocations: 160.3 kB / 1.633 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/5.546, allocations: 0.5546 MB / 1.634 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/5.555, allocations: 3.459 MB / 1.637 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/5.557, allocations: 1.507 MB / 1.639 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001907/5.559, allocations: 376.5 kB / 1.639 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/5.56, allocations: 0.7335 MB / 1.64 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/5.56, allocations: 0 / 1.64 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5359/6.096, allocations: 61.33 MB / 1.7 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/6.096, allocations: 208.8 kB / 1.7 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.179/11.28, allocations: 0 / 1.7 GB, free: 113.8 MB / 0.5261 GB