Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.762/2.762, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.007e-05/5.011e-05, allocations: 7.984 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4438, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.44/8.884, allocations: 2.833 GB / 3.206 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/8.884, allocations: 73.78 kB / 3.207 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.566/11.45, allocations: 0.4914 GB / 3.698 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/11.45, allocations: 4 kB / 3.698 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000164/11.45, allocations: 42.11 kB / 3.698 GB, free: 2.688 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.4145/11.87, allocations: 2.978 MB / 3.701 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/11.87, allocations: 9.375 kB / 3.701 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001582/11.87, allocations: 281.3 kB / 3.701 GB, free: 45.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008062/11.87, allocations: 0.7153 MB / 3.702 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006892/11.88, allocations: 1.576 MB / 3.703 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/11.88, allocations: 167.6 kB / 3.704 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009085/11.88, allocations: 179.6 kB / 3.704 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/11.89, allocations: 3.501 MB / 3.707 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/11.89, allocations: 11.75 kB / 3.707 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/11.9, allocations: 82.48 kB / 3.707 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/11.9, allocations: 168.9 kB / 3.707 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/11.91, allocations: 3.299 MB / 3.711 GB, free: 44.94 MB / 0.5105 GB 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.0291/11.94, allocations: 14.13 MB / 3.724 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/11.94, allocations: 2.132 MB / 3.727 GB, free: 37.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/11.95, allocations: 1.081 MB / 3.728 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2069/12.15, allocations: 63.64 MB / 3.79 GB, free: 30.13 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005974/12.16, allocations: 1.685 MB / 3.791 GB, free: 30 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=154): time 6.031e-06/12.16, allocations: 4 kB / 3.791 GB, free: 29.99 MB / 0.5418 GB Notification: Performance of matching and sorting (n=174): time 0.0287/12.19, allocations: 8.143 MB / 3.799 GB, free: 28.45 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/12.19, allocations: 280.9 kB / 3.8 GB, free: 28.13 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/12.19, allocations: 1.178 MB / 3.801 GB, free: 27.96 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0006276/12.19, allocations: 55.64 kB / 3.801 GB, free: 27.93 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/12.19, allocations: 0.8226 MB / 3.802 GB, free: 27.62 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/12.19, allocations: 0.6038 MB / 3.802 GB, free: 27.32 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/12.19, allocations: 42.97 kB / 3.802 GB, free: 27.32 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002504/12.19, allocations: 388.4 kB / 3.803 GB, free: 27.02 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/12.2, allocations: 1.147 MB / 3.804 GB, free: 27.01 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/12.2, allocations: 1.683 MB / 3.805 GB, free: 26.38 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/12.2, allocations: 1.381 MB / 3.807 GB, free: 26.32 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/12.2, allocations: 5.125 kB / 3.807 GB, free: 26.32 MB / 0.5418 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01087/12.21, allocations: 3.932 MB / 3.811 GB, free: 26.14 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.003233/12.22, allocations: 6.273 MB / 3.817 GB, free: 35.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-05/12.22, allocations: 17.81 kB / 3.817 GB, free: 35.55 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02625/12.24, allocations: 3.454 MB / 3.82 GB, free: 35.45 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/12.25, allocations: 333.8 kB / 3.82 GB, free: 35.45 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009586/12.26, allocations: 3.818 MB / 3.824 GB, free: 34.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/12.26, allocations: 278.1 kB / 3.824 GB, free: 34.84 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007004/12.26, allocations: 101.1 kB / 3.824 GB, free: 34.84 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/12.26, allocations: 3.688 kB / 3.824 GB, free: 34.84 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/12.27, allocations: 3.543 MB / 3.828 GB, free: 34.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-05/12.27, allocations: 19.14 kB / 3.828 GB, free: 34.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/12.29, allocations: 2.254 MB / 3.83 GB, free: 34.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/12.29, allocations: 365.5 kB / 3.831 GB, free: 34.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/12.3, allocations: 3.1 MB / 3.834 GB, free: 34.12 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/12.3, allocations: 262.8 kB / 3.834 GB, free: 34.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/12.3, allocations: 103.3 kB / 3.834 GB, free: 34.1 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.000931/12.3, allocations: 241.5 kB / 3.834 GB, free: 33.98 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/12.3, allocations: 167 kB / 3.834 GB, free: 33.89 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/12.32, allocations: 6.757 MB / 3.841 GB, free: 33.25 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.731e-05/12.32, allocations: 81.34 kB / 3.841 GB, free: 33.25 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/12.32, allocations: 3.406 kB / 3.841 GB, free: 33.25 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009889/12.33, allocations: 5.445 MB / 3.846 GB, free: 32.5 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/12.35, allocations: 9.46 MB / 3.856 GB, free: 28.96 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/12.35, allocations: 3.469 kB / 3.856 GB, free: 28.96 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/12.35, allocations: 438.2 kB / 3.856 GB, free: 28.94 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/12.35, allocations: 445.7 kB / 3.856 GB, free: 28.79 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005513/12.35, allocations: 66.5 kB / 3.856 GB, free: 28.76 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/12.36, allocations: 3.203 MB / 3.86 GB, free: 25.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/12.36, allocations: 8.453 kB / 3.86 GB, free: 25.91 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/12.37, allocations: 6.741 MB / 3.866 GB, free: 22.95 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/12.37, allocations: 0.7702 MB / 3.867 GB, free: 22.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/12.37, allocations: 54.58 kB / 3.867 GB, free: 22.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/12.38, allocations: 210 kB / 3.867 GB, free: 22.4 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/12.38, allocations: 191 kB / 3.867 GB, free: 22.38 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/12.38, allocations: 64.23 kB / 3.867 GB, free: 22.37 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002563/12.38, allocations: 1.219 MB / 3.869 GB, free: 21.89 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.81e-07/12.38, allocations: 0 / 3.869 GB, free: 21.89 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01173/12.39, allocations: 2.365 MB / 3.871 GB, free: 21.62 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02586/12.42, allocations: 9.561 MB / 3.88 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01446/12.43, allocations: 5.033 MB / 3.885 GB, free: 8.918 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/12.43, allocations: 7.906 kB / 3.885 GB, free: 8.91 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.006615/12.44, allocations: 2.268 MB / 3.887 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007701/12.45, allocations: 0.7872 MB / 3.888 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/12.47, allocations: 6.811 MB / 3.895 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/12.47, allocations: 2.053 MB / 3.897 GB, free: 14.94 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006781/12.48, allocations: 1.619 MB / 3.898 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/12.48, allocations: 1.125 MB / 3.899 GB, free: 12.91 MB / 0.573 GB Notification: Performance of SimCode: time 1.773e-06/12.48, allocations: 0 / 3.899 GB, free: 12.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7586/13.24, allocations: 112.2 MB / 4.009 GB, free: 93.07 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/13.24, allocations: 242.9 kB / 4.009 GB, free: 92.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/20.64, allocations: 0 / 4.009 GB, free: 92.75 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat does not exist to compare? outputFormat=mat