Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.049e-05, allocations: 0 / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.404, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.345/8.749, allocations: 2.617 GB / 2.969 GB, free: 118.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/8.75, allocations: 83 kB / 2.969 GB, free: 118.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.5/12.25, allocations: 0.6521 GB / 3.621 GB, free: 29.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/12.25, allocations: 0 / 3.621 GB, free: 29.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001359/12.25, allocations: 29.62 kB / 3.621 GB, free: 29.04 MB / 490.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.01194/12.26, allocations: 2.391 MB / 3.623 GB, free: 27.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/12.26, allocations: 7.875 kB / 3.623 GB, free: 27.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006101/12.26, allocations: 157.9 kB / 3.623 GB, free: 27.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/12.27, allocations: 0.5844 MB / 3.624 GB, free: 27.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/12.27, allocations: 0.8444 MB / 3.625 GB, free: 26.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/12.27, allocations: 226.6 kB / 3.625 GB, free: 26.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000496/12.27, allocations: 95.62 kB / 3.625 GB, free: 26.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/12.28, allocations: 1.823 MB / 3.627 GB, free: 25.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/12.28, allocations: 6.406 kB / 3.627 GB, free: 25.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/12.28, allocations: 51.39 kB / 3.627 GB, free: 25.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-05/12.28, allocations: 43.5 kB / 3.627 GB, free: 25.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/12.29, allocations: 1.572 MB / 3.629 GB, free: 25.38 MB / 490.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.01578/12.3, allocations: 8.457 MB / 3.637 GB, free: 18.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/12.31, allocations: 0.9165 MB / 3.638 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/12.31, allocations: 345.5 kB / 3.638 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6381/12.95, allocations: 57.53 MB / 3.694 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/12.95, allocations: 42.72 kB / 3.694 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00124/12.95, allocations: 103.7 kB / 3.694 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 5.731e-06/12.95, allocations: 2.719 kB / 3.694 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77): time 0.01455/12.96, allocations: 2.913 MB / 3.697 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/12.96, allocations: 114.3 kB / 3.697 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/12.96, allocations: 0.6929 MB / 3.698 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/12.96, allocations: 41.48 kB / 3.698 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/12.96, allocations: 0.5927 MB / 3.699 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/12.97, allocations: 281.3 kB / 3.699 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/12.97, allocations: 27.78 kB / 3.699 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002204/12.97, allocations: 403 kB / 3.699 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/12.97, allocations: 374.1 kB / 3.7 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/12.97, allocations: 0.9765 MB / 3.701 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/12.97, allocations: 0.5384 MB / 3.701 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/12.97, allocations: 6.562 kB / 3.701 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005659/12.98, allocations: 1.555 MB / 3.703 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/12.98, allocations: 13.62 kB / 3.703 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.57e-05/12.98, allocations: 21.08 kB / 3.703 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/12.98, allocations: 0.5384 MB / 3.703 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/12.98, allocations: 257.2 kB / 3.704 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/12.98, allocations: 1.714 MB / 3.705 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/12.99, allocations: 128.2 kB / 3.705 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/12.99, allocations: 79.84 kB / 3.705 GB, free: 54.46 MB / 0.5105 GB 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.0004845/12.99, allocations: 215.9 kB / 3.706 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/12.99, allocations: 96.67 kB / 3.706 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009486/13, allocations: 4.509 MB / 3.71 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/13, allocations: 58.95 kB / 3.71 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/13, allocations: 0 / 3.71 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/13, allocations: 6.219 kB / 3.71 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/13.01, allocations: 6.191 MB / 3.716 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/13.01, allocations: 0 / 3.716 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/13.01, allocations: 150.3 kB / 3.716 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/13.02, allocations: 0.7781 MB / 3.717 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/13.02, allocations: 33.55 kB / 3.717 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/13.02, allocations: 1.781 MB / 3.719 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/13.02, allocations: 0 / 3.719 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006825/13.03, allocations: 3.742 MB / 3.723 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/13.03, allocations: 398.4 kB / 3.723 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/13.03, allocations: 22.75 kB / 3.723 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/13.03, allocations: 69.67 kB / 3.723 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/13.03, allocations: 75.61 kB / 3.723 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/13.03, allocations: 36.31 kB / 3.723 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001233/13.03, allocations: 0.5452 MB / 3.724 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.01e-07/13.03, allocations: 0 / 3.724 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00895/13.04, allocations: 1.534 MB / 3.725 GB, free: 51.38 MB / 0.5105 GB 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.02016/13.06, allocations: 6.14 MB / 3.731 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003983/13.06, allocations: 1.509 MB / 3.733 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/13.06, allocations: 1.422 kB / 3.733 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/13.07, allocations: 1.144 MB / 3.734 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/13.07, allocations: 425.5 kB / 3.734 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4475/13.52, allocations: 142.8 MB / 3.874 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/13.52, allocations: 1.412 MB / 3.875 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002394/13.52, allocations: 0.5456 MB / 3.875 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/13.52, allocations: 0.6427 MB / 3.876 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/13.52, allocations: 0 / 3.876 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6422/14.17, allocations: 75.17 MB / 3.95 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/14.17, allocations: 254.2 kB / 3.95 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.9/20.07, allocations: 3.938 kB / 3.95 GB, free: 58.88 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat