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 2.538/2.538, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.809e-05, allocations: 7.984 kB / 299.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4117, allocations: 54.87 MB / 354.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.695/9.107, allocations: 2.617 GB / 2.963 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/9.107, allocations: 85.53 kB / 2.963 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.618/12.72, allocations: 0.6461 GB / 3.609 GB, free: 38.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/12.72, allocations: 0 / 3.609 GB, free: 38.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001122/12.73, allocations: 26.92 kB / 3.609 GB, free: 38.83 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.01194/12.74, allocations: 2.383 MB / 3.611 GB, free: 37.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/12.74, allocations: 6.531 kB / 3.611 GB, free: 37.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008502/12.75, allocations: 0.5841 MB / 3.612 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/12.75, allocations: 0.8444 MB / 3.613 GB, free: 37.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/12.75, allocations: 174.2 kB / 3.613 GB, free: 36.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003569/12.75, allocations: 64.92 kB / 3.613 GB, free: 36.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003662/12.75, allocations: 1.152 MB / 3.614 GB, free: 36.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/12.76, allocations: 1.367 MB / 3.615 GB, free: 35.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/12.76, allocations: 7.219 kB / 3.615 GB, free: 35.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/12.76, allocations: 3.938 kB / 3.615 GB, free: 35.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.815e-05/12.76, allocations: 48.25 kB / 3.616 GB, free: 35.71 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.1907/12.95, allocations: 44.01 MB / 3.658 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/12.95, allocations: 0.5406 MB / 3.659 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/12.95, allocations: 306.4 kB / 3.659 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6105/13.56, allocations: 52.8 MB / 3.711 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/13.56, allocations: 41.47 kB / 3.711 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/13.56, allocations: 96.52 kB / 3.711 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 5.631e-06/13.56, allocations: 0 / 3.711 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.01618/13.58, allocations: 2.738 MB / 3.714 GB, free: 35.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/13.58, allocations: 113.5 kB / 3.714 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/13.58, allocations: 0.6624 MB / 3.714 GB, free: 35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/13.58, allocations: 25.7 kB / 3.714 GB, free: 34.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/13.58, allocations: 0.6107 MB / 3.715 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/13.58, allocations: 252.2 kB / 3.715 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/13.58, allocations: 0 / 3.715 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001732/13.58, allocations: 401.2 kB / 3.716 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/13.58, allocations: 340.4 kB / 3.716 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/13.58, allocations: 0.9512 MB / 3.717 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/13.59, allocations: 0.6406 MB / 3.718 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/13.59, allocations: 7.531 kB / 3.718 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006378/13.59, allocations: 1.584 MB / 3.719 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/13.59, allocations: 19.53 kB / 3.719 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/13.59, allocations: 21.55 kB / 3.719 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/13.6, allocations: 453.6 kB / 3.72 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/13.6, allocations: 259.2 kB / 3.72 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/13.6, allocations: 1.775 MB / 3.722 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/13.6, allocations: 102 kB / 3.722 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/13.6, allocations: 82.5 kB / 3.722 GB, free: 32.25 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.0004351/13.6, allocations: 168.3 kB / 3.722 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004499/13.61, allocations: 0.9444 MB / 3.723 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/13.61, allocations: 97.41 kB / 3.723 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008158/13.62, allocations: 4.028 MB / 3.727 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/13.62, allocations: 59.84 kB / 3.727 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/13.62, allocations: 0 / 3.727 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/13.62, allocations: 6.422 kB / 3.727 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/13.63, allocations: 5.505 MB / 3.732 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/13.63, allocations: 0 / 3.732 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/13.63, allocations: 130.9 kB / 3.732 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/13.63, allocations: 0.7293 MB / 3.733 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/13.63, allocations: 13.55 kB / 3.733 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/13.63, allocations: 1.896 MB / 3.735 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/13.63, allocations: 3.781 kB / 3.735 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/13.64, allocations: 3.63 MB / 3.739 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009463/13.64, allocations: 345.2 kB / 3.739 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/13.64, allocations: 9.453 kB / 3.739 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/13.64, allocations: 60.97 kB / 3.739 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/13.64, allocations: 72.55 kB / 3.739 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/13.64, allocations: 35.78 kB / 3.739 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009052/13.64, allocations: 468.3 kB / 3.739 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/13.64, allocations: 0 / 3.739 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00776/13.65, allocations: 1.451 MB / 3.741 GB, free: 29.12 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.02086/13.67, allocations: 6.285 MB / 3.747 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003435/13.68, allocations: 1.431 MB / 3.748 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/13.68, allocations: 0 / 3.748 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/13.68, allocations: 1.066 MB / 3.749 GB, free: 27.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/13.68, allocations: 391.5 kB / 3.75 GB, free: 27.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/13.69, allocations: 3.376 MB / 3.753 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/13.7, allocations: 1.366 MB / 3.754 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002478/13.7, allocations: 0.6202 MB / 3.755 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/13.7, allocations: 0.5919 MB / 3.756 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/13.7, allocations: 1.422 kB / 3.756 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/13.87, allocations: 62.14 MB / 3.816 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002947/13.87, allocations: 213.4 kB / 3.817 GB, free: 22.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.633/19.51, allocations: 3.406 kB / 3.817 GB, free: 22.27 MB / 0.4948 GB