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.332/2.332, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.855e-05, allocations: 8 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.165/8.568, allocations: 2.652 GB / 3.004 GB, free: 108.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/8.568, allocations: 85.78 kB / 3.004 GB, free: 108.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107/12.68, allocations: 0.7406 GB / 3.744 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.188e-06/12.68, allocations: 0 / 3.744 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005036/12.68, allocations: 32.89 kB / 3.744 GB, free: 34.2 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.01408/12.69, allocations: 2.764 MB / 3.747 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/12.69, allocations: 11.31 kB / 3.747 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007088/12.69, allocations: 151.5 kB / 3.747 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005078/12.7, allocations: 480.3 kB / 3.748 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/12.7, allocations: 1.126 MB / 3.749 GB, free: 32.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/12.7, allocations: 146.2 kB / 3.749 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/12.7, allocations: 96.5 kB / 3.749 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/12.71, allocations: 1.887 MB / 3.751 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/12.71, allocations: 8.328 kB / 3.751 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/12.71, allocations: 43.55 kB / 3.751 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/12.71, allocations: 78.84 kB / 3.751 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/12.71, allocations: 1.715 MB / 3.753 GB, free: 32.08 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.01869/12.73, allocations: 8.536 MB / 3.761 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/12.74, allocations: 1.372 MB / 3.762 GB, free: 26.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/12.74, allocations: 472.6 kB / 3.763 GB, free: 26.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2068/12.95, allocations: 63.5 MB / 3.825 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003136/12.95, allocations: 0.8999 MB / 3.826 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 4.328e-06/12.95, allocations: 3.969 kB / 3.826 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.0122/12.96, allocations: 3.734 MB / 3.829 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003021/12.96, allocations: 405.2 kB / 3.83 GB, free: 17.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/12.96, allocations: 0.9219 MB / 3.831 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/12.96, allocations: 45.89 kB / 3.831 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/12.96, allocations: 0.5631 MB / 3.831 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/12.96, allocations: 305.2 kB / 3.832 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/12.96, allocations: 26.38 kB / 3.832 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002357/12.96, allocations: 354.9 kB / 3.832 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/12.97, allocations: 481.8 kB / 3.832 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/12.97, allocations: 0.9359 MB / 3.833 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/12.97, allocations: 0.6333 MB / 3.834 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/12.97, allocations: 3.344 kB / 3.834 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004807/12.97, allocations: 1.767 MB / 3.836 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00244/12.98, allocations: 5.413 MB / 3.841 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.61e-05/12.98, allocations: 11.5 kB / 3.841 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009621/12.99, allocations: 1.052 MB / 3.842 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/12.99, allocations: 247.6 kB / 3.842 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/12.99, allocations: 1.449 MB / 3.844 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/12.99, allocations: 133.3 kB / 3.844 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/12.99, allocations: 67.03 kB / 3.844 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/12.99, allocations: 6.188 kB / 3.844 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004319/13, allocations: 1.521 MB / 3.845 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/13, allocations: 17.08 kB / 3.845 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/13, allocations: 343.5 kB / 3.846 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/13, allocations: 284.4 kB / 3.846 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/13.01, allocations: 1.009 MB / 3.847 GB, free: 25.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/13.01, allocations: 127.6 kB / 3.847 GB, free: 25.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/13.01, allocations: 67.55 kB / 3.847 GB, free: 25.07 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.0006133/13.01, allocations: 201.7 kB / 3.847 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/13.01, allocations: 126.9 kB / 3.847 GB, free: 24.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006932/13.02, allocations: 3.961 MB / 3.851 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/13.02, allocations: 44.64 kB / 3.851 GB, free: 24.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/13.02, allocations: 8.094 kB / 3.851 GB, free: 24.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/13.02, allocations: 11.25 kB / 3.851 GB, free: 24.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/13.03, allocations: 5.489 MB / 3.857 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/13.03, allocations: 3.875 kB / 3.857 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/13.03, allocations: 170.3 kB / 3.857 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/13.04, allocations: 1.777 MB / 3.859 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/13.04, allocations: 32.73 kB / 3.859 GB, free: 23.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/13.04, allocations: 2.08 MB / 3.861 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/13.04, allocations: 3.375 kB / 3.861 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/13.05, allocations: 3.812 MB / 3.864 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/13.05, allocations: 0.5312 MB / 3.865 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/13.05, allocations: 24 kB / 3.865 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/13.05, allocations: 99.88 kB / 3.865 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/13.05, allocations: 78.27 kB / 3.865 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/13.05, allocations: 34.3 kB / 3.865 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002235/13.06, allocations: 1.032 MB / 3.866 GB, free: 18.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.42e-07/13.06, allocations: 4 kB / 3.866 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009457/13.06, allocations: 2.057 MB / 3.868 GB, free: 16.34 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.02082/13.09, allocations: 6.611 MB / 3.875 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007658/13.09, allocations: 2.302 MB / 3.877 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/13.09, allocations: 4 kB / 3.877 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002658/13.1, allocations: 0.9894 MB / 3.878 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/13.1, allocations: 0.6453 MB / 3.878 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/13.12, allocations: 3.787 MB / 3.882 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/13.12, allocations: 1.475 MB / 3.884 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004651/13.12, allocations: 1.047 MB / 3.885 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/13.13, allocations: 0.7016 MB / 3.885 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/13.13, allocations: 4 kB / 3.885 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7713/13.9, allocations: 88.78 MB / 3.972 GB, free: 73.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/13.9, allocations: 246 kB / 3.972 GB, free: 73.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/20.88, allocations: 0 / 3.972 GB, free: 73.08 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