Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.09e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 50.42 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.001/8.125, allocations: 2.801 GB / 3.136 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/8.125, allocations: 78.95 kB / 3.136 GB, free: 46.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.961/11.09, allocations: 0.5555 GB / 3.691 GB, free: 16.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.516e-06/11.09, allocations: 0 / 3.691 GB, free: 16.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00016/11.09, allocations: 49.88 kB / 3.691 GB, free: 16.71 MB / 458.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.01251/11.1, allocations: 2.796 MB / 3.694 GB, free: 13.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/11.1, allocations: 12.02 kB / 3.694 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000697/11.1, allocations: 224.7 kB / 3.694 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/11.11, allocations: 0.6023 MB / 3.695 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/11.11, allocations: 1.435 MB / 3.696 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/11.11, allocations: 149.4 kB / 3.696 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000809/11.11, allocations: 145.4 kB / 3.697 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00916/11.12, allocations: 2.778 MB / 3.699 GB, free: 8.383 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-05/11.12, allocations: 7.938 kB / 3.699 GB, free: 8.375 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/11.12, allocations: 59.59 kB / 3.699 GB, free: 8.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002503/11.12, allocations: 134.3 kB / 3.699 GB, free: 8.191 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007607/11.13, allocations: 2.464 MB / 3.702 GB, free: 5.723 MB / 458.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.02188/11.15, allocations: 11.71 MB / 3.713 GB, free: 9.211 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006225/11.16, allocations: 1.596 MB / 3.715 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/11.16, allocations: 0.7621 MB / 3.716 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3896/11.55, allocations: 8.328 MB / 3.724 GB, free: 42.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/11.55, allocations: 46.91 kB / 3.724 GB, free: 42.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.557e-06/11.55, allocations: 0.9062 kB / 3.724 GB, free: 42.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.03135/11.58, allocations: 6.302 MB / 3.73 GB, free: 41.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/11.58, allocations: 148.1 kB / 3.73 GB, free: 41.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/11.58, allocations: 1.044 MB / 3.731 GB, free: 41.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004767/11.59, allocations: 50.23 kB / 3.731 GB, free: 41.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/11.59, allocations: 0.6956 MB / 3.732 GB, free: 41.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/11.59, allocations: 460.2 kB / 3.732 GB, free: 41.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/11.59, allocations: 30.31 kB / 3.732 GB, free: 41.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/11.59, allocations: 369.6 kB / 3.733 GB, free: 40.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/11.59, allocations: 0.7729 MB / 3.733 GB, free: 40.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/11.59, allocations: 1.137 MB / 3.735 GB, free: 40.37 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04543/11.64, allocations: 5.976 MB / 3.74 GB, free: 40.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/11.64, allocations: 3.5 kB / 3.74 GB, free: 40.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007523/11.65, allocations: 2.355 MB / 3.743 GB, free: 40.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008765/11.65, allocations: 4.006 MB / 3.747 GB, free: 35.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/11.65, allocations: 8.312 kB / 3.747 GB, free: 35.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/11.65, allocations: 0.5069 MB / 3.747 GB, free: 35.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/11.65, allocations: 382.4 kB / 3.747 GB, free: 35.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/11.66, allocations: 2.907 MB / 3.75 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/11.66, allocations: 203.3 kB / 3.75 GB, free: 33.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/11.66, allocations: 76.22 kB / 3.751 GB, free: 33.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/11.66, allocations: 2.906 kB / 3.751 GB, free: 33.72 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006588/11.67, allocations: 2.227 MB / 3.753 GB, free: 33.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/11.67, allocations: 9.531 kB / 3.753 GB, free: 33.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/11.67, allocations: 479.9 kB / 3.753 GB, free: 33.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/11.67, allocations: 368.9 kB / 3.754 GB, free: 33.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/11.67, allocations: 2.904 MB / 3.756 GB, free: 31.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/11.68, allocations: 206.5 kB / 3.757 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/11.68, allocations: 68.67 kB / 3.757 GB, free: 31.54 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: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (175): * Single equations (assignments): 171 * 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.0006516/11.68, allocations: 210.9 kB / 3.757 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/11.68, allocations: 142.3 kB / 3.757 GB, free: 31.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/11.69, allocations: 5.461 MB / 3.762 GB, free: 30.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-05/11.69, allocations: 62.28 kB / 3.762 GB, free: 30.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/11.69, allocations: 7.188 kB / 3.762 GB, free: 30.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008639/11.7, allocations: 4.978 MB / 3.767 GB, free: 30.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/11.72, allocations: 8.507 MB / 3.776 GB, free: 29.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/11.72, allocations: 0 / 3.776 GB, free: 29.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/11.72, allocations: 291.5 kB / 3.776 GB, free: 29.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/11.72, allocations: 0.5454 MB / 3.776 GB, free: 29.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003344/11.72, allocations: 42.56 kB / 3.776 GB, free: 29.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/11.73, allocations: 2.911 MB / 3.779 GB, free: 27.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/11.73, allocations: 2.781 kB / 3.779 GB, free: 27.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/11.74, allocations: 5.207 MB / 3.784 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/11.74, allocations: 0.5301 MB / 3.785 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004855/11.74, allocations: 35.66 kB / 3.785 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/11.74, allocations: 168.8 kB / 3.785 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/11.74, allocations: 135.2 kB / 3.785 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/11.74, allocations: 46.44 kB / 3.785 GB, free: 26.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002048/11.74, allocations: 0.8964 MB / 3.786 GB, free: 26.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.12e-07/11.74, allocations: 0 / 3.786 GB, free: 26.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01081/11.75, allocations: 2.19 MB / 3.788 GB, free: 26.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (130): * Single equations (assignments): 110 * 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.02486/11.78, allocations: 8.45 MB / 3.796 GB, free: 24.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009651/11.79, allocations: 3.479 MB / 3.8 GB, free: 24.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/11.79, allocations: 2.844 kB / 3.8 GB, free: 24.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/11.79, allocations: 1.693 MB / 3.802 GB, free: 24.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00687/11.8, allocations: 0.7455 MB / 3.802 GB, free: 24.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/11.82, allocations: 5.562 MB / 3.808 GB, free: 23.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/11.82, allocations: 1.788 MB / 3.809 GB, free: 22.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/11.82, allocations: 0.8756 MB / 3.81 GB, free: 22.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/11.82, allocations: 2.781 kB / 3.81 GB, free: 22.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.895/16.72, allocations: 97.9 MB / 3.906 GB, free: 54.9 MB / 490.7 MB