Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.95/1.95, allocations: 195.5 MB / 202.7 MB, free: 6.328 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.501e-05, allocations: 1.375 kB / 249.7 MB, free: 5.07 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 44.65 MB / 294.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5139, allocations: 69.51 MB / 363.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5142, allocations: 64.22 kB / 364 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004205/0.5184, allocations: 0.9967 MB / 365 MB, free: 26.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5184, allocations: 0 / 365 MB, free: 26.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.5185, allocations: 4 kB / 365 MB, free: 26.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003957/0.5189, allocations: 356.3 kB / 365.3 MB, free: 26.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5189, allocations: 11.62 kB / 365.3 MB, free: 26.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.519, allocations: 6.219 kB / 365.3 MB, free: 26.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5191, allocations: 171.2 kB / 365.5 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5191, allocations: 3.844 kB / 365.5 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.5192, allocations: 7.281 kB / 365.5 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001141/0.5193, allocations: 40.91 kB / 365.5 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.5194, allocations: 59.56 kB / 365.6 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5194, allocations: 0 / 365.6 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5195, allocations: 0 / 365.6 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5195, allocations: 0 / 365.6 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.52, allocations: 277.3 kB / 365.9 MB, free: 25.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5203, allocations: 97.58 kB / 366 MB, free: 25.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.5204, allocations: 30.98 kB / 366 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5204, allocations: 3.75 kB / 366 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.5205, allocations: 40.08 kB / 366 MB, free: 25.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.584e-06/0.5205, allocations: 0 / 366 MB, free: 25.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003701/0.5242, allocations: 0.6984 MB / 366.7 MB, free: 25.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.5242, allocations: 55.28 kB / 366.8 MB, free: 25.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.5243, allocations: 98.62 kB / 366.9 MB, free: 25.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5243, allocations: 25.7 kB / 366.9 MB, free: 25.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.5244, allocations: 91.55 kB / 367 MB, free: 25.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.5244, allocations: 56.45 kB / 367.1 MB, free: 25.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5244, allocations: 0 / 367.1 MB, free: 25.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.5245, allocations: 330.5 kB / 367.4 MB, free: 24.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.5246, allocations: 33.06 kB / 367.4 MB, free: 24.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.5247, allocations: 52.44 kB / 367.5 MB, free: 24.89 MB / 314.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.5287, allocations: 367.3 kB / 367.8 MB, free: 24.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5287, allocations: 1.375 kB / 367.8 MB, free: 24.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002335/0.5311, allocations: 311.5 kB / 368.1 MB, free: 24.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5311, allocations: 4.688 kB / 368.1 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5311, allocations: 5.375 kB / 368.1 MB, free: 24.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.535, allocations: 267.1 kB / 368.4 MB, free: 24.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.5352, allocations: 20.88 kB / 368.4 MB, free: 24.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/0.5424, allocations: 1.837 MB / 370.3 MB, free: 23.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.5427, allocations: 224 / 370.3 MB, free: 23.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.5428, allocations: 11.75 kB / 370.3 MB, free: 23.46 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.M2 = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.543, allocations: 113.6 kB / 370.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002/0.5451, allocations: 241.4 kB / 370.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.5452, allocations: 3.75 kB / 370.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.5452, allocations: 17.23 kB / 370.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5453, allocations: 0 / 370.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5453, allocations: 3.781 kB / 370.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5453, allocations: 0 / 370.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.5456, allocations: 187.2 kB / 370.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5456, allocations: 0 / 370.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5457, allocations: 9.547 kB / 370.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/0.5488, allocations: 271.1 kB / 371.1 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.5489, allocations: 5.875 kB / 371.1 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.5526, allocations: 1.68 MB / 372.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-06/0.5527, allocations: 4 kB / 372.8 MB, free: 21.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.5548, allocations: 387.9 kB / 373.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.5549, allocations: 84.02 kB / 373.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.5549, allocations: 1.562 kB / 373.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.5552, allocations: 0 / 373.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.5553, allocations: 16.17 kB / 373.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.5553, allocations: 11.3 kB / 373.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.5554, allocations: 84.31 kB / 373.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5554, allocations: 0 / 373.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007643/0.5562, allocations: 27.94 kB / 373.4 MB, free: 21.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/0.5587, allocations: 0.9249 MB / 374.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.5602, allocations: 305.6 kB / 374.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5602, allocations: 0 / 374.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.5608, allocations: 204.2 kB / 374.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.5611, allocations: 0 / 374.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.5619, allocations: 213.8 kB / 375 MB, free: 20.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.5623, allocations: 0.7191 MB / 375.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.5624, allocations: 7.609 kB / 375.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.5625, allocations: 21.41 kB / 375.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.123e-06/0.5625, allocations: 0 / 375.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08826/0.6508, allocations: 2.681 MB / 378.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003985/0.6513, allocations: 233.8 kB / 378.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.031, allocations: 0 / 378.7 MB, free: 19.19 MB / 314.7 MB