Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.27e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.005/9.118, allocations: 2.796 GB / 3.106 GB, free: 91.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/9.119, allocations: 70.09 kB / 3.106 GB, free: 91.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.994/12.11, allocations: 0.5493 GB / 3.655 GB, free: 33.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/12.11, allocations: 0 / 3.655 GB, free: 33.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002428/12.11, allocations: 46.81 kB / 3.655 GB, free: 33.34 MB / 442.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.01479/12.13, allocations: 2.808 MB / 3.658 GB, free: 31.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/12.13, allocations: 7.5 kB / 3.658 GB, free: 31.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001155/12.13, allocations: 224.3 kB / 3.658 GB, free: 31.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/12.14, allocations: 0.5969 MB / 3.659 GB, free: 31.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/12.14, allocations: 1.438 MB / 3.66 GB, free: 30.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/12.14, allocations: 146 kB / 3.66 GB, free: 30.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008945/12.14, allocations: 145.4 kB / 3.66 GB, free: 30.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009921/12.15, allocations: 2.771 MB / 3.663 GB, free: 29.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-05/12.15, allocations: 11.94 kB / 3.663 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/12.15, allocations: 74.2 kB / 3.663 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/12.15, allocations: 126.5 kB / 3.663 GB, free: 29.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009121/12.16, allocations: 2.462 MB / 3.666 GB, free: 27.21 MB / 442.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.02496/12.19, allocations: 11.71 MB / 3.677 GB, free: 16.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/12.19, allocations: 1.61 MB / 3.679 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/12.2, allocations: 0.7606 MB / 3.679 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02712/12.22, allocations: 8.318 MB / 3.688 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/12.22, allocations: 51.55 kB / 3.688 GB, free: 5.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 5.16e-06/12.22, allocations: 0 / 3.688 GB, free: 5.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.0297/12.25, allocations: 6.302 MB / 3.694 GB, free: 15.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/12.25, allocations: 141.8 kB / 3.694 GB, free: 14.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/12.26, allocations: 1.058 MB / 3.695 GB, free: 13.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004547/12.26, allocations: 53.7 kB / 3.695 GB, free: 13.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/12.26, allocations: 0.7086 MB / 3.696 GB, free: 13.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/12.26, allocations: 460.3 kB / 3.696 GB, free: 12.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/12.26, allocations: 28 kB / 3.696 GB, free: 12.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/12.26, allocations: 373.9 kB / 3.696 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/12.26, allocations: 0.7692 MB / 3.697 GB, free: 11.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/12.26, allocations: 1.13 MB / 3.698 GB, free: 10.2 MB / 458.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 4.788/17.05, allocations: 379.1 MB / 4.069 GB, free: 81.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/17.05, allocations: 3.656 kB / 4.069 GB, free: 81.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007365/17.06, allocations: 2.427 MB / 4.071 GB, free: 81.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008439/17.06, allocations: 4.029 MB / 4.075 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/17.06, allocations: 14.16 kB / 4.075 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/17.06, allocations: 0.4992 MB / 4.075 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/17.07, allocations: 378 kB / 4.076 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/17.07, allocations: 2.909 MB / 4.079 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/17.07, allocations: 201 kB / 4.079 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/17.07, allocations: 69.5 kB / 4.079 GB, free: 75.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/17.07, allocations: 3.812 kB / 4.079 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006626/17.08, allocations: 2.223 MB / 4.081 GB, free: 75.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/17.08, allocations: 10.06 kB / 4.081 GB, free: 75.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/17.08, allocations: 0.4991 MB / 4.081 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/17.09, allocations: 372.5 kB / 4.082 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/17.09, allocations: 2.904 MB / 4.085 GB, free: 73.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/17.09, allocations: 210.9 kB / 4.085 GB, free: 73.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/17.09, allocations: 72.42 kB / 4.085 GB, free: 73.23 MB / 490.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.0006172/17.09, allocations: 204.5 kB / 4.085 GB, free: 73.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004994/17.09, allocations: 148.5 kB / 4.085 GB, free: 73.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/17.1, allocations: 5.457 MB / 4.091 GB, free: 72.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.833e-05/17.1, allocations: 61.55 kB / 4.091 GB, free: 72.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/17.1, allocations: 0 / 4.091 GB, free: 72.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00848/17.11, allocations: 4.982 MB / 4.096 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/17.13, allocations: 8.511 MB / 4.104 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/17.13, allocations: 0 / 4.104 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/17.13, allocations: 295.6 kB / 4.104 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/17.14, allocations: 0.5392 MB / 4.105 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003838/17.14, allocations: 42.28 kB / 4.105 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/17.14, allocations: 2.904 MB / 4.108 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/17.14, allocations: 3.969 kB / 4.108 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/17.15, allocations: 5.208 MB / 4.113 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/17.15, allocations: 0.5343 MB / 4.113 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000627/17.15, allocations: 35.62 kB / 4.113 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/17.16, allocations: 166.4 kB / 4.113 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005793/17.16, allocations: 135 kB / 4.113 GB, free: 68.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/17.16, allocations: 47.16 kB / 4.114 GB, free: 68.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002045/17.16, allocations: 0.8944 MB / 4.114 GB, free: 67.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/17.16, allocations: 0.75 kB / 4.114 GB, free: 67.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01101/17.17, allocations: 2.188 MB / 4.117 GB, free: 67.95 MB / 490.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.02529/17.2, allocations: 8.452 MB / 4.125 GB, free: 66.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/17.21, allocations: 3.518 MB / 4.128 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/17.21, allocations: 2.938 kB / 4.128 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/17.21, allocations: 1.716 MB / 4.13 GB, free: 66.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007065/17.22, allocations: 0.7502 MB / 4.131 GB, free: 66.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/17.24, allocations: 5.537 MB / 4.136 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/17.24, allocations: 1.804 MB / 4.138 GB, free: 64.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007034/17.25, allocations: 2.098 MB / 4.14 GB, free: 64.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/17.25, allocations: 0.8528 MB / 4.141 GB, free: 64.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/17.25, allocations: 4 kB / 4.141 GB, free: 64.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2126/17.46, allocations: 94.66 MB / 4.233 GB, free: 1.512 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/17.46, allocations: 215 kB / 4.233 GB, free: 1.281 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/24.65, allocations: 3.938 kB / 4.233 GB, free: 1.277 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat