Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.009/3.009, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.152e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4421, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.71, allocations: 2.617 GB / 2.963 GB, free: 128 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004818/10.71, allocations: 85.02 kB / 2.963 GB, free: 128 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459/15.17, allocations: 0.647 GB / 3.61 GB, free: 34.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/15.17, allocations: 0 / 3.61 GB, free: 34.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001165/15.17, allocations: 30.78 kB / 3.61 GB, free: 34.04 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.0124/15.18, allocations: 2.389 MB / 3.612 GB, free: 32.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.399e-05/15.18, allocations: 14.75 kB / 3.612 GB, free: 32.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005517/15.18, allocations: 117 kB / 3.612 GB, free: 32.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/15.19, allocations: 0.5771 MB / 3.613 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/15.2, allocations: 0.8318 MB / 3.614 GB, free: 32.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/15.2, allocations: 183.6 kB / 3.614 GB, free: 31.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/15.2, allocations: 57.22 kB / 3.614 GB, free: 31.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003705/15.2, allocations: 1.162 MB / 3.615 GB, free: 31.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/15.2, allocations: 1.364 MB / 3.616 GB, free: 30.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/15.2, allocations: 9.844 kB / 3.616 GB, free: 30.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/15.2, allocations: 3.906 kB / 3.616 GB, free: 30.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.053e-05/15.2, allocations: 42.44 kB / 3.616 GB, free: 30.67 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.2169/15.42, allocations: 44.01 MB / 3.659 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/15.42, allocations: 0.55 MB / 3.66 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/15.42, allocations: 303.6 kB / 3.66 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7227/16.15, allocations: 52.8 MB / 3.712 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/16.15, allocations: 44.34 kB / 3.712 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001275/16.15, allocations: 96.22 kB / 3.712 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 5.18e-06/16.15, allocations: 2.25 kB / 3.712 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.01775/16.17, allocations: 2.735 MB / 3.715 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/16.17, allocations: 112.4 kB / 3.715 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/16.17, allocations: 0.6628 MB / 3.715 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/16.17, allocations: 33.61 kB / 3.715 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/16.17, allocations: 0.6032 MB / 3.716 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/16.17, allocations: 255.6 kB / 3.716 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/16.17, allocations: 0 / 3.716 GB, free: 22.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000192/16.17, allocations: 403.9 kB / 3.717 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/16.17, allocations: 343.3 kB / 3.717 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/16.17, allocations: 0.955 MB / 3.718 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/16.18, allocations: 0.6389 MB / 3.719 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/16.18, allocations: 6 kB / 3.719 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007641/16.18, allocations: 1.577 MB / 3.72 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/16.18, allocations: 11.66 kB / 3.72 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/16.18, allocations: 24.75 kB / 3.72 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/16.19, allocations: 446.5 kB / 3.721 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/16.19, allocations: 263.7 kB / 3.721 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/16.19, allocations: 1.772 MB / 3.723 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/16.2, allocations: 101.9 kB / 3.723 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/16.2, allocations: 81.39 kB / 3.723 GB, free: 20.3 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.0005074/16.2, allocations: 180.2 kB / 3.723 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/16.2, allocations: 95.38 kB / 3.723 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009173/16.21, allocations: 4.032 MB / 3.727 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/16.21, allocations: 58.56 kB / 3.727 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/16.21, allocations: 3.891 kB / 3.727 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/16.21, allocations: 6.297 kB / 3.727 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/16.22, allocations: 5.502 MB / 3.732 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/16.22, allocations: 3.312 kB / 3.732 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/16.22, allocations: 128.8 kB / 3.732 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/16.22, allocations: 0.7355 MB / 3.733 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/16.22, allocations: 13.23 kB / 3.733 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/16.23, allocations: 1.89 MB / 3.735 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/16.23, allocations: 2.562 kB / 3.735 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008526/16.23, allocations: 3.632 MB / 3.739 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/16.24, allocations: 340.3 kB / 3.739 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/16.24, allocations: 6.562 kB / 3.739 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/16.24, allocations: 65.16 kB / 3.739 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/16.24, allocations: 66.34 kB / 3.739 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/16.24, allocations: 31.91 kB / 3.739 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001143/16.24, allocations: 469 kB / 3.74 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.824e-06/16.24, allocations: 0 / 3.74 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008461/16.25, allocations: 1.455 MB / 3.741 GB, free: 17.25 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.0233/16.27, allocations: 6.281 MB / 3.747 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004099/16.27, allocations: 1.433 MB / 3.748 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/16.28, allocations: 3.75 kB / 3.748 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/16.28, allocations: 1.063 MB / 3.75 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00533/16.28, allocations: 394.2 kB / 3.75 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/16.3, allocations: 3.378 MB / 3.753 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/16.3, allocations: 1.369 MB / 3.755 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003112/16.3, allocations: 0.6061 MB / 3.755 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/16.3, allocations: 0.5943 MB / 3.756 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.685e-06/16.3, allocations: 4 kB / 3.756 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2187/16.52, allocations: 63.31 MB / 3.818 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00045/16.52, allocations: 217.3 kB / 3.818 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.237/23.76, allocations: 4 kB / 3.818 GB, free: 17.38 MB / 0.5105 GB