Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.648e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09642, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.543/8.64, allocations: 2.628 GB / 2.921 GB, free: 74.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/8.64, allocations: 84.86 kB / 2.921 GB, free: 74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.864/11.5, allocations: 0.5462 GB / 3.467 GB, free: 7.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/11.5, allocations: 0 / 3.467 GB, free: 7.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002187/11.5, allocations: 43.2 kB / 3.467 GB, free: 7.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01481/11.52, allocations: 2.798 MB / 3.47 GB, free: 4.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/11.52, allocations: 12.03 kB / 3.47 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/11.52, allocations: 229.1 kB / 3.47 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007291/11.53, allocations: 0.5934 MB / 3.471 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/11.53, allocations: 1.459 MB / 3.472 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/11.53, allocations: 144.3 kB / 3.472 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000719/11.54, allocations: 148.4 kB / 3.472 GB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3541/11.89, allocations: 2.753 MB / 3.475 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-05/11.89, allocations: 10.03 kB / 3.475 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/11.89, allocations: 67.05 kB / 3.475 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/11.89, allocations: 127.7 kB / 3.475 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009912/11.9, allocations: 2.459 MB / 3.478 GB, free: 26.57 MB / 426.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.02685/11.93, allocations: 11.96 MB / 3.489 GB, free: 19.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00638/11.93, allocations: 1.592 MB / 3.491 GB, free: 19.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/11.94, allocations: 0.7139 MB / 3.492 GB, free: 19.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/11.95, allocations: 5.744 MB / 3.497 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/11.95, allocations: 45.62 kB / 3.497 GB, free: 15.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 4.959e-06/11.95, allocations: 0 / 3.497 GB, free: 15.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02781/11.98, allocations: 5.886 MB / 3.503 GB, free: 14.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/11.98, allocations: 142.1 kB / 3.503 GB, free: 14.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/11.98, allocations: 1.013 MB / 3.504 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004693/11.98, allocations: 51.73 kB / 3.504 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/11.98, allocations: 0.7622 MB / 3.505 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007314/11.98, allocations: 428.7 kB / 3.505 GB, free: 13.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/11.98, allocations: 32.44 kB / 3.505 GB, free: 13.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/11.98, allocations: 377.9 kB / 3.506 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/11.99, allocations: 0.7602 MB / 3.506 GB, free: 13.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/11.99, allocations: 1.201 MB / 3.508 GB, free: 12.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51/16.5, allocations: 378.6 MB / 3.877 GB, free: 73.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/16.5, allocations: 6.656 kB / 3.877 GB, free: 73.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.008111/16.51, allocations: 2.436 MB / 3.88 GB, free: 72.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001536/16.51, allocations: 5.14 MB / 3.885 GB, free: 67.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/16.51, allocations: 12.72 kB / 3.885 GB, free: 67.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/16.51, allocations: 0.5007 MB / 3.885 GB, free: 67.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/16.51, allocations: 392 kB / 3.886 GB, free: 67.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/16.52, allocations: 2.859 MB / 3.888 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/16.52, allocations: 206.8 kB / 3.889 GB, free: 65.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/16.52, allocations: 82.83 kB / 3.889 GB, free: 65.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/16.52, allocations: 5.812 kB / 3.889 GB, free: 65.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006834/16.53, allocations: 2.257 MB / 3.891 GB, free: 65.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/16.53, allocations: 12.69 kB / 3.891 GB, free: 65.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/16.53, allocations: 497.2 kB / 3.891 GB, free: 65.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/16.53, allocations: 395 kB / 3.892 GB, free: 65.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/16.54, allocations: 2.867 MB / 3.894 GB, free: 63.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/16.54, allocations: 208.2 kB / 3.895 GB, free: 63.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/16.54, allocations: 76.45 kB / 3.895 GB, free: 63.24 MB / 474.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006669/16.54, allocations: 215.9 kB / 3.895 GB, free: 63.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/16.54, allocations: 138.1 kB / 3.895 GB, free: 63.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/16.55, allocations: 5.362 MB / 3.9 GB, free: 60.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.361e-05/16.55, allocations: 59.67 kB / 3.9 GB, free: 60.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/16.55, allocations: 0 / 3.9 GB, free: 60.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008638/16.56, allocations: 4.907 MB / 3.905 GB, free: 57.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/16.58, allocations: 7.894 MB / 3.913 GB, free: 53.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/16.58, allocations: 0 / 3.913 GB, free: 53.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/16.58, allocations: 286.4 kB / 3.913 GB, free: 53.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/16.58, allocations: 0.5495 MB / 3.914 GB, free: 53.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/16.58, allocations: 43.16 kB / 3.914 GB, free: 53.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/16.59, allocations: 2.941 MB / 3.917 GB, free: 50.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/16.59, allocations: 1.969 kB / 3.917 GB, free: 50.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/16.6, allocations: 4.978 MB / 3.921 GB, free: 47.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/16.6, allocations: 0.51 MB / 3.922 GB, free: 47.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006658/16.6, allocations: 35.84 kB / 3.922 GB, free: 47.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/16.6, allocations: 166.3 kB / 3.922 GB, free: 47.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/16.6, allocations: 118.9 kB / 3.922 GB, free: 47.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/16.6, allocations: 42.11 kB / 3.922 GB, free: 47.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001854/16.61, allocations: 0.8062 MB / 3.923 GB, free: 46.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.31e-07/16.61, allocations: 1.875 kB / 3.923 GB, free: 46.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01162/16.62, allocations: 2.178 MB / 3.925 GB, free: 45.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02505/16.64, allocations: 7.701 MB / 3.933 GB, free: 40.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009734/16.65, allocations: 3.488 MB / 3.936 GB, free: 38.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/16.65, allocations: 4.25 kB / 3.936 GB, free: 38.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/16.66, allocations: 1.601 MB / 3.938 GB, free: 37.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/16.66, allocations: 0.6195 MB / 3.938 GB, free: 37.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6356/17.3, allocations: 80.5 MB / 4.017 GB, free: 63.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/17.3, allocations: 1.804 MB / 4.019 GB, free: 63.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007478/17.31, allocations: 2.05 MB / 4.021 GB, free: 63.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/17.31, allocations: 0.8478 MB / 4.022 GB, free: 63.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.474e-06/17.31, allocations: 0 / 4.022 GB, free: 63.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/17.53, allocations: 91.24 MB / 4.111 GB, free: 53.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/17.53, allocations: 211.1 kB / 4.111 GB, free: 52.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/24.77, allocations: 0 / 4.111 GB, free: 52.96 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat