Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.416e-05/4.436e-05, allocations: 0 / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4209, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.293/9.714, allocations: 2.792 GB / 3.193 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/9.714, allocations: 83.2 kB / 3.193 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.546/13.26, allocations: 0.6615 GB / 3.854 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.255e-06/13.26, allocations: 0 / 3.854 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.686e-05/13.26, allocations: 28.41 kB / 3.855 GB, free: 50.44 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01104/13.27, allocations: 2.392 MB / 3.857 GB, free: 49.18 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/13.27, allocations: 12.12 kB / 3.857 GB, free: 49.18 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004575/13.27, allocations: 157.1 kB / 3.857 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/13.28, allocations: 0.5858 MB / 3.858 GB, free: 48.98 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/13.28, allocations: 0.8356 MB / 3.858 GB, free: 48.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/13.28, allocations: 206.6 kB / 3.859 GB, free: 48.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/13.28, allocations: 100.6 kB / 3.859 GB, free: 48.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005985/13.29, allocations: 1.843 MB / 3.86 GB, free: 47.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/13.29, allocations: 6.938 kB / 3.86 GB, free: 47.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/13.29, allocations: 48.81 kB / 3.861 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/13.29, allocations: 42.55 kB / 3.861 GB, free: 47.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005897/13.29, allocations: 1.574 MB / 3.862 GB, free: 46.88 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.0155/13.31, allocations: 8.599 MB / 3.871 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/13.31, allocations: 0.9719 MB / 3.871 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/13.31, allocations: 370.5 kB / 3.872 GB, free: 39.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06723/13.38, allocations: 25.09 MB / 3.896 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/13.38, allocations: 43.12 kB / 3.896 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/13.38, allocations: 129.7 kB / 3.896 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 5.43e-06/13.38, allocations: 0 / 3.896 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01372/13.4, allocations: 3.02 MB / 3.899 GB, free: 16.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/13.4, allocations: 115.4 kB / 3.9 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/13.4, allocations: 0.7395 MB / 3.9 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002493/13.4, allocations: 37.7 kB / 3.9 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/13.4, allocations: 0.5642 MB / 3.901 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/13.4, allocations: 279.5 kB / 3.901 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/13.4, allocations: 32 kB / 3.901 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001944/13.4, allocations: 403.6 kB / 3.902 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/13.4, allocations: 375.8 kB / 3.902 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/13.4, allocations: 0.925 MB / 3.903 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/13.4, allocations: 0.5275 MB / 3.903 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/13.4, allocations: 11.95 kB / 3.903 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004927/13.41, allocations: 1.533 MB / 3.905 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/13.41, allocations: 16 kB / 3.905 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/13.41, allocations: 16 kB / 3.905 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/13.41, allocations: 0.5638 MB / 3.905 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/13.42, allocations: 247.8 kB / 3.906 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/13.42, allocations: 1.745 MB / 3.907 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/13.42, allocations: 133.4 kB / 3.907 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/13.42, allocations: 80.2 kB / 3.908 GB, free: 8.516 MB / 0.5417 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.0004172/13.42, allocations: 207.8 kB / 3.908 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/13.42, allocations: 102.8 kB / 3.908 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/13.43, allocations: 4.55 MB / 3.912 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-05/13.43, allocations: 61.92 kB / 3.912 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/13.43, allocations: 0 / 3.912 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/13.43, allocations: 7.609 kB / 3.912 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/13.44, allocations: 6.318 MB / 3.919 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/13.44, allocations: 0 / 3.919 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/13.44, allocations: 170.9 kB / 3.919 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/13.45, allocations: 0.7866 MB / 3.919 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/13.45, allocations: 20 kB / 3.919 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/13.45, allocations: 1.793 MB / 3.921 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/13.45, allocations: 3.953 kB / 3.921 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/13.46, allocations: 3.8 MB / 3.925 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/13.46, allocations: 426.3 kB / 3.925 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/13.46, allocations: 20 kB / 3.925 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/13.46, allocations: 86.95 kB / 3.925 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/13.46, allocations: 80.45 kB / 3.926 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/13.46, allocations: 39.47 kB / 3.926 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001644/13.46, allocations: 0.6373 MB / 3.926 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.21e-07/13.46, allocations: 0 / 3.926 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009563/13.47, allocations: 1.54 MB / 3.928 GB, free: 5.887 MB / 0.5573 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.02158/13.49, allocations: 6.189 MB / 3.934 GB, free: 416 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.4566/13.95, allocations: 1.611 MB / 3.935 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/13.95, allocations: 5.781 kB / 3.935 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002822/13.95, allocations: 1.15 MB / 3.936 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/13.96, allocations: 0.493 MB / 3.937 GB, free: 66.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/13.97, allocations: 3.65 MB / 3.94 GB, free: 66.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/13.97, allocations: 1.422 MB / 3.942 GB, free: 65.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002341/13.97, allocations: 0.5893 MB / 3.942 GB, free: 65.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/13.98, allocations: 0.656 MB / 3.943 GB, free: 65.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/13.98, allocations: 0 / 3.943 GB, free: 65.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2387/14.21, allocations: 77.35 MB / 4.019 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/14.21, allocations: 250.6 kB / 4.019 GB, free: 62.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/20.93, allocations: 0 / 4.019 GB, free: 62.42 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat