Notification: Performance of loadModel(Modelica): time 1.071/1.071, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.857e-05, allocations: 4 kB / 145.9 MB, free: 4.043 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 25.15 MB / 171.1 MB, free: 1.879 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.081/3.208, allocations: 1.427 GB / 1.594 GB, free: 31.98 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/3.208, allocations: 75.73 kB / 1.594 GB, free: 31.95 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.741/5.949, allocations: 0.5403 GB / 2.134 GB, free: 9.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000159/5.95, allocations: 38.56 kB / 2.134 GB, free: 9.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01285/5.963, allocations: 2.526 MB / 2.137 GB, free: 8.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/5.963, allocations: 7.875 kB / 2.137 GB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/5.964, allocations: 161.1 kB / 2.137 GB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/5.966, allocations: 0.9543 MB / 2.138 GB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/5.967, allocations: 230.5 kB / 2.138 GB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/5.967, allocations: 67.91 kB / 2.138 GB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003945/5.971, allocations: 1.758 MB / 2.14 GB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/5.975, allocations: 1.785 MB / 2.142 GB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/5.975, allocations: 3.906 kB / 2.142 GB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/5.976, allocations: 4.094 kB / 2.142 GB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/5.976, allocations: 102.2 kB / 2.142 GB, free: 7.367 MB / 266.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.01942/5.995, allocations: 8.42 MB / 2.15 GB, free: 19.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/5.999, allocations: 1.398 MB / 2.151 GB, free: 19.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/6.001, allocations: 0.8857 MB / 2.152 GB, free: 19.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1312/6.132, allocations: 36.41 MB / 2.188 GB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/6.132, allocations: 46.69 kB / 2.188 GB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=114): time 5.43e-06/6.132, allocations: 0 / 2.188 GB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.0425/6.175, allocations: 7.485 MB / 2.195 GB, free: 10.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/6.175, allocations: 141.2 kB / 2.195 GB, free: 10.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/6.176, allocations: 0.6015 MB / 2.196 GB, free: 10.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004349/6.177, allocations: 30.95 kB / 2.196 GB, free: 10.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/6.177, allocations: 0.534 MB / 2.196 GB, free: 10.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006981/6.178, allocations: 419.6 kB / 2.197 GB, free: 9.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/6.178, allocations: 0 / 2.197 GB, free: 9.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/6.178, allocations: 357.8 kB / 2.197 GB, free: 9.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/6.18, allocations: 0.8196 MB / 2.198 GB, free: 9.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/6.182, allocations: 1.043 MB / 2.199 GB, free: 9.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/6.192, allocations: 1.658 MB / 2.201 GB, free: 9.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/6.193, allocations: 0 / 2.201 GB, free: 9.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01567/6.208, allocations: 3.378 MB / 2.204 GB, free: 9.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/6.208, allocations: 6.688 kB / 2.204 GB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/6.208, allocations: 5.312 kB / 2.204 GB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005041/6.213, allocations: 1.24 MB / 2.205 GB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/6.216, allocations: 204.1 kB / 2.205 GB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/6.233, allocations: 6.383 MB / 2.211 GB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/6.237, allocations: 124.1 kB / 2.212 GB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/6.237, allocations: 70.27 kB / 2.212 GB, free: 5.434 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.lowerTank.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.upperTank.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "density" type: Real [1] $DER.upperTank.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: 25 * Number of states: 0 () * Number of discrete variables: 9 (overflow.flowModel.states[2].phase,overflow.flowModel.states[1].phase,pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 110 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {2 4,3 3,2 4,4 13,4 13,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007023/6.238, allocations: 142.8 kB / 2.212 GB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01453/6.253, allocations: 3.101 MB / 2.215 GB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/6.253, allocations: 113 kB / 2.215 GB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/6.273, allocations: 5.338 MB / 2.22 GB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/6.273, allocations: 36.58 kB / 2.22 GB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/6.273, allocations: 6.719 kB / 2.22 GB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/6.273, allocations: 9.75 kB / 2.22 GB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/6.299, allocations: 7.388 MB / 2.227 GB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/6.3, allocations: 0 / 2.227 GB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/6.301, allocations: 162.3 kB / 2.228 GB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007961/6.309, allocations: 2.697 MB / 2.23 GB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004735/6.31, allocations: 24.05 kB / 2.23 GB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1692/6.479, allocations: 7.176 MB / 2.237 GB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/6.479, allocations: 3.25 kB / 2.237 GB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/6.502, allocations: 7.093 MB / 2.244 GB, free: 37.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/6.503, allocations: 237.6 kB / 2.244 GB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008882/6.504, allocations: 0 / 2.244 GB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/6.507, allocations: 126.4 kB / 2.245 GB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/6.507, allocations: 169.1 kB / 2.245 GB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005146/6.508, allocations: 54.91 kB / 2.245 GB, free: 37.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001073/6.509, allocations: 468.4 kB / 2.245 GB, free: 37.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.41e-07/6.509, allocations: 0 / 2.245 GB, free: 37.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.009216/6.518, allocations: 1.804 MB / 2.247 GB, free: 37.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.medium.h,upperTank.level,lowerTank.medium.h,lowerTank.level) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse8.phase,$cse9.phase,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse21.phase,$cse21.region,$cse24.phase,$cse25.phase,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 4,3 6,2 4,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.03704/6.556, allocations: 9.146 MB / 2.256 GB, free: 36.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/6.566, allocations: 2.559 MB / 2.258 GB, free: 36.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/6.566, allocations: 0 / 2.258 GB, free: 36.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009821/6.576, allocations: 1.717 MB / 2.26 GB, free: 36.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008117/6.584, allocations: 0.5522 MB / 2.261 GB, free: 36.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/6.607, allocations: 4.241 MB / 2.265 GB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/6.609, allocations: 1.422 MB / 2.266 GB, free: 34.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002128/6.611, allocations: 325.3 kB / 2.266 GB, free: 34.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/6.612, allocations: 0.5973 MB / 2.267 GB, free: 34.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/6.612, allocations: 0 / 2.267 GB, free: 34.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.386/6.998, allocations: 78.15 MB / 2.343 GB, free: 35.2 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00496/7.003, allocations: 167.5 kB / 2.343 GB, free: 35.01 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.626/13.63, allocations: 7.828 kB / 2.344 GB, free: 35.01 MB / 298.7 MB