Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.279e-05, allocations: 0 / 249.7 MB, free: 14.83 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.317, allocations: 44.5 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.92/8.237, allocations: 2.627 GB / 2.914 GB, free: 26.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/8.238, allocations: 75.02 kB / 2.915 GB, free: 26.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.203/11.44, allocations: 0.541 GB / 3.456 GB, free: 34.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.146e-06/11.44, allocations: 0 / 3.456 GB, free: 34.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002068/11.44, allocations: 50.27 kB / 3.456 GB, free: 34.65 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.01396/11.45, allocations: 2.802 MB / 3.458 GB, free: 33.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/11.45, allocations: 9.219 kB / 3.458 GB, free: 33.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/11.46, allocations: 0.5985 MB / 3.459 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/11.47, allocations: 1.453 MB / 3.46 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/11.47, allocations: 77.92 kB / 3.46 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/11.47, allocations: 94 kB / 3.46 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005831/11.47, allocations: 1.963 MB / 3.462 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006463/11.48, allocations: 2.151 MB / 3.465 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.012e-05/11.48, allocations: 16.33 kB / 3.465 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/11.48, allocations: 3.438 kB / 3.465 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/11.48, allocations: 122.4 kB / 3.465 GB, free: 32.6 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.2946/11.78, allocations: 75.63 MB / 3.538 GB, free: 25.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/11.78, allocations: 1.112 MB / 3.54 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/11.78, allocations: 0.661 MB / 3.54 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/11.79, allocations: 4.329 MB / 3.544 GB, free: 22.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/11.79, allocations: 49.94 kB / 3.544 GB, free: 22.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=102): time 4.479e-06/11.79, allocations: 0 / 3.544 GB, free: 22.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=118): time 0.02244/11.81, allocations: 4.898 MB / 3.549 GB, free: 21.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/11.82, allocations: 141.2 kB / 3.549 GB, free: 21.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/11.82, allocations: 0.8425 MB / 3.55 GB, free: 21.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/11.82, allocations: 27.77 kB / 3.55 GB, free: 21.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/11.82, allocations: 0.7839 MB / 3.551 GB, free: 20.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/11.82, allocations: 400.3 kB / 3.551 GB, free: 20.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/11.82, allocations: 4 kB / 3.551 GB, free: 20.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/11.82, allocations: 372.1 kB / 3.552 GB, free: 20.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/11.82, allocations: 0.7373 MB / 3.552 GB, free: 20.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/11.82, allocations: 1.177 MB / 3.554 GB, free: 19.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02928/11.85, allocations: 4.201 MB / 3.558 GB, free: 19.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/11.85, allocations: 2.5 kB / 3.558 GB, free: 19.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.02382/11.88, allocations: 4.218 MB / 3.562 GB, free: 19.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002161/11.88, allocations: 5.142 MB / 3.567 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-05/11.88, allocations: 13.06 kB / 3.567 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/11.88, allocations: 487.3 kB / 3.567 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/11.88, allocations: 389.4 kB / 3.568 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/11.89, allocations: 2.911 MB / 3.571 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/11.89, allocations: 189.4 kB / 3.571 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/11.89, allocations: 76.69 kB / 3.571 GB, free: 11.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/11.89, allocations: 4.906 kB / 3.571 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02289/11.91, allocations: 3.967 MB / 3.575 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/11.91, allocations: 15.56 kB / 3.575 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/11.92, allocations: 481.8 kB / 3.575 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/11.92, allocations: 393.3 kB / 3.576 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/11.92, allocations: 2.919 MB / 3.578 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/11.93, allocations: 179.9 kB / 3.579 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/11.93, allocations: 79.42 kB / 3.579 GB, free: 9.41 MB / 458.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 (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,boundary.medium.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.0007063/11.93, allocations: 169 kB / 3.579 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005875/11.93, allocations: 1.775 MB / 3.581 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/11.93, allocations: 128.8 kB / 3.581 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009398/11.94, allocations: 4.698 MB / 3.585 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/11.94, allocations: 56.27 kB / 3.585 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/11.94, allocations: 0 / 3.585 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007923/11.95, allocations: 4.328 MB / 3.59 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/11.97, allocations: 6.957 MB / 3.596 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/11.97, allocations: 3.703 kB / 3.596 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/11.97, allocations: 267.3 kB / 3.597 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002815/11.97, allocations: 0.5267 MB / 3.597 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000345/11.97, allocations: 18.38 kB / 3.597 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3467/12.32, allocations: 3.059 MB / 3.6 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/12.32, allocations: 0 / 3.6 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/12.33, allocations: 4.672 MB / 3.605 GB, free: 62.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/12.34, allocations: 499.6 kB / 3.605 GB, free: 62.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006438/12.34, allocations: 12.95 kB / 3.605 GB, free: 62.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/12.34, allocations: 134.4 kB / 3.605 GB, free: 62.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/12.34, allocations: 113.7 kB / 3.605 GB, free: 62.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/12.34, allocations: 40.56 kB / 3.605 GB, free: 62.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001653/12.34, allocations: 0.684 MB / 3.606 GB, free: 62.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.112e-06/12.34, allocations: 2.125 kB / 3.606 GB, free: 62.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01129/12.35, allocations: 2.073 MB / 3.608 GB, free: 62.72 MB / 458.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: 30 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,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 (114): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.02536/12.38, allocations: 7.465 MB / 3.615 GB, free: 61.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008832/12.39, allocations: 3.336 MB / 3.619 GB, free: 61.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/12.39, allocations: 0 / 3.619 GB, free: 61.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003978/12.39, allocations: 1.492 MB / 3.62 GB, free: 61.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/12.4, allocations: 0.553 MB / 3.621 GB, free: 61.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/12.61, allocations: 58.37 MB / 3.678 GB, free: 59.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/12.61, allocations: 1.761 MB / 3.679 GB, free: 58.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007193/12.62, allocations: 2.083 MB / 3.681 GB, free: 58.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/12.62, allocations: 0.8151 MB / 3.682 GB, free: 58.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/12.62, allocations: 0.5625 kB / 3.682 GB, free: 58.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.577/13.2, allocations: 78.67 MB / 3.759 GB, free: 56.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/13.2, allocations: 159.3 kB / 3.759 GB, free: 55.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.329/19.53, allocations: 3.156 kB / 3.759 GB, free: 55.95 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat