Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.844/1.844, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.11e-05, allocations: 5.406 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09028, allocations: 44.5 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.566/7.657, allocations: 2.628 GB / 2.921 GB, free: 79.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/7.657, allocations: 74.97 kB / 2.921 GB, free: 79.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.72/10.38, allocations: 0.5462 GB / 3.467 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/10.38, allocations: 4 kB / 3.467 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001798/10.38, allocations: 43.52 kB / 3.467 GB, free: 12.57 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.01312/10.39, allocations: 2.789 MB / 3.47 GB, free: 9.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/10.39, allocations: 16.03 kB / 3.47 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007791/10.39, allocations: 230 kB / 3.47 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/10.4, allocations: 0.5987 MB / 3.471 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005867/10.4, allocations: 1.458 MB / 3.472 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/10.4, allocations: 142.5 kB / 3.472 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/10.4, allocations: 143.7 kB / 3.472 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009557/10.41, allocations: 2.772 MB / 3.475 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/10.41, allocations: 7.938 kB / 3.475 GB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/10.41, allocations: 71.06 kB / 3.475 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/10.41, allocations: 134.6 kB / 3.475 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009111/10.42, allocations: 2.485 MB / 3.478 GB, free: 1.531 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.3573/10.78, allocations: 11.95 MB / 3.489 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006361/10.79, allocations: 1.606 MB / 3.491 GB, free: 22.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/10.79, allocations: 0.7108 MB / 3.492 GB, free: 22.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/10.81, allocations: 5.741 MB / 3.497 GB, free: 18.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/10.81, allocations: 51.25 kB / 3.497 GB, free: 18.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.837e-06/10.81, allocations: 1.859 kB / 3.497 GB, free: 18.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02544/10.83, allocations: 5.888 MB / 3.503 GB, free: 17.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/10.83, allocations: 145.7 kB / 3.503 GB, free: 17.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/10.83, allocations: 1.01 MB / 3.504 GB, free: 17.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003468/10.83, allocations: 45.39 kB / 3.504 GB, free: 17.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/10.83, allocations: 0.7545 MB / 3.505 GB, free: 17.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/10.83, allocations: 435.9 kB / 3.505 GB, free: 16.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/10.83, allocations: 33.97 kB / 3.505 GB, free: 16.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/10.83, allocations: 381.5 kB / 3.506 GB, free: 16.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/10.84, allocations: 0.7581 MB / 3.506 GB, free: 16.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/10.84, allocations: 1.21 MB / 3.508 GB, free: 16.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341/15.18, allocations: 378.1 MB / 3.877 GB, free: 76.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/15.18, allocations: 3.938 kB / 3.877 GB, free: 76.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007123/15.19, allocations: 2.419 MB / 3.879 GB, free: 76.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001243/15.19, allocations: 5.141 MB / 3.884 GB, free: 71.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/15.19, allocations: 15.31 kB / 3.884 GB, free: 71.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/15.19, allocations: 497.1 kB / 3.885 GB, free: 71.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/15.19, allocations: 395.7 kB / 3.885 GB, free: 71.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/15.2, allocations: 2.876 MB / 3.888 GB, free: 69.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/15.2, allocations: 205.8 kB / 3.888 GB, free: 69.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/15.2, allocations: 80.77 kB / 3.888 GB, free: 69.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/15.2, allocations: 3.5 kB / 3.888 GB, free: 69.08 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006233/15.21, allocations: 2.289 MB / 3.89 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/15.21, allocations: 13.34 kB / 3.89 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/15.21, allocations: 472.1 kB / 3.891 GB, free: 68.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/15.21, allocations: 390.3 kB / 3.891 GB, free: 68.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/15.21, allocations: 2.871 MB / 3.894 GB, free: 66.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/15.22, allocations: 204.1 kB / 3.894 GB, free: 66.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/15.22, allocations: 81.89 kB / 3.894 GB, free: 66.87 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.0005999/15.22, allocations: 215.8 kB / 3.895 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/15.22, allocations: 134.6 kB / 3.895 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009417/15.23, allocations: 5.362 MB / 3.9 GB, free: 65.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-05/15.23, allocations: 60.45 kB / 3.9 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/15.23, allocations: 0 / 3.9 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007678/15.24, allocations: 4.909 MB / 3.905 GB, free: 62.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/15.25, allocations: 7.896 MB / 3.912 GB, free: 58.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/15.25, allocations: 0 / 3.912 GB, free: 58.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/15.25, allocations: 288 kB / 3.913 GB, free: 58.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/15.25, allocations: 0.5508 MB / 3.913 GB, free: 57.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/15.26, allocations: 43.39 kB / 3.913 GB, free: 57.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/15.26, allocations: 2.936 MB / 3.916 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/15.26, allocations: 1.125 kB / 3.916 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00933/15.27, allocations: 4.978 MB / 3.921 GB, free: 52.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/15.27, allocations: 0.5238 MB / 3.922 GB, free: 52.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/15.27, allocations: 37.38 kB / 3.922 GB, free: 52.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/15.27, allocations: 152.1 kB / 3.922 GB, free: 52.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/15.27, allocations: 114.5 kB / 3.922 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/15.27, allocations: 50.56 kB / 3.922 GB, free: 52.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001559/15.27, allocations: 0.8072 MB / 3.923 GB, free: 51.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/15.27, allocations: 0 / 3.923 GB, free: 51.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009684/15.28, allocations: 2.174 MB / 3.925 GB, free: 49.89 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.02231/15.31, allocations: 7.682 MB / 3.932 GB, free: 45.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008256/15.31, allocations: 3.511 MB / 3.936 GB, free: 43.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/15.31, allocations: 0 / 3.936 GB, free: 43.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/15.32, allocations: 1.607 MB / 3.937 GB, free: 42.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005425/15.32, allocations: 0.623 MB / 3.938 GB, free: 42.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5803/15.9, allocations: 80.54 MB / 4.017 GB, free: 65.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/15.9, allocations: 1.78 MB / 4.018 GB, free: 64.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/15.91, allocations: 0.8748 MB / 4.019 GB, free: 64.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.805e-06/15.91, allocations: 0 / 4.019 GB, free: 64.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.314/20.22, allocations: 96.6 MB / 4.113 GB, free: 52.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat