Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HelmholtzMedia): time 2.304/2.304, allocations: 215.3 MB / 227.5 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.762e-05, allocations: 0 / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 49.23 MB / 328.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.303/9.417, allocations: 2.852 GB / 3.174 GB, free: 84.24 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/9.418, allocations: 65 kB / 3.174 GB, free: 84.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/10.54, allocations: 177.5 MB / 3.347 GB, free: 73.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/10.54, allocations: 3.938 kB / 3.347 GB, free: 73.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/10.54, allocations: 3.688 kB / 3.347 GB, free: 73.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00907/10.54, allocations: 1.407 MB / 3.348 GB, free: 73.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/10.54, allocations: 10.41 kB / 3.348 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/10.54, allocations: 41.84 kB / 3.348 GB, free: 73.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/10.54, allocations: 23.58 kB / 3.348 GB, free: 73.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/10.55, allocations: 186.6 kB / 3.349 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/10.55, allocations: 3.469 kB / 3.349 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/10.55, allocations: 10.88 kB / 3.349 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/10.55, allocations: 329.2 kB / 3.349 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/10.55, allocations: 2.812 kB / 3.349 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/10.55, allocations: 10.08 kB / 3.349 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/10.55, allocations: 0 / 3.349 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/10.55, allocations: 286.7 kB / 3.349 GB, free: 72.96 MB / 442.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.001219/10.55, allocations: 1.053 MB / 3.35 GB, free: 72.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/10.55, allocations: 294.4 kB / 3.351 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/10.55, allocations: 66.48 kB / 3.351 GB, free: 71.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102/11.65, allocations: 183.2 MB / 3.529 GB, free: 93.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/11.65, allocations: 45.36 kB / 3.529 GB, free: 93.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/11.65, allocations: 1.406 kB / 3.529 GB, free: 93.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.002053/11.65, allocations: 434.1 kB / 3.53 GB, free: 93.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/11.65, allocations: 102.8 kB / 3.53 GB, free: 92.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/11.65, allocations: 139.9 kB / 3.53 GB, free: 92.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/11.65, allocations: 25.7 kB / 3.53 GB, free: 92.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/11.65, allocations: 114.1 kB / 3.53 GB, free: 92.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/11.65, allocations: 47.52 kB / 3.53 GB, free: 92.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/11.65, allocations: 0 / 3.53 GB, free: 92.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/11.65, allocations: 319.5 kB / 3.531 GB, free: 92.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/11.65, allocations: 34.25 kB / 3.531 GB, free: 92.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/11.65, allocations: 80.91 kB / 3.531 GB, free: 92.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/11.65, allocations: 39.38 kB / 3.531 GB, free: 92.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/11.65, allocations: 7.188 kB / 3.531 GB, free: 92.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003692/11.66, allocations: 145.2 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/11.66, allocations: 3.875 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/11.66, allocations: 7.422 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/11.66, allocations: 3.5 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/11.66, allocations: 53.94 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/11.66, allocations: 6.688 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/11.66, allocations: 34.91 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/11.66, allocations: 10.16 kB / 3.531 GB, free: 92.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/11.66, allocations: 117.7 kB / 3.531 GB, free: 92.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.593e-05/11.66, allocations: 12.31 kB / 3.531 GB, free: 92.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/11.66, allocations: 1.119 MB / 3.532 GB, free: 92.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/11.66, allocations: 20.11 kB / 3.532 GB, free: 92.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/11.66, allocations: 3.953 kB / 3.532 GB, free: 92.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/11.66, allocations: 3.656 kB / 3.532 GB, free: 92.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/11.66, allocations: 0.5799 MB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/11.66, allocations: 0 / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/11.66, allocations: 38.22 kB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/11.66, allocations: 9.781 kB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/11.66, allocations: 6.797 kB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/11.66, allocations: 3.781 kB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/11.66, allocations: 3.844 kB / 3.533 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/11.66, allocations: 0.8084 MB / 3.534 GB, free: 91.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/11.66, allocations: 130 kB / 3.534 GB, free: 91.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/11.66, allocations: 10.19 kB / 3.534 GB, free: 91.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/11.66, allocations: 32.56 kB / 3.534 GB, free: 91.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/11.66, allocations: 17.05 kB / 3.534 GB, free: 91.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/11.66, allocations: 8 kB / 3.534 GB, free: 91.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.021e-05/11.66, allocations: 106.8 kB / 3.534 GB, free: 91.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/11.66, allocations: 0 / 3.534 GB, free: 91.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007229/11.67, allocations: 1.422 MB / 3.535 GB, free: 91.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01548/11.68, allocations: 3.16 MB / 3.538 GB, free: 90.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005579/11.68, allocations: 244 kB / 3.539 GB, free: 90.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/11.68, allocations: 0 / 3.539 GB, free: 90.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/11.68, allocations: 247.9 kB / 3.539 GB, free: 90.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/11.69, allocations: 46.5 kB / 3.539 GB, free: 90.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/11.69, allocations: 1.166 MB / 3.54 GB, free: 89.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/11.69, allocations: 0.7977 MB / 3.541 GB, free: 88.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/11.69, allocations: 109.5 kB / 3.541 GB, free: 88.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/11.69, allocations: 86.92 kB / 3.541 GB, free: 88.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/11.69, allocations: 3.656 kB / 3.541 GB, free: 88.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/11.8, allocations: 39.15 MB / 3.579 GB, free: 86.78 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/11.8, allocations: 178.6 kB / 3.579 GB, free: 86.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.162/15.97, allocations: 0 / 3.579 GB, free: 86.55 MB / 474.7 MB