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 1.705/1.705, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.55e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 38.76 MB / 263.8 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.59/7.855, allocations: 2.518 GB / 2.776 GB, free: 46.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/7.855, allocations: 72.16 kB / 2.776 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.114/10.97, allocations: 0.5339 GB / 3.31 GB, free: 30.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/10.97, allocations: 0 / 3.31 GB, free: 30.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002418/10.97, allocations: 49.16 kB / 3.31 GB, free: 30.41 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.01422/10.98, allocations: 2.751 MB / 3.313 GB, free: 29.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/10.98, allocations: 7.094 kB / 3.313 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009662/10.98, allocations: 226 kB / 3.313 GB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/10.99, allocations: 0.5922 MB / 3.313 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/11, allocations: 1.452 MB / 3.315 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/11, allocations: 144.3 kB / 3.315 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007276/11, allocations: 141 kB / 3.315 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009714/11.01, allocations: 2.772 MB / 3.318 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.6e-05/11.01, allocations: 8.469 kB / 3.318 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/11.01, allocations: 68.12 kB / 3.318 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002513/11.01, allocations: 127.7 kB / 3.318 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009324/11.02, allocations: 2.495 MB / 3.32 GB, free: 28.11 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.02521/11.04, allocations: 11.95 MB / 3.332 GB, free: 20.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/11.05, allocations: 1.598 MB / 3.334 GB, free: 20.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/11.05, allocations: 0.7189 MB / 3.334 GB, free: 20.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/11.07, allocations: 5.692 MB / 3.34 GB, free: 16.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/11.07, allocations: 47.28 kB / 3.34 GB, free: 16.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.988e-06/11.07, allocations: 3.906 kB / 3.34 GB, free: 16.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.02704/11.09, allocations: 5.884 MB / 3.346 GB, free: 15.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/11.09, allocations: 149 kB / 3.346 GB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/11.1, allocations: 1.006 MB / 3.347 GB, free: 15.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004205/11.1, allocations: 53.17 kB / 3.347 GB, free: 15.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006866/11.1, allocations: 0.7563 MB / 3.348 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006537/11.1, allocations: 435 kB / 3.348 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/11.1, allocations: 33.03 kB / 3.348 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/11.1, allocations: 375.4 kB / 3.348 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/11.1, allocations: 0.7579 MB / 3.349 GB, free: 14.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/11.1, allocations: 1.216 MB / 3.35 GB, free: 13.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.789/15.89, allocations: 377.7 MB / 3.719 GB, free: 75.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/15.89, allocations: 3.094 kB / 3.719 GB, free: 75.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.008007/15.9, allocations: 2.483 MB / 3.722 GB, free: 75.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001221/15.9, allocations: 5.137 MB / 3.727 GB, free: 70.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-05/15.9, allocations: 17.28 kB / 3.727 GB, free: 70.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/15.9, allocations: 498.2 kB / 3.727 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/15.91, allocations: 399.4 kB / 3.727 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/15.91, allocations: 2.865 MB / 3.73 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/15.91, allocations: 207.4 kB / 3.73 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/15.92, allocations: 79.72 kB / 3.73 GB, free: 68.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/15.92, allocations: 4.156 kB / 3.73 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006908/15.92, allocations: 2.287 MB / 3.733 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/15.92, allocations: 14.06 kB / 3.733 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/15.92, allocations: 0.4895 MB / 3.733 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/15.93, allocations: 392.8 kB / 3.734 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/15.93, allocations: 2.869 MB / 3.736 GB, free: 66.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/15.93, allocations: 202 kB / 3.737 GB, free: 66.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/15.93, allocations: 83.69 kB / 3.737 GB, free: 66.24 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.00062/15.93, allocations: 222.8 kB / 3.737 GB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/15.94, allocations: 136.8 kB / 3.737 GB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/15.95, allocations: 5.359 MB / 3.742 GB, free: 65.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.252e-05/15.95, allocations: 59.42 kB / 3.742 GB, free: 65.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/15.95, allocations: 7.859 kB / 3.742 GB, free: 65.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008251/15.95, allocations: 4.894 MB / 3.747 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/15.97, allocations: 7.904 MB / 3.755 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/15.97, allocations: 0 / 3.755 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/15.97, allocations: 296.9 kB / 3.755 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/15.98, allocations: 0.5529 MB / 3.756 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003415/15.98, allocations: 41.34 kB / 3.756 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/15.98, allocations: 2.935 MB / 3.759 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/15.98, allocations: 2.938 kB / 3.759 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/15.99, allocations: 4.985 MB / 3.763 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/15.99, allocations: 0.5089 MB / 3.764 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/15.99, allocations: 33.48 kB / 3.764 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/15.99, allocations: 160.7 kB / 3.764 GB, free: 61.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/15.99, allocations: 118.8 kB / 3.764 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/15.99, allocations: 49.64 kB / 3.764 GB, free: 61.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00174/16, allocations: 0.8063 MB / 3.765 GB, free: 61.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/16, allocations: 0 / 3.765 GB, free: 61.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01046/16.01, allocations: 2.172 MB / 3.767 GB, free: 61.48 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.02382/16.03, allocations: 7.665 MB / 3.775 GB, free: 60.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009443/16.04, allocations: 3.552 MB / 3.778 GB, free: 60.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/16.04, allocations: 2.5 kB / 3.778 GB, free: 60.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/16.04, allocations: 1.609 MB / 3.78 GB, free: 60.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00579/16.05, allocations: 0.6142 MB / 3.78 GB, free: 60.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2517/16.3, allocations: 79.23 MB / 3.858 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/16.3, allocations: 1.799 MB / 3.859 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006039/16.31, allocations: 2.045 MB / 3.861 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/16.31, allocations: 0.8508 MB / 3.862 GB, free: 4.828 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/16.31, allocations: 0 / 3.862 GB, free: 4.828 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5046/16.82, allocations: 91.06 MB / 3.951 GB, free: 59.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/16.82, allocations: 214.4 kB / 3.951 GB, free: 58.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/23.33, allocations: 0 / 3.951 GB, free: 58.96 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