Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.798/2.798, allocations: 235 MB / 247.2 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.449e-05/5.46e-05, allocations: 4 kB / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5344, allocations: 54.85 MB / 359.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.159/8.694, allocations: 2.652 GB / 3.004 GB, free: 108 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/8.694, allocations: 75.81 kB / 3.004 GB, free: 107.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.17/12.86, allocations: 0.7406 GB / 3.744 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.185e-06/12.86, allocations: 0 / 3.744 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002012/12.86, allocations: 37.88 kB / 3.745 GB, free: 34.49 MB / 0.4948 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.0137/12.88, allocations: 2.76 MB / 3.747 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/12.88, allocations: 11.88 kB / 3.747 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006775/12.88, allocations: 148.4 kB / 3.747 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/12.88, allocations: 486.8 kB / 3.748 GB, free: 33.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/12.89, allocations: 1.124 MB / 3.749 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/12.89, allocations: 152 kB / 3.749 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/12.89, allocations: 91.38 kB / 3.749 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/12.9, allocations: 1.875 MB / 3.751 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.569e-05/12.9, allocations: 6.625 kB / 3.751 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/12.9, allocations: 40.72 kB / 3.751 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/12.9, allocations: 79.39 kB / 3.751 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006348/12.9, allocations: 1.697 MB / 3.753 GB, free: 32.36 MB / 0.4948 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.01976/12.92, allocations: 8.532 MB / 3.761 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004715/12.93, allocations: 1.365 MB / 3.762 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/12.93, allocations: 474.9 kB / 3.763 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.213/13.14, allocations: 63.49 MB / 3.825 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003335/13.14, allocations: 0.8955 MB / 3.826 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 5.21e-06/13.14, allocations: 0 / 3.826 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.01808/13.16, allocations: 3.744 MB / 3.829 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003106/13.16, allocations: 401.5 kB / 3.83 GB, free: 17.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/13.17, allocations: 0.917 MB / 3.831 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004146/13.17, allocations: 52.39 kB / 3.831 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/13.17, allocations: 0.564 MB / 3.831 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/13.17, allocations: 303.7 kB / 3.832 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/13.17, allocations: 23.56 kB / 3.832 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002796/13.17, allocations: 355.3 kB / 3.832 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/13.17, allocations: 479.2 kB / 3.832 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/13.17, allocations: 0.9342 MB / 3.833 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/13.18, allocations: 0.6262 MB / 3.834 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/13.18, allocations: 6.562 kB / 3.834 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.008664/13.19, allocations: 1.732 MB / 3.836 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003117/13.19, allocations: 5.405 MB / 3.841 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.994e-05/13.19, allocations: 13.66 kB / 3.841 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/13.2, allocations: 1.053 MB / 3.842 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/13.2, allocations: 250.6 kB / 3.842 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/13.21, allocations: 1.442 MB / 3.844 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/13.21, allocations: 136.4 kB / 3.844 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/13.21, allocations: 69.94 kB / 3.844 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/13.21, allocations: 1.969 kB / 3.844 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00616/13.22, allocations: 1.482 MB / 3.845 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.883e-05/13.22, allocations: 17.27 kB / 3.845 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/13.22, allocations: 350.6 kB / 3.846 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/13.22, allocations: 279.3 kB / 3.846 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/13.23, allocations: 1.009 MB / 3.847 GB, free: 25.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/13.23, allocations: 132.5 kB / 3.847 GB, free: 25.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008353/13.23, allocations: 64.47 kB / 3.847 GB, free: 25.38 MB / 0.5417 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.001251/13.23, allocations: 199.7 kB / 3.847 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/13.23, allocations: 126.7 kB / 3.847 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/13.25, allocations: 3.966 MB / 3.851 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.976e-05/13.25, allocations: 44.53 kB / 3.851 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/13.25, allocations: 6.031 kB / 3.851 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/13.25, allocations: 6.844 kB / 3.851 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/13.26, allocations: 5.493 MB / 3.857 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/13.26, allocations: 0 / 3.857 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/13.26, allocations: 171.5 kB / 3.857 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/13.27, allocations: 1.776 MB / 3.859 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/13.27, allocations: 26.56 kB / 3.859 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/13.27, allocations: 2.084 MB / 3.861 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/13.27, allocations: 6 kB / 3.861 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/13.28, allocations: 3.807 MB / 3.864 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/13.28, allocations: 0.5327 MB / 3.865 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/13.28, allocations: 24.84 kB / 3.865 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/13.29, allocations: 97.56 kB / 3.865 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/13.29, allocations: 81.16 kB / 3.865 GB, free: 19.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/13.29, allocations: 39.73 kB / 3.865 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002472/13.29, allocations: 1.035 MB / 3.866 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.072e-06/13.29, allocations: 0 / 3.866 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01075/13.3, allocations: 2.048 MB / 3.868 GB, free: 16.76 MB / 0.5417 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.02185/13.32, allocations: 6.635 MB / 3.875 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007897/13.33, allocations: 2.254 MB / 3.877 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/13.33, allocations: 8 kB / 3.877 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/13.33, allocations: 0.9756 MB / 3.878 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/13.34, allocations: 0.6328 MB / 3.878 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/13.35, allocations: 3.792 MB / 3.882 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/13.36, allocations: 1.481 MB / 3.883 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004872/13.36, allocations: 1.038 MB / 3.885 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/13.36, allocations: 0.6973 MB / 3.885 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of SimCode: time 1.673e-06/13.36, allocations: 0 / 3.885 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6817/14.04, allocations: 88.8 MB / 3.972 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/14.04, allocations: 245 kB / 3.972 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/20.66, allocations: 0 / 3.972 GB, free: 73.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat