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/2, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.293e-05, allocations: 0 / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.117/8.231, allocations: 2.507 GB / 2.821 GB, free: 54.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/8.232, allocations: 82.39 kB / 2.821 GB, free: 54.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637/11.87, allocations: 0.6353 GB / 3.456 GB, free: 31.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.727e-06/11.87, allocations: 0 / 3.456 GB, free: 31.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001082/11.87, allocations: 30.38 kB / 3.456 GB, free: 31.93 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.01187/11.88, allocations: 2.314 MB / 3.459 GB, free: 30.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/11.88, allocations: 10.53 kB / 3.459 GB, free: 30.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004748/11.88, allocations: 163.6 kB / 3.459 GB, free: 30.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/11.89, allocations: 0.5382 MB / 3.459 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/11.89, allocations: 0.8381 MB / 3.46 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/11.89, allocations: 215.7 kB / 3.46 GB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/11.89, allocations: 99.09 kB / 3.46 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005971/11.9, allocations: 1.839 MB / 3.462 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/11.9, allocations: 5.812 kB / 3.462 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/11.9, allocations: 44.75 kB / 3.462 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/11.9, allocations: 53.33 kB / 3.462 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/11.9, allocations: 1.568 MB / 3.464 GB, free: 29.84 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.01461/11.92, allocations: 8.43 MB / 3.472 GB, free: 24.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/11.92, allocations: 0.9283 MB / 3.473 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/11.92, allocations: 350.5 kB / 3.473 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1944/12.12, allocations: 57.46 MB / 3.529 GB, free: 17.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/12.12, allocations: 42.5 kB / 3.53 GB, free: 17.87 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001172/12.12, allocations: 111.1 kB / 3.53 GB, free: 17.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.688e-06/12.12, allocations: 4 kB / 3.53 GB, free: 17.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.0126/12.13, allocations: 2.919 MB / 3.532 GB, free: 15.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/12.13, allocations: 111.6 kB / 3.533 GB, free: 15.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/12.13, allocations: 0.6897 MB / 3.533 GB, free: 14.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/12.13, allocations: 37.7 kB / 3.533 GB, free: 14.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/12.13, allocations: 0.5904 MB / 3.534 GB, free: 14.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/12.13, allocations: 285.1 kB / 3.534 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/12.13, allocations: 28 kB / 3.534 GB, free: 13.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/12.14, allocations: 400.9 kB / 3.535 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/12.14, allocations: 372.5 kB / 3.535 GB, free: 13.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/12.14, allocations: 0.9747 MB / 3.536 GB, free: 11.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/12.14, allocations: 0.5426 MB / 3.536 GB, free: 11.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/12.14, allocations: 4 kB / 3.536 GB, free: 11.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004174/12.14, allocations: 1.553 MB / 3.538 GB, free: 9.969 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/12.14, allocations: 16 kB / 3.538 GB, free: 9.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/12.14, allocations: 23.5 kB / 3.538 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/12.15, allocations: 0.5435 MB / 3.538 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/12.15, allocations: 256.1 kB / 3.539 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/12.15, allocations: 1.708 MB / 3.54 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/12.15, allocations: 125.7 kB / 3.541 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/12.15, allocations: 82.75 kB / 3.541 GB, free: 7.398 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.0004396/12.15, allocations: 214.6 kB / 3.541 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/12.15, allocations: 98.48 kB / 3.541 GB, free: 7.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008051/12.16, allocations: 4.506 MB / 3.545 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.634e-05/12.16, allocations: 69.02 kB / 3.545 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/12.16, allocations: 0 / 3.545 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/12.16, allocations: 3.656 kB / 3.545 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4031/12.57, allocations: 6.316 MB / 3.552 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/12.57, allocations: 0 / 3.552 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/12.57, allocations: 148 kB / 3.552 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/12.57, allocations: 0.7732 MB / 3.552 GB, free: 62.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/12.57, allocations: 30.91 kB / 3.552 GB, free: 62.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/12.57, allocations: 1.781 MB / 3.554 GB, free: 61.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/12.57, allocations: 0 / 3.554 GB, free: 61.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/12.58, allocations: 3.744 MB / 3.558 GB, free: 61.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/12.58, allocations: 407.7 kB / 3.558 GB, free: 61.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/12.58, allocations: 18.03 kB / 3.558 GB, free: 61.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/12.58, allocations: 81.42 kB / 3.558 GB, free: 61.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/12.58, allocations: 71.77 kB / 3.558 GB, free: 61.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/12.58, allocations: 39.89 kB / 3.558 GB, free: 61.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001299/12.59, allocations: 0.5493 MB / 3.559 GB, free: 61.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/12.59, allocations: 0 / 3.559 GB, free: 61.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009068/12.59, allocations: 1.514 MB / 3.56 GB, free: 61.25 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.02215/12.62, allocations: 6.109 MB / 3.566 GB, free: 60.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004195/12.62, allocations: 1.511 MB / 3.568 GB, free: 60.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/12.62, allocations: 0.9375 kB / 3.568 GB, free: 60.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/12.62, allocations: 1.147 MB / 3.569 GB, free: 60.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/12.63, allocations: 427.9 kB / 3.569 GB, free: 60.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4082/13.04, allocations: 140.2 MB / 3.706 GB, free: 19.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/13.04, allocations: 1.421 MB / 3.708 GB, free: 18.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002322/13.04, allocations: 0.5554 MB / 3.708 GB, free: 18.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/13.04, allocations: 0.6389 MB / 3.709 GB, free: 17.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/13.04, allocations: 0 / 3.709 GB, free: 17.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5696/13.61, allocations: 74.86 MB / 3.782 GB, free: 52.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/13.61, allocations: 250.5 kB / 3.782 GB, free: 52.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.611/19.22, allocations: 0.9375 kB / 3.782 GB, free: 52.16 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