Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.774e-05, allocations: 8 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.982/8.094, allocations: 2.507 GB / 2.821 GB, free: 56.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/8.094, allocations: 87.58 kB / 2.821 GB, free: 56.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.532/11.63, allocations: 0.6353 GB / 3.456 GB, free: 31.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/11.63, allocations: 0 / 3.456 GB, free: 31.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001071/11.63, allocations: 25.34 kB / 3.456 GB, free: 31.04 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01052/11.64, allocations: 2.313 MB / 3.459 GB, free: 29.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/11.64, allocations: 10.5 kB / 3.459 GB, free: 29.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005085/11.64, allocations: 159.5 kB / 3.459 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007177/11.64, allocations: 0.5378 MB / 3.459 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/11.65, allocations: 0.8395 MB / 3.46 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/11.65, allocations: 221.3 kB / 3.46 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/11.65, allocations: 98 kB / 3.46 GB, free: 29.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006101/11.65, allocations: 1.839 MB / 3.462 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/11.65, allocations: 7.156 kB / 3.462 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/11.65, allocations: 49.5 kB / 3.462 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-05/11.65, allocations: 51.64 kB / 3.462 GB, free: 28.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005801/11.66, allocations: 1.593 MB / 3.464 GB, free: 28.95 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.01453/11.67, allocations: 8.442 MB / 3.472 GB, free: 23.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/11.68, allocations: 0.9293 MB / 3.473 GB, free: 23.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/11.68, allocations: 349.2 kB / 3.473 GB, free: 23.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1839/11.86, allocations: 57.46 MB / 3.529 GB, free: 18.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/11.86, allocations: 48.75 kB / 3.53 GB, free: 18.34 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/11.86, allocations: 111.2 kB / 3.53 GB, free: 18.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.138e-06/11.86, allocations: 0 / 3.53 GB, free: 18.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01207/11.88, allocations: 2.919 MB / 3.532 GB, free: 16.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/11.88, allocations: 115.6 kB / 3.533 GB, free: 16.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/11.88, allocations: 0.6938 MB / 3.533 GB, free: 15.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/11.88, allocations: 38.33 kB / 3.533 GB, free: 15.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/11.88, allocations: 0.5854 MB / 3.534 GB, free: 15.26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/11.88, allocations: 280.3 kB / 3.534 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/11.88, allocations: 32 kB / 3.534 GB, free: 14.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/11.88, allocations: 395.7 kB / 3.535 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/11.88, allocations: 374.4 kB / 3.535 GB, free: 14.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/11.88, allocations: 0.9929 MB / 3.536 GB, free: 13.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/11.88, allocations: 0.534 MB / 3.536 GB, free: 12.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/11.88, allocations: 8 kB / 3.536 GB, free: 12.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004048/11.89, allocations: 1.61 MB / 3.538 GB, free: 11.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/11.89, allocations: 16 kB / 3.538 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/11.89, allocations: 20.09 kB / 3.538 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/11.89, allocations: 0.5476 MB / 3.539 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/11.89, allocations: 253.4 kB / 3.539 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/11.89, allocations: 1.716 MB / 3.54 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/11.9, allocations: 124.2 kB / 3.541 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/11.9, allocations: 81.86 kB / 3.541 GB, free: 8.523 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004513/11.9, allocations: 214.6 kB / 3.541 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/11.9, allocations: 94.88 kB / 3.541 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007561/11.91, allocations: 4.514 MB / 3.545 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/11.91, allocations: 58.73 kB / 3.545 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/11.91, allocations: 4 kB / 3.545 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/11.91, allocations: 6.984 kB / 3.545 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4326/12.34, allocations: 6.201 MB / 3.551 GB, free: 61.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/12.34, allocations: 0 / 3.551 GB, free: 61.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/12.34, allocations: 148 kB / 3.552 GB, free: 61.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/12.34, allocations: 0.7783 MB / 3.552 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/12.34, allocations: 24.42 kB / 3.552 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/12.35, allocations: 1.781 MB / 3.554 GB, free: 60.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/12.35, allocations: 2.062 kB / 3.554 GB, free: 60.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008184/12.35, allocations: 3.743 MB / 3.558 GB, free: 60.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/12.36, allocations: 406 kB / 3.558 GB, free: 60.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/12.36, allocations: 20.75 kB / 3.558 GB, free: 60.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/12.36, allocations: 79.52 kB / 3.558 GB, free: 60.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/12.36, allocations: 70.31 kB / 3.558 GB, free: 60.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/12.36, allocations: 36.3 kB / 3.558 GB, free: 60.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001294/12.36, allocations: 0.5485 MB / 3.559 GB, free: 59.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.02e-07/12.36, allocations: 0 / 3.559 GB, free: 59.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008934/12.37, allocations: 1.518 MB / 3.56 GB, free: 59.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02276/12.39, allocations: 6.093 MB / 3.566 GB, free: 58.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004429/12.4, allocations: 1.549 MB / 3.568 GB, free: 58.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/12.4, allocations: 1.641 kB / 3.568 GB, free: 58.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/12.4, allocations: 1.146 MB / 3.569 GB, free: 58.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/12.41, allocations: 428.5 kB / 3.569 GB, free: 58.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4456/12.85, allocations: 140.3 MB / 3.706 GB, free: 20.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/12.85, allocations: 1.421 MB / 3.708 GB, free: 19.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0022/12.85, allocations: 0.5566 MB / 3.708 GB, free: 18.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/12.86, allocations: 0.6503 MB / 3.709 GB, free: 18.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/12.86, allocations: 0 / 3.709 GB, free: 18.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5707/13.43, allocations: 74.75 MB / 3.782 GB, free: 51.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/13.43, allocations: 247.6 kB / 3.782 GB, free: 50.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.655/19.08, allocations: 0 / 3.782 GB, free: 50.85 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat