Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.553e-05, allocations: 7.938 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.69/7.795, allocations: 2.541 GB / 2.85 GB, free: 52.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/7.796, allocations: 78.89 kB / 2.85 GB, free: 52.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098/11.89, allocations: 0.7163 GB / 3.567 GB, free: 9.305 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/11.89, allocations: 0 / 3.567 GB, free: 9.305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001739/11.89, allocations: 32 kB / 3.567 GB, free: 9.273 MB / 458.7 MB 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.01377/11.91, allocations: 2.657 MB / 3.569 GB, free: 6.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/11.91, allocations: 12.03 kB / 3.569 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004989/11.91, allocations: 462 kB / 3.57 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/11.92, allocations: 1.125 MB / 3.571 GB, free: 4.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/11.92, allocations: 105.9 kB / 3.571 GB, free: 4.848 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/11.92, allocations: 56.34 kB / 3.571 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003914/11.92, allocations: 1.343 MB / 3.572 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/11.93, allocations: 1.468 MB / 3.574 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/11.93, allocations: 3.938 kB / 3.574 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/11.93, allocations: 4 kB / 3.574 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/11.93, allocations: 77.95 kB / 3.574 GB, free: 1.781 MB / 458.7 MB 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.7957/12.72, allocations: 135.1 MB / 3.706 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/12.72, allocations: 0.9337 MB / 3.707 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/12.73, allocations: 376.3 kB / 3.707 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05404/12.78, allocations: 16.69 MB / 3.723 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/12.78, allocations: 0.4981 MB / 3.724 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=66): time 4.288e-06/12.78, allocations: 4 kB / 3.724 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.015/12.8, allocations: 3.11 MB / 3.727 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/12.8, allocations: 345.4 kB / 3.727 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/12.8, allocations: 0.8387 MB / 3.728 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/12.8, allocations: 25.7 kB / 3.728 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/12.8, allocations: 0.6266 MB / 3.729 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/12.8, allocations: 240.3 kB / 3.729 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/12.8, allocations: 0 / 3.729 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002281/12.8, allocations: 359.4 kB / 3.729 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/12.8, allocations: 467.5 kB / 3.73 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/12.8, allocations: 0.9187 MB / 3.73 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/12.82, allocations: 1.649 MB / 3.732 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/12.82, allocations: 3.125 kB / 3.732 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01601/12.83, allocations: 2.683 MB / 3.735 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002282/12.83, allocations: 5.4 MB / 3.74 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-05/12.83, allocations: 13.16 kB / 3.74 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007347/12.84, allocations: 0.717 MB / 3.741 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/12.84, allocations: 252.8 kB / 3.741 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/12.85, allocations: 1.623 MB / 3.742 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/12.85, allocations: 118.1 kB / 3.743 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/12.85, allocations: 73.53 kB / 3.743 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/12.85, allocations: 3.594 kB / 3.743 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01444/12.86, allocations: 2.333 MB / 3.745 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.975e-05/12.86, allocations: 11.53 kB / 3.745 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/12.87, allocations: 330.2 kB / 3.745 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/12.87, allocations: 284.3 kB / 3.746 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/12.87, allocations: 1.03 MB / 3.747 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/12.87, allocations: 113.2 kB / 3.747 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/12.87, allocations: 68.72 kB / 3.747 GB, free: 13.91 MB / 0.5261 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 ($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,source.medium.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.0005524/12.87, allocations: 162.1 kB / 3.747 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003865/12.88, allocations: 1.038 MB / 3.748 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/12.88, allocations: 112.4 kB / 3.748 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/12.88, allocations: 2.898 MB / 3.751 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/12.88, allocations: 38.83 kB / 3.751 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/12.88, allocations: 0 / 3.751 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/12.88, allocations: 3.844 kB / 3.751 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009095/12.89, allocations: 4.565 MB / 3.755 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/12.89, allocations: 4.125 kB / 3.755 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/12.89, allocations: 125.4 kB / 3.755 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007757/12.9, allocations: 1.528 MB / 3.757 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/12.9, allocations: 23.25 kB / 3.757 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/12.91, allocations: 2.255 MB / 3.759 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/12.91, allocations: 11.89 kB / 3.759 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007035/12.91, allocations: 3.315 MB / 3.762 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/12.91, allocations: 349.5 kB / 3.763 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/12.91, allocations: 4 kB / 3.763 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/12.92, allocations: 81.86 kB / 3.763 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/12.92, allocations: 59.78 kB / 3.763 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/12.92, allocations: 29.95 kB / 3.763 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001283/12.92, allocations: 0.6064 MB / 3.763 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/12.92, allocations: 0 / 3.763 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01021/12.93, allocations: 1.916 MB / 3.765 GB, free: 5.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.02081/12.95, allocations: 6.051 MB / 3.771 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006274/12.96, allocations: 2.086 MB / 3.773 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/12.96, allocations: 0.75 kB / 3.773 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/12.96, allocations: 0.8302 MB / 3.774 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3909/13.35, allocations: 465.8 kB / 3.775 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/13.37, allocations: 3.168 MB / 3.778 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/13.37, allocations: 1.343 MB / 3.779 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006968/13.38, allocations: 1.198 MB / 3.78 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/13.38, allocations: 0.5454 MB / 3.781 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/13.38, allocations: 0 / 3.781 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1924/13.57, allocations: 69.07 MB / 3.848 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/13.57, allocations: 195.2 kB / 3.848 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.075/19.65, allocations: 0 / 3.848 GB, free: 111.9 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat