Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.537e-05, allocations: 3.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.122/9.543, allocations: 2.787 GB / 3.16 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/9.543, allocations: 84.08 kB / 3.161 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.634/13.18, allocations: 0.6558 GB / 3.816 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/13.18, allocations: 0 / 3.816 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001094/13.18, allocations: 34.06 kB / 3.816 GB, free: 45.19 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01111/13.19, allocations: 2.385 MB / 3.819 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/13.19, allocations: 8.938 kB / 3.819 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004823/13.19, allocations: 158.8 kB / 3.819 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007297/13.2, allocations: 0.5799 MB / 3.819 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/13.2, allocations: 0.8389 MB / 3.82 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/13.2, allocations: 207.2 kB / 3.821 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/13.2, allocations: 110.3 kB / 3.821 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005742/13.21, allocations: 1.836 MB / 3.822 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/13.21, allocations: 11.34 kB / 3.822 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/13.21, allocations: 46.72 kB / 3.822 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.548e-05/13.21, allocations: 41.31 kB / 3.822 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/13.21, allocations: 1.576 MB / 3.824 GB, free: 41.54 MB / 0.5105 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.0148/13.23, allocations: 8.589 MB / 3.832 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/13.23, allocations: 0.9805 MB / 3.833 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/13.23, allocations: 367.8 kB / 3.834 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06955/13.3, allocations: 25.1 MB / 3.858 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/13.3, allocations: 41.03 kB / 3.858 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/13.3, allocations: 122 kB / 3.858 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.408e-06/13.3, allocations: 3.938 kB / 3.858 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01267/13.32, allocations: 3.022 MB / 3.861 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/13.32, allocations: 115.5 kB / 3.861 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/13.32, allocations: 0.7404 MB / 3.862 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/13.32, allocations: 41.61 kB / 3.862 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/13.32, allocations: 0.5624 MB / 3.863 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/13.32, allocations: 274.9 kB / 3.863 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/13.32, allocations: 27.53 kB / 3.863 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002357/13.32, allocations: 412.7 kB / 3.863 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/13.32, allocations: 369.9 kB / 3.864 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/13.32, allocations: 0.9296 MB / 3.865 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/13.32, allocations: 0.5246 MB / 3.865 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/13.32, allocations: 8 kB / 3.865 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004163/13.33, allocations: 1.538 MB / 3.867 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/13.33, allocations: 12 kB / 3.867 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/13.33, allocations: 20 kB / 3.867 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/13.33, allocations: 0.5449 MB / 3.867 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/13.33, allocations: 252.6 kB / 3.868 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/13.33, allocations: 1.757 MB / 3.869 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/13.34, allocations: 134.9 kB / 3.869 GB, free: 22.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/13.34, allocations: 79.23 kB / 3.869 GB, free: 22.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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: 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 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004546/13.34, allocations: 202.7 kB / 3.87 GB, free: 22.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/13.34, allocations: 102.8 kB / 3.87 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/13.35, allocations: 4.555 MB / 3.874 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/13.35, allocations: 61.8 kB / 3.874 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/13.35, allocations: 3.938 kB / 3.874 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/13.35, allocations: 3.75 kB / 3.874 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/13.36, allocations: 6.26 MB / 3.88 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/13.36, allocations: 0 / 3.88 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/13.36, allocations: 165.8 kB / 3.881 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/13.36, allocations: 0.784 MB / 3.881 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/13.36, allocations: 20 kB / 3.881 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/13.36, allocations: 1.796 MB / 3.883 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/13.36, allocations: 0 / 3.883 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007783/13.37, allocations: 3.789 MB / 3.887 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/13.37, allocations: 435.5 kB / 3.887 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/13.37, allocations: 20 kB / 3.887 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/13.37, allocations: 89.16 kB / 3.887 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/13.37, allocations: 70.72 kB / 3.887 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/13.37, allocations: 35.23 kB / 3.887 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001529/13.38, allocations: 0.6396 MB / 3.888 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/13.38, allocations: 4 kB / 3.888 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008599/13.38, allocations: 1.537 MB / 3.89 GB, free: 3.738 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02232/13.41, allocations: 6.222 MB / 3.896 GB, free: 14.35 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.004328/13.41, allocations: 1.522 MB / 3.897 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/13.41, allocations: 0 / 3.897 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/13.41, allocations: 1.155 MB / 3.898 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/13.42, allocations: 0.5025 MB / 3.899 GB, free: 11.47 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/13.43, allocations: 3.644 MB / 3.902 GB, free: 8.188 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/13.44, allocations: 1.422 MB / 3.904 GB, free: 6.988 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.002453/13.44, allocations: 0.583 MB / 3.904 GB, free: 6.629 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/13.44, allocations: 0.6555 MB / 3.905 GB, free: 6.027 MB / 0.5418 GB Notification: Performance of SimCode: time 1.573e-06/13.44, allocations: 0 / 3.905 GB, free: 6.027 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6343/14.07, allocations: 77.39 MB / 3.98 GB, free: 68.12 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/14.07, allocations: 252.5 kB / 3.981 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.139/20.21, allocations: 0 / 3.981 GB, free: 67.79 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat