Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.492e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4038, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.061/8.465, allocations: 2.617 GB / 2.963 GB, free: 114.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/8.465, allocations: 80.03 kB / 2.963 GB, free: 114.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.299/11.76, allocations: 0.6461 GB / 3.609 GB, free: 39.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/11.76, allocations: 0 / 3.609 GB, free: 39.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001089/11.76, allocations: 28.89 kB / 3.609 GB, free: 39.77 MB / 490.7 MB 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.01108/11.78, allocations: 2.385 MB / 3.611 GB, free: 38.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/11.78, allocations: 13.75 kB / 3.611 GB, free: 38.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007388/11.78, allocations: 0.5775 MB / 3.612 GB, free: 38.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/11.79, allocations: 0.844 MB / 3.613 GB, free: 38.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/11.79, allocations: 173.1 kB / 3.613 GB, free: 37.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/11.79, allocations: 66.14 kB / 3.613 GB, free: 37.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003118/11.79, allocations: 1.153 MB / 3.614 GB, free: 37.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/11.79, allocations: 1.362 MB / 3.615 GB, free: 37.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/11.79, allocations: 7.562 kB / 3.615 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/11.79, allocations: 2.375 kB / 3.615 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.218e-05/11.79, allocations: 57.45 kB / 3.615 GB, free: 37.5 MB / 490.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.1669/11.96, allocations: 44.01 MB / 3.658 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/11.96, allocations: 0.542 MB / 3.659 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/11.96, allocations: 310.8 kB / 3.659 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5682/12.53, allocations: 52.79 MB / 3.711 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/12.53, allocations: 40.66 kB / 3.711 GB, free: 36.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/12.53, allocations: 97.73 kB / 3.711 GB, free: 36.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 3.867e-06/12.53, allocations: 0 / 3.711 GB, free: 36.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.01309/12.54, allocations: 2.738 MB / 3.714 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/12.54, allocations: 115 kB / 3.714 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/12.55, allocations: 0.6591 MB / 3.714 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/12.55, allocations: 26.47 kB / 3.714 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/12.55, allocations: 0.6071 MB / 3.715 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/12.55, allocations: 255.1 kB / 3.715 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/12.55, allocations: 0 / 3.715 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001622/12.55, allocations: 400.3 kB / 3.716 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/12.55, allocations: 341.2 kB / 3.716 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/12.55, allocations: 0.9529 MB / 3.717 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/12.55, allocations: 0.6388 MB / 3.717 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/12.55, allocations: 7.562 kB / 3.717 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005483/12.56, allocations: 1.585 MB / 3.719 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/12.56, allocations: 16.47 kB / 3.719 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/12.56, allocations: 22.86 kB / 3.719 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/12.56, allocations: 449.8 kB / 3.719 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/12.56, allocations: 253.1 kB / 3.72 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/12.56, allocations: 1.773 MB / 3.721 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/12.57, allocations: 103.1 kB / 3.722 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/12.57, allocations: 89.61 kB / 3.722 GB, free: 32.72 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,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 (141): * Single equations (assignments): 139 * 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 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004262/12.57, allocations: 170.2 kB / 3.722 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003891/12.57, allocations: 0.947 MB / 3.723 GB, free: 32.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/12.57, allocations: 97.41 kB / 3.723 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/12.58, allocations: 4.025 MB / 3.727 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-05/12.58, allocations: 56.25 kB / 3.727 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/12.58, allocations: 0 / 3.727 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/12.58, allocations: 4.969 kB / 3.727 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009813/12.59, allocations: 5.513 MB / 3.732 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/12.59, allocations: 10.41 kB / 3.732 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/12.59, allocations: 127.7 kB / 3.732 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/12.59, allocations: 0.7306 MB / 3.733 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/12.59, allocations: 12.12 kB / 3.733 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/12.59, allocations: 1.888 MB / 3.735 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/12.59, allocations: 7.031 kB / 3.735 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/12.6, allocations: 3.623 MB / 3.738 GB, free: 30 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009089/12.6, allocations: 351.8 kB / 3.739 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/12.6, allocations: 3.953 kB / 3.739 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/12.6, allocations: 62.86 kB / 3.739 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/12.6, allocations: 66.98 kB / 3.739 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/12.6, allocations: 32.77 kB / 3.739 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008778/12.6, allocations: 472 kB / 3.739 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.6e-07/12.6, allocations: 2.781 kB / 3.739 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008119/12.61, allocations: 1.454 MB / 3.741 GB, free: 29.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($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,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.01986/12.63, allocations: 6.281 MB / 3.747 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003327/12.64, allocations: 1.425 MB / 3.748 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/12.64, allocations: 0 / 3.748 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/12.64, allocations: 1.069 MB / 3.749 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/12.64, allocations: 396.6 kB / 3.75 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/12.65, allocations: 3.362 MB / 3.753 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/12.65, allocations: 1.371 MB / 3.754 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002298/12.66, allocations: 0.6215 MB / 3.755 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/12.66, allocations: 0.5944 MB / 3.756 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.353e-06/12.66, allocations: 0 / 3.756 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/12.82, allocations: 62.13 MB / 3.816 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/12.82, allocations: 212.7 kB / 3.816 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.255/18.08, allocations: 0 / 3.816 GB, free: 22.98 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat