Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.751/2.751, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.692e-05, allocations: 0 / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.872/9.008, allocations: 2.827 GB / 3.227 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004283/9.009, allocations: 73.91 kB / 3.227 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.44/13.45, allocations: 0.752 GB / 3.979 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.795e-06/13.45, allocations: 0 / 3.979 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002561/13.45, allocations: 36.14 kB / 3.979 GB, free: 46.93 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.01921/13.47, allocations: 2.756 MB / 3.982 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/13.47, allocations: 7.25 kB / 3.982 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008628/13.47, allocations: 156.5 kB / 3.982 GB, free: 45.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008331/13.48, allocations: 481.7 kB / 3.983 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/13.48, allocations: 1.126 MB / 3.984 GB, free: 44.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/13.48, allocations: 144.1 kB / 3.984 GB, free: 44.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/13.48, allocations: 96.81 kB / 3.984 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009336/13.49, allocations: 1.876 MB / 3.986 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.398e-05/13.49, allocations: 6.438 kB / 3.986 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/13.49, allocations: 40.64 kB / 3.986 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/13.49, allocations: 86.81 kB / 3.986 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009459/13.5, allocations: 1.697 MB / 3.988 GB, free: 43.21 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.02451/13.53, allocations: 8.534 MB / 3.996 GB, free: 36.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/13.53, allocations: 1.38 MB / 3.997 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/13.53, allocations: 471.9 kB / 3.998 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2126/13.75, allocations: 63.49 MB / 4.06 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003068/13.75, allocations: 0.8991 MB / 4.061 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.98e-06/13.75, allocations: 0 / 4.061 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01225/13.76, allocations: 3.74 MB / 4.064 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/13.76, allocations: 402.3 kB / 4.065 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/13.77, allocations: 0.9242 MB / 4.066 GB, free: 284 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000336/13.77, allocations: 41.7 kB / 4.066 GB, free: 236 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/13.77, allocations: 0.5828 MB / 4.066 GB, free: 15.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/13.77, allocations: 306.8 kB / 4.066 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/13.77, allocations: 24 kB / 4.067 GB, free: 15.47 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002276/13.77, allocations: 361.4 kB / 4.067 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/13.77, allocations: 473.1 kB / 4.067 GB, free: 14.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/13.77, allocations: 0.9343 MB / 4.068 GB, free: 13.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/13.77, allocations: 0.6321 MB / 4.069 GB, free: 13.03 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/13.77, allocations: 4 kB / 4.069 GB, free: 13.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006111/13.78, allocations: 1.736 MB / 4.071 GB, free: 11.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002778/13.78, allocations: 5.401 MB / 4.076 GB, free: 5.621 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/13.78, allocations: 12 kB / 4.076 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/13.79, allocations: 1.075 MB / 4.077 GB, free: 4.793 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/13.8, allocations: 247.2 kB / 4.077 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/13.8, allocations: 1.45 MB / 4.079 GB, free: 3.207 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/13.8, allocations: 130.6 kB / 4.079 GB, free: 3.102 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005006/13.8, allocations: 71.73 kB / 4.079 GB, free: 3.035 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/13.8, allocations: 4 kB / 4.079 GB, free: 3.031 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005339/13.81, allocations: 1.484 MB / 4.08 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/13.81, allocations: 16 kB / 4.08 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/13.81, allocations: 352.6 kB / 4.081 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/13.81, allocations: 279.2 kB / 4.081 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/13.81, allocations: 1.015 MB / 4.082 GB, free: 176 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/13.82, allocations: 122.9 kB / 4.082 GB, free: 76 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/13.82, allocations: 75.59 kB / 4.082 GB, free: 8 kB / 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.4626/14.28, allocations: 190.5 kB / 4.082 GB, free: 78.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/14.28, allocations: 122.8 kB / 4.082 GB, free: 78.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008896/14.29, allocations: 3.967 MB / 4.086 GB, free: 77.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/14.29, allocations: 44.14 kB / 4.086 GB, free: 77.88 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/14.29, allocations: 1.625 kB / 4.086 GB, free: 77.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/14.29, allocations: 7.203 kB / 4.086 GB, free: 77.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/14.3, allocations: 5.472 MB / 4.092 GB, free: 77.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/14.3, allocations: 1.125 kB / 4.092 GB, free: 77.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/14.3, allocations: 176 kB / 4.092 GB, free: 77.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0118/14.32, allocations: 1.799 MB / 4.093 GB, free: 77.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/14.32, allocations: 36.2 kB / 4.093 GB, free: 77.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/14.32, allocations: 2.085 MB / 4.096 GB, free: 76.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/14.32, allocations: 3.781 kB / 4.096 GB, free: 76.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007634/14.33, allocations: 3.811 MB / 4.099 GB, free: 75.67 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/14.33, allocations: 0.5319 MB / 4.1 GB, free: 75.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/14.33, allocations: 27.67 kB / 4.1 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/14.33, allocations: 101.3 kB / 4.1 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/14.33, allocations: 77.25 kB / 4.1 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/14.33, allocations: 36.48 kB / 4.1 GB, free: 75.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002615/14.33, allocations: 1.039 MB / 4.101 GB, free: 75.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.12e-07/14.33, allocations: 0 / 4.101 GB, free: 75.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01104/14.34, allocations: 2.062 MB / 4.103 GB, free: 75.34 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.02189/14.37, allocations: 6.622 MB / 4.109 GB, free: 73.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006244/14.37, allocations: 2.259 MB / 4.112 GB, free: 73.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.925e-05/14.37, allocations: 0 / 4.112 GB, free: 73.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/14.37, allocations: 0.9763 MB / 4.113 GB, free: 73.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/14.38, allocations: 0.6358 MB / 4.113 GB, free: 73.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/14.39, allocations: 3.787 MB / 4.117 GB, free: 72.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/14.4, allocations: 1.484 MB / 4.118 GB, free: 72.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003779/14.4, allocations: 1.044 MB / 4.119 GB, free: 72.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/14.4, allocations: 0.7023 MB / 4.12 GB, free: 72.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/14.4, allocations: 0 / 4.12 GB, free: 72.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/14.59, allocations: 89.03 MB / 4.207 GB, free: 68.57 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/14.6, allocations: 246 kB / 4.207 GB, free: 68.25 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/21.64, allocations: 0 / 4.207 GB, free: 68.25 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat