Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.693e-05/5.746e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2749, allocations: 38.77 MB / 263.9 MB, free: 9.73 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.708/7.983, allocations: 2.518 GB / 2.776 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/7.983, allocations: 79.34 kB / 2.776 GB, free: 46.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.193/11.18, allocations: 0.5339 GB / 3.31 GB, free: 30.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/11.18, allocations: 0 / 3.31 GB, free: 30.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002123/11.18, allocations: 51.23 kB / 3.31 GB, free: 30.51 MB / 378.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.01402/11.19, allocations: 2.739 MB / 3.313 GB, free: 29.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/11.19, allocations: 15.47 kB / 3.313 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009346/11.19, allocations: 228.1 kB / 3.313 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006736/11.2, allocations: 0.5841 MB / 3.313 GB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/11.2, allocations: 1.464 MB / 3.315 GB, free: 28.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/11.2, allocations: 143.4 kB / 3.315 GB, free: 28.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007051/11.21, allocations: 147 kB / 3.315 GB, free: 28.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008907/11.21, allocations: 2.755 MB / 3.318 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.055e-05/11.21, allocations: 7.219 kB / 3.318 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/11.21, allocations: 64.39 kB / 3.318 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/11.21, allocations: 132.3 kB / 3.318 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/11.22, allocations: 2.461 MB / 3.32 GB, free: 28.21 MB / 378.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.02358/11.25, allocations: 11.95 MB / 3.332 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0055/11.25, allocations: 1.605 MB / 3.334 GB, free: 20.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/11.25, allocations: 0.7133 MB / 3.334 GB, free: 20.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/11.27, allocations: 5.691 MB / 3.34 GB, free: 16.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/11.27, allocations: 42.44 kB / 3.34 GB, free: 16.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.386e-06/11.27, allocations: 0 / 3.34 GB, free: 16.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.02447/11.29, allocations: 5.898 MB / 3.346 GB, free: 16.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/11.29, allocations: 142.5 kB / 3.346 GB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/11.3, allocations: 1.005 MB / 3.347 GB, free: 15.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003486/11.3, allocations: 45.83 kB / 3.347 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/11.3, allocations: 0.7606 MB / 3.348 GB, free: 15.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/11.3, allocations: 435.2 kB / 3.348 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/11.3, allocations: 35.19 kB / 3.348 GB, free: 15.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/11.3, allocations: 372.8 kB / 3.348 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/11.3, allocations: 0.7581 MB / 3.349 GB, free: 14.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/11.3, allocations: 1.199 MB / 3.35 GB, free: 13.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695/16, allocations: 377.7 MB / 3.719 GB, free: 76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/16, allocations: 3.844 kB / 3.719 GB, free: 76 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007263/16, allocations: 2.443 MB / 3.721 GB, free: 75.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001059/16.01, allocations: 5.139 MB / 3.726 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/16.01, allocations: 13.12 kB / 3.726 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/16.01, allocations: 0.4884 MB / 3.727 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/16.01, allocations: 393.3 kB / 3.727 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/16.01, allocations: 2.874 MB / 3.73 GB, free: 68.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/16.02, allocations: 209.6 kB / 3.73 GB, free: 68.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/16.02, allocations: 76.59 kB / 3.73 GB, free: 68.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/16.02, allocations: 3.594 kB / 3.73 GB, free: 68.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006406/16.02, allocations: 2.25 MB / 3.733 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/16.02, allocations: 12.28 kB / 3.733 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/16.03, allocations: 0.4969 MB / 3.733 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/16.03, allocations: 388.3 kB / 3.733 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/16.03, allocations: 2.869 MB / 3.736 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/16.04, allocations: 206.9 kB / 3.736 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/16.04, allocations: 74.78 kB / 3.737 GB, free: 66.31 MB / 426.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.0006102/16.04, allocations: 217.6 kB / 3.737 GB, free: 66.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/16.04, allocations: 138.7 kB / 3.737 GB, free: 66.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00939/16.05, allocations: 5.354 MB / 3.742 GB, free: 65.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.003e-05/16.05, allocations: 66.73 kB / 3.742 GB, free: 65.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/16.05, allocations: 0 / 3.742 GB, free: 65.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007879/16.05, allocations: 4.905 MB / 3.747 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/16.07, allocations: 7.903 MB / 3.755 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/16.07, allocations: 3.953 kB / 3.755 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/16.07, allocations: 293.4 kB / 3.755 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/16.07, allocations: 0.5522 MB / 3.756 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/16.07, allocations: 35.27 kB / 3.756 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/16.08, allocations: 2.93 MB / 3.758 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/16.08, allocations: 0 / 3.758 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009761/16.09, allocations: 4.987 MB / 3.763 GB, free: 61.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/16.09, allocations: 0.5066 MB / 3.764 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/16.09, allocations: 35.94 kB / 3.764 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/16.09, allocations: 164.9 kB / 3.764 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/16.09, allocations: 123 kB / 3.764 GB, free: 61.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/16.09, allocations: 44.17 kB / 3.764 GB, free: 61.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001662/16.09, allocations: 0.8081 MB / 3.765 GB, free: 61.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.71e-07/16.09, allocations: 3.5 kB / 3.765 GB, free: 61.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01061/16.1, allocations: 2.165 MB / 3.767 GB, free: 61.55 MB / 426.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.02348/16.13, allocations: 7.681 MB / 3.775 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008717/16.14, allocations: 3.5 MB / 3.778 GB, free: 60.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/16.14, allocations: 0 / 3.778 GB, free: 60.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/16.14, allocations: 1.594 MB / 3.78 GB, free: 60.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/16.15, allocations: 0.62 MB / 3.78 GB, free: 60.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2447/16.39, allocations: 79.22 MB / 3.857 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/16.39, allocations: 1.802 MB / 3.859 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006089/16.4, allocations: 2.06 MB / 3.861 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/16.4, allocations: 0.8429 MB / 3.862 GB, free: 5.477 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/16.4, allocations: 0 / 3.862 GB, free: 5.477 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6044/17, allocations: 91.04 MB / 3.951 GB, free: 59.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/17, allocations: 224.3 kB / 3.951 GB, free: 59.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/24.01, allocations: 0 / 3.951 GB, free: 59.16 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat