Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.2e-05, allocations: 7.234 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.606/9.774, allocations: 2.827 GB / 3.227 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/9.774, allocations: 84.06 kB / 3.227 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.581/14.35, allocations: 0.752 GB / 3.979 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/14.35, allocations: 1.156 kB / 3.979 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001494/14.36, allocations: 29.25 kB / 3.979 GB, free: 47.34 MB / 0.5417 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.01334/14.37, allocations: 2.766 MB / 3.982 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/14.37, allocations: 7.5 kB / 3.982 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005488/14.37, allocations: 151.9 kB / 3.982 GB, free: 45.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/14.37, allocations: 484.3 kB / 3.983 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/14.38, allocations: 1.122 MB / 3.984 GB, free: 45.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/14.38, allocations: 145.1 kB / 3.984 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005259/14.38, allocations: 100.7 kB / 3.984 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006179/14.39, allocations: 1.872 MB / 3.986 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/14.39, allocations: 7.875 kB / 3.986 GB, free: 44.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/14.39, allocations: 41.83 kB / 3.986 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/14.39, allocations: 83.94 kB / 3.986 GB, free: 44.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/14.39, allocations: 1.691 MB / 3.988 GB, free: 44 MB / 0.5417 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.0177/14.41, allocations: 8.544 MB / 3.996 GB, free: 37.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/14.41, allocations: 1.372 MB / 3.997 GB, free: 36.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/14.41, allocations: 482.4 kB / 3.998 GB, free: 36.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2265/14.64, allocations: 63.5 MB / 4.06 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003798/14.64, allocations: 0.8923 MB / 4.061 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.96e-06/14.65, allocations: 0 / 4.061 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01202/14.66, allocations: 3.739 MB / 4.064 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000248/14.66, allocations: 401.9 kB / 4.065 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/14.66, allocations: 0.9205 MB / 4.066 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/14.66, allocations: 41.7 kB / 4.066 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/14.66, allocations: 0.5673 MB / 4.066 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/14.66, allocations: 300.5 kB / 4.066 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/14.66, allocations: 24 kB / 4.066 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000203/14.66, allocations: 368.2 kB / 4.067 GB, free: 248 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/14.66, allocations: 0.5389 MB / 4.067 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/14.67, allocations: 0.9399 MB / 4.068 GB, free: 14.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/14.67, allocations: 0.6322 MB / 4.069 GB, free: 14.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/14.67, allocations: 4 kB / 4.069 GB, free: 14.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005121/14.67, allocations: 1.731 MB / 4.071 GB, free: 12.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002729/14.68, allocations: 5.401 MB / 4.076 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/14.68, allocations: 16 kB / 4.076 GB, free: 6.914 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/14.69, allocations: 1.075 MB / 4.077 GB, free: 6.098 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/14.69, allocations: 246.2 kB / 4.077 GB, free: 5.891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/14.69, allocations: 1.448 MB / 4.079 GB, free: 4.512 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/14.69, allocations: 134.2 kB / 4.079 GB, free: 4.402 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/14.69, allocations: 67.66 kB / 4.079 GB, free: 4.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/14.69, allocations: 4 kB / 4.079 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004677/14.7, allocations: 1.49 MB / 4.08 GB, free: 2.996 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/14.7, allocations: 12 kB / 4.08 GB, free: 2.984 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/14.7, allocations: 352 kB / 4.081 GB, free: 2.703 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/14.7, allocations: 279.6 kB / 4.081 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/14.71, allocations: 1.007 MB / 4.082 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/14.71, allocations: 134.5 kB / 4.082 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/14.71, allocations: 63.94 kB / 4.082 GB, free: 1.32 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.0005584/14.71, allocations: 203.4 kB / 4.082 GB, free: 1.121 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/14.71, allocations: 122.5 kB / 4.082 GB, free: 1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4555/15.16, allocations: 4.081 MB / 4.086 GB, free: 78.31 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.113e-05/15.16, allocations: 45.36 kB / 4.086 GB, free: 78.31 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/15.16, allocations: 4.469 kB / 4.086 GB, free: 78.31 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/15.16, allocations: 6.656 kB / 4.086 GB, free: 78.31 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/15.18, allocations: 5.476 MB / 4.092 GB, free: 77.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/15.18, allocations: 2.031 kB / 4.092 GB, free: 77.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/15.18, allocations: 176.5 kB / 4.092 GB, free: 77.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/15.19, allocations: 1.797 MB / 4.094 GB, free: 77.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/15.19, allocations: 25.92 kB / 4.094 GB, free: 77.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/15.19, allocations: 2.09 MB / 4.096 GB, free: 76.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/15.19, allocations: 4.672 kB / 4.096 GB, free: 76.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/15.2, allocations: 3.813 MB / 4.099 GB, free: 76.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/15.2, allocations: 0.5324 MB / 4.1 GB, free: 76.12 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/15.2, allocations: 22.72 kB / 4.1 GB, free: 76.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/15.2, allocations: 100.3 kB / 4.1 GB, free: 76.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/15.2, allocations: 80.03 kB / 4.1 GB, free: 76.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/15.2, allocations: 34.08 kB / 4.1 GB, free: 76.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002362/15.2, allocations: 1.038 MB / 4.101 GB, free: 76 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.41e-07/15.2, allocations: 1 kB / 4.101 GB, free: 76 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01067/15.22, allocations: 2.057 MB / 4.103 GB, free: 76 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.02087/15.24, allocations: 6.631 MB / 4.11 GB, free: 74.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006255/15.24, allocations: 2.259 MB / 4.112 GB, free: 74.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/15.24, allocations: 3.938 kB / 4.112 GB, free: 74.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/15.24, allocations: 0.9779 MB / 4.113 GB, free: 74.37 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/15.25, allocations: 0.6266 MB / 4.113 GB, free: 74.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/15.26, allocations: 3.788 MB / 4.117 GB, free: 73.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/15.26, allocations: 1.483 MB / 4.119 GB, free: 72.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003826/15.27, allocations: 1.047 MB / 4.12 GB, free: 72.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/15.27, allocations: 0.7024 MB / 4.12 GB, free: 72.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.483e-06/15.27, allocations: 0 / 4.12 GB, free: 72.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2248/15.49, allocations: 89.02 MB / 4.207 GB, free: 69.43 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/15.5, allocations: 250.1 kB / 4.207 GB, free: 69.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/22.69, allocations: 3.281 kB / 4.207 GB, free: 69.11 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat