Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.696e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.437, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.168/8.605, allocations: 2.597 GB / 2.948 GB, free: 111 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/8.605, allocations: 87.55 kB / 2.948 GB, free: 111 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.647/11.25, allocations: 0.5503 GB / 3.498 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/11.25, allocations: 0 / 3.498 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.748e-05/11.25, allocations: 24 kB / 3.498 GB, free: 6.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.0105/11.26, allocations: 2.046 MB / 3.5 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/11.26, allocations: 8.031 kB / 3.5 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006058/11.26, allocations: 139.2 kB / 3.501 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003988/11.27, allocations: 320.6 kB / 3.501 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/11.27, allocations: 0.6932 MB / 3.502 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/11.27, allocations: 310.3 kB / 3.502 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/11.27, allocations: 84 kB / 3.502 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/11.28, allocations: 1.465 MB / 3.503 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/11.28, allocations: 3.938 kB / 3.503 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/11.28, allocations: 40 kB / 3.503 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.213e-05/11.28, allocations: 37.98 kB / 3.503 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4131/11.69, allocations: 1.263 MB / 3.505 GB, free: 51.84 MB / 0.4948 GB 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.01555/11.71, allocations: 6.366 MB / 3.511 GB, free: 47.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/11.71, allocations: 0.8827 MB / 3.512 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/11.71, allocations: 380.1 kB / 3.512 GB, free: 47.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06213/11.77, allocations: 18.69 MB / 3.53 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/11.77, allocations: 38.91 kB / 3.53 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=59): time 2.936e-06/11.77, allocations: 0 / 3.53 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.0107/11.78, allocations: 2.47 MB / 3.533 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/11.78, allocations: 166.6 kB / 3.533 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/11.79, allocations: 0.7052 MB / 3.534 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00037/11.79, allocations: 44.48 kB / 3.534 GB, free: 35.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/11.79, allocations: 453.6 kB / 3.534 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/11.79, allocations: 223.8 kB / 3.534 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/11.79, allocations: 18.34 kB / 3.534 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002219/11.79, allocations: 395.4 kB / 3.535 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/11.79, allocations: 382.8 kB / 3.535 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/11.79, allocations: 0.6553 MB / 3.536 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/11.79, allocations: 425.9 kB / 3.536 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/11.79, allocations: 2.688 kB / 3.536 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003602/11.8, allocations: 1.15 MB / 3.537 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/11.8, allocations: 10.34 kB / 3.537 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/11.8, allocations: 7.812 kB / 3.537 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/11.8, allocations: 94.67 kB / 3.537 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007417/11.8, allocations: 425.1 kB / 3.538 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/11.81, allocations: 6.41 MB / 3.544 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/11.81, allocations: 140.7 kB / 3.544 GB, free: 28.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/11.81, allocations: 46.14 kB / 3.544 GB, free: 28.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/11.81, allocations: 182.1 kB / 3.544 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/11.81, allocations: 90.17 kB / 3.544 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/11.82, allocations: 2.082 MB / 3.546 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/11.82, allocations: 20.19 kB / 3.547 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/11.82, allocations: 0 / 3.547 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/11.82, allocations: 4.719 kB / 3.547 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/11.83, allocations: 3.308 MB / 3.55 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/11.83, allocations: 3.062 kB / 3.55 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006985/11.83, allocations: 366 kB / 3.55 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005672/11.83, allocations: 101.2 kB / 3.55 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/11.83, allocations: 24.62 kB / 3.55 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/11.84, allocations: 6.393 MB / 3.556 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/11.84, allocations: 3.688 kB / 3.556 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/11.85, allocations: 2.04 MB / 3.558 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/11.85, allocations: 310.8 kB / 3.559 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/11.85, allocations: 29.12 kB / 3.559 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/11.85, allocations: 115.8 kB / 3.559 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004477/11.85, allocations: 130.9 kB / 3.559 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/11.85, allocations: 28.12 kB / 3.559 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001455/11.85, allocations: 0.7626 MB / 3.56 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/11.85, allocations: 6.938 kB / 3.56 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007118/11.86, allocations: 1.294 MB / 3.561 GB, free: 21.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0161/11.87, allocations: 4.708 MB / 3.566 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007533/11.88, allocations: 1.194 MB / 3.567 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/11.88, allocations: 0 / 3.567 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006293/11.89, allocations: 0.8538 MB / 3.568 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/11.89, allocations: 0.515 MB / 3.568 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/11.9, allocations: 2.537 MB / 3.571 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/11.9, allocations: 1.235 MB / 3.572 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001988/11.91, allocations: 0.4891 MB / 3.572 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/11.91, allocations: 471.4 kB / 3.573 GB, free: 18.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/11.91, allocations: 0 / 3.573 GB, free: 18.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1607/12.07, allocations: 68.37 MB / 3.64 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/12.07, allocations: 244.1 kB / 3.64 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.566/17.63, allocations: 2.25 kB / 3.64 GB, free: 14.67 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat