Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.326/2.326, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.793e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.937/9.055, allocations: 2.801 GB / 3.136 GB, free: 43.04 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/9.055, allocations: 72.16 kB / 3.136 GB, free: 43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.03/12.08, allocations: 0.5555 GB / 3.691 GB, free: 13.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/12.09, allocations: 4 kB / 3.691 GB, free: 13.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001619/12.09, allocations: 41.64 kB / 3.691 GB, free: 13.88 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.0137/12.1, allocations: 2.806 MB / 3.694 GB, free: 11.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/12.1, allocations: 8.031 kB / 3.694 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008653/12.1, allocations: 225 kB / 3.694 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/12.11, allocations: 0.6022 MB / 3.695 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/12.11, allocations: 1.435 MB / 3.696 GB, free: 8.738 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/12.11, allocations: 148.1 kB / 3.696 GB, free: 8.602 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/12.11, allocations: 149.9 kB / 3.697 GB, free: 8.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008989/12.12, allocations: 2.778 MB / 3.699 GB, free: 5.539 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/12.12, allocations: 3.938 kB / 3.699 GB, free: 5.535 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/12.12, allocations: 66.56 kB / 3.699 GB, free: 5.477 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/12.12, allocations: 126.6 kB / 3.699 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009072/12.13, allocations: 2.468 MB / 3.702 GB, free: 2.879 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.02567/12.16, allocations: 11.71 MB / 3.713 GB, free: 6.367 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/12.16, allocations: 1.596 MB / 3.715 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/12.17, allocations: 0.7621 MB / 3.716 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4224/12.59, allocations: 8.322 MB / 3.724 GB, free: 39.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/12.59, allocations: 44.62 kB / 3.724 GB, free: 39.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.897e-06/12.59, allocations: 1.531 kB / 3.724 GB, free: 39.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.03122/12.62, allocations: 6.312 MB / 3.73 GB, free: 39.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/12.62, allocations: 143.5 kB / 3.73 GB, free: 39.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/12.62, allocations: 1.053 MB / 3.731 GB, free: 39.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005084/12.62, allocations: 50.11 kB / 3.731 GB, free: 39.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/12.62, allocations: 0.7159 MB / 3.732 GB, free: 38.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/12.63, allocations: 461.9 kB / 3.732 GB, free: 38.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/12.63, allocations: 29.09 kB / 3.732 GB, free: 38.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/12.63, allocations: 368.6 kB / 3.733 GB, free: 38.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/12.63, allocations: 0.7768 MB / 3.733 GB, free: 38.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/12.63, allocations: 1.131 MB / 3.735 GB, free: 37.86 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.04505/12.68, allocations: 6.016 MB / 3.74 GB, free: 37.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/12.68, allocations: 3.531 kB / 3.74 GB, free: 37.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00849/12.68, allocations: 2.422 MB / 3.743 GB, free: 37.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001095/12.69, allocations: 4.038 MB / 3.747 GB, free: 33.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/12.69, allocations: 7.781 kB / 3.747 GB, free: 33.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/12.69, allocations: 0.5005 MB / 3.747 GB, free: 33.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/12.69, allocations: 372.4 kB / 3.748 GB, free: 33.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/12.69, allocations: 2.904 MB / 3.75 GB, free: 31.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/12.7, allocations: 200.1 kB / 3.751 GB, free: 31.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/12.7, allocations: 72.69 kB / 3.751 GB, free: 31.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/12.7, allocations: 6.062 kB / 3.751 GB, free: 31.16 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006162/12.7, allocations: 2.228 MB / 3.753 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/12.7, allocations: 12.12 kB / 3.753 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/12.71, allocations: 0.4999 MB / 3.753 GB, free: 31.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/12.71, allocations: 372.5 kB / 3.754 GB, free: 31.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/12.71, allocations: 2.906 MB / 3.757 GB, free: 28.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/12.72, allocations: 203 kB / 3.757 GB, free: 28.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/12.72, allocations: 74.31 kB / 3.757 GB, free: 28.98 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.0006004/12.72, allocations: 204.5 kB / 3.757 GB, free: 28.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/12.72, allocations: 147.1 kB / 3.757 GB, free: 28.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009455/12.73, allocations: 5.464 MB / 3.762 GB, free: 28.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-05/12.73, allocations: 58.03 kB / 3.763 GB, free: 28.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/12.73, allocations: 3.75 kB / 3.763 GB, free: 28.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007674/12.73, allocations: 4.984 MB / 3.767 GB, free: 27.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/12.75, allocations: 8.51 MB / 3.776 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/12.75, allocations: 3.312 kB / 3.776 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/12.75, allocations: 299.8 kB / 3.776 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/12.76, allocations: 0.5298 MB / 3.777 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/12.76, allocations: 44.98 kB / 3.777 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/12.76, allocations: 2.908 MB / 3.779 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/12.76, allocations: 4.281 kB / 3.779 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/12.77, allocations: 5.202 MB / 3.784 GB, free: 23.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/12.77, allocations: 0.5369 MB / 3.785 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/12.77, allocations: 41.78 kB / 3.785 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/12.77, allocations: 160.9 kB / 3.785 GB, free: 23.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/12.77, allocations: 136.1 kB / 3.785 GB, free: 23.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/12.77, allocations: 54.3 kB / 3.785 GB, free: 23.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001919/12.78, allocations: 0.8914 MB / 3.786 GB, free: 23.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/12.78, allocations: 2.406 kB / 3.786 GB, free: 23.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01174/12.79, allocations: 2.178 MB / 3.788 GB, free: 23.46 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.02605/12.81, allocations: 8.465 MB / 3.797 GB, free: 21.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009632/12.82, allocations: 3.52 MB / 3.8 GB, free: 21.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/12.82, allocations: 0 / 3.8 GB, free: 21.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003985/12.83, allocations: 1.715 MB / 3.802 GB, free: 21.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00719/12.84, allocations: 0.7512 MB / 3.802 GB, free: 21.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/12.85, allocations: 5.534 MB / 3.808 GB, free: 20.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/12.86, allocations: 1.807 MB / 3.81 GB, free: 19.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00703/12.86, allocations: 2.1 MB / 3.812 GB, free: 19.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/12.86, allocations: 0.8461 MB / 3.813 GB, free: 19.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/12.86, allocations: 0 / 3.813 GB, free: 19.76 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6065/13.47, allocations: 94.73 MB / 3.905 GB, free: 53.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/13.47, allocations: 210.7 kB / 3.905 GB, free: 52.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/20.79, allocations: 0.9688 kB / 3.905 GB, free: 52.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat