Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.047e-05, allocations: 8 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.872/9.013, allocations: 2.838 GB / 3.239 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/9.013, allocations: 83.64 kB / 3.239 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.051/12.06, allocations: 0.4969 GB / 3.736 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.266e-06/12.06, allocations: 0 / 3.736 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001712/12.06, allocations: 45.19 kB / 3.736 GB, free: 58.64 MB / 0.5261 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.01656/12.08, allocations: 2.987 MB / 3.739 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/12.08, allocations: 7.438 kB / 3.739 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/12.08, allocations: 277.6 kB / 3.739 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00792/12.09, allocations: 0.7159 MB / 3.74 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006817/12.1, allocations: 1.57 MB / 3.741 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/12.1, allocations: 170.1 kB / 3.741 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009966/12.1, allocations: 178.1 kB / 3.742 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/12.11, allocations: 3.51 MB / 3.745 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-05/12.11, allocations: 8.75 kB / 3.745 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/12.11, allocations: 77.28 kB / 3.745 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/12.11, allocations: 177 kB / 3.745 GB, free: 56.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/12.12, allocations: 3.294 MB / 3.748 GB, free: 56.39 MB / 0.5261 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.03227/12.16, allocations: 14.13 MB / 3.762 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/12.16, allocations: 2.129 MB / 3.764 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/12.17, allocations: 1.078 MB / 3.765 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2074/12.37, allocations: 63.66 MB / 3.828 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00597/12.38, allocations: 1.692 MB / 3.829 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=154): time 5.42e-06/12.38, allocations: 0 / 3.829 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=174): time 0.02993/12.41, allocations: 8.148 MB / 3.837 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/12.41, allocations: 286 kB / 3.837 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/12.41, allocations: 1.177 MB / 3.839 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006724/12.41, allocations: 57.7 kB / 3.839 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/12.41, allocations: 0.8234 MB / 3.839 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/12.42, allocations: 0.6005 MB / 3.84 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/12.42, allocations: 44 kB / 3.84 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002314/12.42, allocations: 392.9 kB / 3.84 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/12.42, allocations: 1.14 MB / 3.842 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/12.42, allocations: 1.68 MB / 3.843 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/12.43, allocations: 1.381 MB / 3.844 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/12.43, allocations: 4 kB / 3.845 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.012/12.44, allocations: 3.935 MB / 3.848 GB, free: 240 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002794/12.44, allocations: 6.276 MB / 3.854 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-05/12.44, allocations: 16 kB / 3.854 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02726/12.47, allocations: 3.457 MB / 3.858 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/12.47, allocations: 331.2 kB / 3.858 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/12.48, allocations: 3.812 MB / 3.862 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/12.49, allocations: 279.3 kB / 3.862 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/12.49, allocations: 107.3 kB / 3.862 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/12.49, allocations: 4 kB / 3.862 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5367/13.02, allocations: 3.543 MB / 3.866 GB, free: 87.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.19e-05/13.02, allocations: 16.86 kB / 3.866 GB, free: 87.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/13.04, allocations: 2.251 MB / 3.868 GB, free: 87.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/13.04, allocations: 368.3 kB / 3.868 GB, free: 87.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/13.05, allocations: 3.099 MB / 3.871 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/13.06, allocations: 270.9 kB / 3.872 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/13.06, allocations: 99.36 kB / 3.872 GB, free: 86.56 MB / 0.5573 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.0009159/13.06, allocations: 235.5 kB / 3.872 GB, free: 86.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/13.06, allocations: 165.9 kB / 3.872 GB, free: 86.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/13.07, allocations: 6.756 MB / 3.879 GB, free: 86.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001271/13.07, allocations: 77.23 kB / 3.879 GB, free: 86.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/13.07, allocations: 1.312 kB / 3.879 GB, free: 86.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01209/13.09, allocations: 5.448 MB / 3.884 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/13.11, allocations: 9.463 MB / 3.893 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/13.11, allocations: 3.625 kB / 3.893 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/13.11, allocations: 444 kB / 3.894 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/13.11, allocations: 439.5 kB / 3.894 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/13.11, allocations: 65.5 kB / 3.894 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/13.12, allocations: 3.214 MB / 3.897 GB, free: 82.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/13.12, allocations: 0 / 3.897 GB, free: 82.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/13.13, allocations: 6.746 MB / 3.904 GB, free: 81.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/13.13, allocations: 0.769 MB / 3.905 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009972/13.14, allocations: 51.69 kB / 3.905 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/13.14, allocations: 210.3 kB / 3.905 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008042/13.14, allocations: 194 kB / 3.905 GB, free: 81.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/13.14, allocations: 67.38 kB / 3.905 GB, free: 81.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002586/13.14, allocations: 1.223 MB / 3.906 GB, free: 81.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.82e-07/13.14, allocations: 0 / 3.906 GB, free: 81.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01177/13.15, allocations: 2.362 MB / 3.909 GB, free: 81.21 MB / 0.5573 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.02703/13.18, allocations: 9.564 MB / 3.918 GB, free: 79.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01355/13.2, allocations: 5.057 MB / 3.923 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/13.2, allocations: 3 kB / 3.923 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/13.2, allocations: 2.264 MB / 3.925 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007569/13.21, allocations: 0.7854 MB / 3.926 GB, free: 79.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/13.23, allocations: 6.809 MB / 3.933 GB, free: 78.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/13.23, allocations: 2.055 MB / 3.935 GB, free: 77.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006097/13.24, allocations: 1.617 MB / 3.936 GB, free: 77.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/13.24, allocations: 1.132 MB / 3.937 GB, free: 76.69 MB / 0.5573 GB Notification: Performance of SimCode: time 2.124e-06/13.24, allocations: 0 / 3.937 GB, free: 76.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/13.49, allocations: 112.1 MB / 4.047 GB, free: 29.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/13.49, allocations: 243.3 kB / 4.047 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/21.55, allocations: 4 kB / 4.047 GB, free: 29.24 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat does not exist to compare? outputFormat=mat