Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.143e-05, allocations: 7.984 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.402, allocations: 58.84 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.787/9.189, allocations: 2.822 GB / 3.195 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/9.19, allocations: 79.14 kB / 3.195 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.246/13.44, allocations: 0.7445 GB / 3.94 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.086e-06/13.44, allocations: 0 / 3.94 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001691/13.44, allocations: 37.72 kB / 3.94 GB, free: 39.59 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01321/13.45, allocations: 2.756 MB / 3.942 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/13.45, allocations: 9.25 kB / 3.942 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005881/13.45, allocations: 154.1 kB / 3.943 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004826/13.45, allocations: 491.3 kB / 3.943 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/13.46, allocations: 1.119 MB / 3.944 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/13.46, allocations: 142.1 kB / 3.944 GB, free: 38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/13.46, allocations: 97.91 kB / 3.944 GB, free: 38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/13.46, allocations: 1.879 MB / 3.946 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/13.46, allocations: 4.844 kB / 3.946 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/13.47, allocations: 40.38 kB / 3.946 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/13.47, allocations: 82.27 kB / 3.946 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/13.47, allocations: 1.696 MB / 3.948 GB, free: 37.65 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.01881/13.49, allocations: 8.541 MB / 3.956 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/13.49, allocations: 1.373 MB / 3.958 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/13.5, allocations: 472.2 kB / 3.958 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.213/13.71, allocations: 63.49 MB / 4.02 GB, free: 25.31 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003049/13.71, allocations: 0.8948 MB / 4.021 GB, free: 25.18 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=82): time 4.398e-06/13.71, allocations: 0 / 4.021 GB, free: 25.18 MB / 0.5574 GB Notification: Performance of matching and sorting (n=86): time 0.01192/13.72, allocations: 3.741 MB / 4.025 GB, free: 24.06 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002912/13.72, allocations: 412.6 kB / 4.025 GB, free: 23.59 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/13.73, allocations: 0.9153 MB / 4.026 GB, free: 23.42 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/13.73, allocations: 39.55 kB / 4.026 GB, free: 23.39 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/13.73, allocations: 0.5675 MB / 4.026 GB, free: 23.13 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/13.73, allocations: 307.8 kB / 4.027 GB, free: 22.95 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/13.73, allocations: 24.09 kB / 4.027 GB, free: 22.95 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001929/13.73, allocations: 354.3 kB / 4.027 GB, free: 22.64 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/13.73, allocations: 481 kB / 4.028 GB, free: 22.63 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/13.73, allocations: 0.9324 MB / 4.029 GB, free: 22.06 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/13.73, allocations: 0.6268 MB / 4.029 GB, free: 22.03 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/13.73, allocations: 3.875 kB / 4.029 GB, free: 22.03 MB / 0.5574 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004905/13.74, allocations: 1.728 MB / 4.031 GB, free: 21.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.002689/13.74, allocations: 5.412 MB / 4.036 GB, free: 16.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-05/13.74, allocations: 17.84 kB / 4.036 GB, free: 16.23 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/13.75, allocations: 1.071 MB / 4.037 GB, free: 16.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/13.75, allocations: 245.7 kB / 4.037 GB, free: 16.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/13.76, allocations: 1.458 MB / 4.039 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/13.76, allocations: 134.2 kB / 4.039 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/13.76, allocations: 71.05 kB / 4.039 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/13.76, allocations: 4.312 kB / 4.039 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004678/13.76, allocations: 1.482 MB / 4.04 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/13.76, allocations: 14.5 kB / 4.04 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/13.77, allocations: 348.1 kB / 4.041 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/13.77, allocations: 286.6 kB / 4.041 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/13.77, allocations: 1 MB / 4.042 GB, free: 31.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/13.77, allocations: 129.3 kB / 4.042 GB, free: 31.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/13.77, allocations: 68.08 kB / 4.042 GB, free: 31.02 MB / 0.573 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: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0006063/13.77, allocations: 203.2 kB / 4.042 GB, free: 30.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/13.77, allocations: 125.9 kB / 4.043 GB, free: 30.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/13.78, allocations: 3.954 MB / 4.046 GB, free: 30.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.843e-05/13.78, allocations: 47.03 kB / 4.046 GB, free: 30.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/13.78, allocations: 4.125 kB / 4.046 GB, free: 30.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/13.78, allocations: 6.781 kB / 4.046 GB, free: 30.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/13.79, allocations: 5.493 MB / 4.052 GB, free: 29.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/13.79, allocations: 1.125 kB / 4.052 GB, free: 29.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/13.79, allocations: 170.7 kB / 4.052 GB, free: 29.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01123/13.8, allocations: 1.793 MB / 4.054 GB, free: 29.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/13.8, allocations: 33 kB / 4.054 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/13.81, allocations: 2.086 MB / 4.056 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/13.81, allocations: 6.938 kB / 4.056 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006755/13.81, allocations: 3.805 MB / 4.06 GB, free: 28.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/13.82, allocations: 0.5345 MB / 4.06 GB, free: 27.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/13.82, allocations: 25.12 kB / 4.06 GB, free: 27.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/13.82, allocations: 94.77 kB / 4.06 GB, free: 27.76 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/13.82, allocations: 78.09 kB / 4.06 GB, free: 27.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/13.82, allocations: 35.75 kB / 4.06 GB, free: 27.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002338/13.82, allocations: 1.033 MB / 4.061 GB, free: 27.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.61e-07/13.82, allocations: 9.438 kB / 4.061 GB, free: 27.63 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009982/13.83, allocations: 2.058 MB / 4.063 GB, free: 27.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].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 (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02018/13.85, allocations: 6.626 MB / 4.07 GB, free: 25.29 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006461/13.86, allocations: 2.247 MB / 4.072 GB, free: 25.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/13.86, allocations: 2.906 kB / 4.072 GB, free: 25.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/13.86, allocations: 0.9859 MB / 4.073 GB, free: 25.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/13.87, allocations: 0.6401 MB / 4.074 GB, free: 25.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/13.88, allocations: 3.77 MB / 4.077 GB, free: 24.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/13.88, allocations: 1.484 MB / 4.079 GB, free: 23.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003904/13.88, allocations: 1.036 MB / 4.08 GB, free: 23.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/13.89, allocations: 0.7025 MB / 4.08 GB, free: 23.28 MB / 0.573 GB Notification: Performance of SimCode: time 1.723e-06/13.89, allocations: 0 / 4.08 GB, free: 23.28 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.648/14.53, allocations: 88.96 MB / 4.167 GB, free: 82.67 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/14.53, allocations: 241.1 kB / 4.168 GB, free: 82.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/21.55, allocations: 0 / 4.168 GB, free: 82.36 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat