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.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.541e-05, allocations: 7.375 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.818/7.935, allocations: 2.486 GB / 2.8 GB, free: 78.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/7.935, allocations: 84.52 kB / 2.8 GB, free: 78.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846/10.78, allocations: 0.5364 GB / 3.337 GB, free: 32.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.594e-06/10.78, allocations: 0 / 3.337 GB, free: 32.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.323e-05/10.78, allocations: 25.11 kB / 3.337 GB, free: 32.29 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.009891/10.79, allocations: 1.994 MB / 3.339 GB, free: 31.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/10.79, allocations: 6.969 kB / 3.339 GB, free: 31.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/10.79, allocations: 138.3 kB / 3.339 GB, free: 31.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/10.8, allocations: 315.3 kB / 3.339 GB, free: 31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/10.8, allocations: 0.7037 MB / 3.34 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/10.8, allocations: 301.1 kB / 3.34 GB, free: 30.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/10.8, allocations: 77.56 kB / 3.34 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/10.8, allocations: 1.47 MB / 3.342 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/10.8, allocations: 4 kB / 3.342 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/10.8, allocations: 35.16 kB / 3.342 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/10.8, allocations: 44.58 kB / 3.342 GB, free: 29.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/10.81, allocations: 1.25 MB / 3.343 GB, free: 28.09 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.01244/10.82, allocations: 6.368 MB / 3.349 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/10.82, allocations: 0.8876 MB / 3.35 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/10.82, allocations: 372.5 kB / 3.35 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05639/10.88, allocations: 18.61 MB / 3.369 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/10.88, allocations: 43.06 kB / 3.369 GB, free: 1.188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 2.936e-06/10.88, allocations: 0 / 3.369 GB, free: 1.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.01035/10.89, allocations: 2.472 MB / 3.371 GB, free: 14.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/10.89, allocations: 162.7 kB / 3.371 GB, free: 14.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/10.89, allocations: 0.7028 MB / 3.372 GB, free: 13.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/10.89, allocations: 45.7 kB / 3.372 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/10.89, allocations: 454 kB / 3.372 GB, free: 13.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/10.89, allocations: 217.9 kB / 3.372 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/10.89, allocations: 16 kB / 3.373 GB, free: 13.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002704/10.89, allocations: 398.7 kB / 3.373 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/10.9, allocations: 385.8 kB / 3.373 GB, free: 12.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/10.9, allocations: 0.6397 MB / 3.374 GB, free: 11.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/10.9, allocations: 425.8 kB / 3.374 GB, free: 11.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/10.9, allocations: 7.938 kB / 3.374 GB, free: 11.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00348/10.9, allocations: 1.136 MB / 3.375 GB, free: 9.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/10.9, allocations: 8 kB / 3.375 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/10.9, allocations: 8.781 kB / 3.375 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/10.9, allocations: 96.8 kB / 3.376 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/10.91, allocations: 427.2 kB / 3.376 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/10.92, allocations: 6.399 MB / 3.382 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/10.92, allocations: 143.9 kB / 3.382 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/10.92, allocations: 47.92 kB / 3.382 GB, free: 2.262 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.0004072/10.92, allocations: 179 kB / 3.383 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/10.92, allocations: 86.97 kB / 3.383 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3669/11.29, allocations: 2.062 MB / 3.385 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/11.29, allocations: 22.41 kB / 3.385 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/11.29, allocations: 0.8125 kB / 3.385 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/11.29, allocations: 7.719 kB / 3.385 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008484/11.3, allocations: 3.301 MB / 3.388 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/11.3, allocations: 1.594 kB / 3.388 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007216/11.31, allocations: 368.5 kB / 3.388 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/11.31, allocations: 105.4 kB / 3.388 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/11.31, allocations: 19.05 kB / 3.388 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008222/11.31, allocations: 6.381 MB / 3.395 GB, free: 46.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/11.31, allocations: 4.781 kB / 3.395 GB, free: 46.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/11.32, allocations: 2.034 MB / 3.397 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007887/11.32, allocations: 318.6 kB / 3.397 GB, free: 46.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/11.32, allocations: 25.84 kB / 3.397 GB, free: 46.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/11.32, allocations: 117.7 kB / 3.397 GB, free: 46.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/11.32, allocations: 128.1 kB / 3.397 GB, free: 46.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/11.32, allocations: 28.81 kB / 3.397 GB, free: 46.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001563/11.32, allocations: 0.7674 MB / 3.398 GB, free: 46.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/11.32, allocations: 0 / 3.398 GB, free: 46.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007194/11.33, allocations: 1.283 MB / 3.399 GB, free: 46.05 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.01675/11.35, allocations: 4.732 MB / 3.404 GB, free: 44.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007915/11.36, allocations: 1.178 MB / 3.405 GB, free: 44.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/11.36, allocations: 5.25 kB / 3.405 GB, free: 44.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006861/11.36, allocations: 0.8438 MB / 3.406 GB, free: 44.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/11.37, allocations: 0.511 MB / 3.406 GB, free: 44.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/11.38, allocations: 2.52 MB / 3.409 GB, free: 44.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/11.38, allocations: 1.234 MB / 3.41 GB, free: 43.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002404/11.38, allocations: 0.4888 MB / 3.41 GB, free: 43.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/11.38, allocations: 473.7 kB / 3.411 GB, free: 43.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/11.38, allocations: 0 / 3.411 GB, free: 43.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2049/11.59, allocations: 68.2 MB / 3.477 GB, free: 40.46 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/11.59, allocations: 238.1 kB / 3.478 GB, free: 40.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.263/16.85, allocations: 0 / 3.478 GB, free: 40.16 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