Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.21e-05, allocations: 0 / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.867/7.977, allocations: 2.486 GB / 2.8 GB, free: 80.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/7.977, allocations: 77.7 kB / 2.8 GB, free: 80.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.811/10.79, allocations: 0.5364 GB / 3.337 GB, free: 32.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.617e-06/10.79, allocations: 0 / 3.337 GB, free: 32.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.367e-05/10.79, allocations: 26.52 kB / 3.337 GB, free: 32.95 MB / 442.7 MB 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.009517/10.8, allocations: 2 MB / 3.339 GB, free: 31.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/10.8, allocations: 11.06 kB / 3.339 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004249/10.8, allocations: 141.8 kB / 3.339 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/10.8, allocations: 307.1 kB / 3.339 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/10.8, allocations: 0.6994 MB / 3.34 GB, free: 31.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/10.8, allocations: 309.2 kB / 3.34 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/10.8, allocations: 78.73 kB / 3.34 GB, free: 30.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/10.81, allocations: 1.476 MB / 3.342 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/10.81, allocations: 3.719 kB / 3.342 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/10.81, allocations: 39.19 kB / 3.342 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/10.81, allocations: 41.58 kB / 3.342 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004094/10.81, allocations: 1.274 MB / 3.343 GB, free: 29.29 MB / 442.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.01222/10.83, allocations: 6.371 MB / 3.349 GB, free: 23.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/10.83, allocations: 0.8845 MB / 3.35 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008761/10.83, allocations: 369.7 kB / 3.35 GB, free: 22.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05468/10.88, allocations: 18.61 MB / 3.369 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/10.88, allocations: 43.12 kB / 3.369 GB, free: 2.805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 2.946e-06/10.89, allocations: 0 / 3.369 GB, free: 2.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.00958/10.89, allocations: 2.468 MB / 3.371 GB, free: 288 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/10.89, allocations: 158.8 kB / 3.371 GB, free: 92 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/10.9, allocations: 0.7027 MB / 3.372 GB, free: 15.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/10.9, allocations: 45.7 kB / 3.372 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/10.9, allocations: 464.1 kB / 3.372 GB, free: 14.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/10.9, allocations: 213.7 kB / 3.372 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/10.9, allocations: 16 kB / 3.373 GB, free: 14.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/10.9, allocations: 398.7 kB / 3.373 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/10.9, allocations: 385.8 kB / 3.373 GB, free: 13.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/10.9, allocations: 0.6494 MB / 3.374 GB, free: 13.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/10.9, allocations: 421.8 kB / 3.374 GB, free: 12.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/10.9, allocations: 0 / 3.374 GB, free: 12.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003505/10.9, allocations: 1.163 MB / 3.375 GB, free: 11.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/10.9, allocations: 8 kB / 3.375 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/10.91, allocations: 8 kB / 3.375 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/10.91, allocations: 93.39 kB / 3.376 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007461/10.91, allocations: 429.2 kB / 3.376 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009725/10.92, allocations: 6.408 MB / 3.382 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/10.93, allocations: 147.8 kB / 3.382 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/10.93, allocations: 43.98 kB / 3.382 GB, free: 3.848 MB / 458.7 MB 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.0004045/10.93, allocations: 178.9 kB / 3.383 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/10.93, allocations: 90.97 kB / 3.383 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/10.93, allocations: 2.082 MB / 3.385 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/10.93, allocations: 19.98 kB / 3.385 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/10.93, allocations: 3.984 kB / 3.385 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/10.93, allocations: 0 / 3.385 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3564/11.29, allocations: 3.296 MB / 3.388 GB, free: 52.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/11.29, allocations: 3.844 kB / 3.388 GB, free: 52.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007132/11.29, allocations: 372.2 kB / 3.388 GB, free: 52.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/11.29, allocations: 103.2 kB / 3.388 GB, free: 52.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/11.3, allocations: 18.38 kB / 3.388 GB, free: 52.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008188/11.3, allocations: 6.388 MB / 3.395 GB, free: 47.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/11.3, allocations: 1.094 kB / 3.395 GB, free: 47.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/11.31, allocations: 2.037 MB / 3.397 GB, free: 46.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/11.31, allocations: 318.5 kB / 3.397 GB, free: 46.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/11.31, allocations: 27.14 kB / 3.397 GB, free: 46.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/11.31, allocations: 118 kB / 3.397 GB, free: 46.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/11.31, allocations: 123.1 kB / 3.397 GB, free: 46.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/11.31, allocations: 29.78 kB / 3.397 GB, free: 46.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001741/11.31, allocations: 0.7686 MB / 3.398 GB, free: 46.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.693e-06/11.31, allocations: 0 / 3.398 GB, free: 46.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007311/11.32, allocations: 1.289 MB / 3.399 GB, free: 46.61 MB / 458.7 MB 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.0172/11.34, allocations: 4.711 MB / 3.404 GB, free: 45.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00802/11.35, allocations: 1.194 MB / 3.405 GB, free: 45.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/11.35, allocations: 0 / 3.405 GB, free: 45.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006779/11.35, allocations: 0.8493 MB / 3.406 GB, free: 45.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/11.36, allocations: 0.5004 MB / 3.406 GB, free: 45.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/11.37, allocations: 2.536 MB / 3.409 GB, free: 44.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/11.37, allocations: 1.236 MB / 3.41 GB, free: 44.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002358/11.37, allocations: 0.4951 MB / 3.41 GB, free: 44.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/11.37, allocations: 472.1 kB / 3.411 GB, free: 44.06 MB / 458.7 MB Notification: Performance of SimCode: time 2.014e-06/11.37, allocations: 0 / 3.411 GB, free: 44.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/11.57, allocations: 68.19 MB / 3.478 GB, free: 41.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/11.57, allocations: 232.2 kB / 3.478 GB, free: 40.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/16.88, allocations: 0 / 3.478 GB, free: 40.94 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat