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.316/2.316, allocations: 235 MB / 247.1 MB, free: 14.63 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.404e-05/4.423e-05, allocations: 7.984 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4212, allocations: 54.85 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.37/8.792, allocations: 2.617 GB / 2.969 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/8.792, allocations: 84.52 kB / 2.969 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.371/12.16, allocations: 0.6521 GB / 3.621 GB, free: 29.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/12.16, allocations: 0 / 3.621 GB, free: 29.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001367/12.16, allocations: 30.33 kB / 3.621 GB, free: 29.11 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.01181/12.17, allocations: 2.379 MB / 3.623 GB, free: 27.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/12.17, allocations: 11.22 kB / 3.623 GB, free: 27.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006795/12.18, allocations: 162.5 kB / 3.623 GB, free: 27.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007882/12.18, allocations: 0.5791 MB / 3.624 GB, free: 27.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/12.19, allocations: 0.8467 MB / 3.625 GB, free: 27.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/12.19, allocations: 213.4 kB / 3.625 GB, free: 26.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/12.19, allocations: 97.84 kB / 3.625 GB, free: 26.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006776/12.19, allocations: 1.838 MB / 3.627 GB, free: 25.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.684e-05/12.19, allocations: 15.81 kB / 3.627 GB, free: 25.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/12.19, allocations: 45.59 kB / 3.627 GB, free: 25.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/12.19, allocations: 42.42 kB / 3.627 GB, free: 25.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/12.2, allocations: 1.595 MB / 3.629 GB, free: 25.45 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.01641/12.22, allocations: 8.453 MB / 3.637 GB, free: 18.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/12.22, allocations: 0.9418 MB / 3.638 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008777/12.22, allocations: 346.1 kB / 3.638 GB, free: 18.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6534/12.88, allocations: 57.52 MB / 3.694 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/12.88, allocations: 41.67 kB / 3.694 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001188/12.88, allocations: 110.2 kB / 3.694 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 4.508e-06/12.88, allocations: 0 / 3.694 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77): time 0.01319/12.89, allocations: 2.911 MB / 3.697 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/12.89, allocations: 118.6 kB / 3.697 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/12.89, allocations: 0.6869 MB / 3.698 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/12.89, allocations: 41.55 kB / 3.698 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/12.89, allocations: 0.5974 MB / 3.699 GB, free: 56.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/12.89, allocations: 276.1 kB / 3.699 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/12.89, allocations: 30.25 kB / 3.699 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002043/12.89, allocations: 400.8 kB / 3.699 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/12.89, allocations: 368.3 kB / 3.7 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/12.9, allocations: 0.995 MB / 3.701 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/12.9, allocations: 0.5374 MB / 3.701 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/12.9, allocations: 7.094 kB / 3.701 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004746/12.9, allocations: 1.61 MB / 3.703 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/12.9, allocations: 16.45 kB / 3.703 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/12.9, allocations: 21.56 kB / 3.703 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/12.91, allocations: 0.5379 MB / 3.703 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/12.91, allocations: 260.6 kB / 3.704 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/12.91, allocations: 1.721 MB / 3.705 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/12.91, allocations: 120.5 kB / 3.705 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/12.91, allocations: 83.02 kB / 3.705 GB, free: 54.23 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.0004382/12.91, allocations: 211 kB / 3.706 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/12.91, allocations: 95.72 kB / 3.706 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008839/12.92, allocations: 4.509 MB / 3.71 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/12.92, allocations: 58.47 kB / 3.71 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/12.92, allocations: 0.6562 kB / 3.71 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/12.92, allocations: 6.578 kB / 3.71 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/12.94, allocations: 6.19 MB / 3.716 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/12.94, allocations: 0 / 3.716 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/12.94, allocations: 152.3 kB / 3.716 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/12.94, allocations: 0.778 MB / 3.717 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/12.94, allocations: 19.03 kB / 3.717 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/12.94, allocations: 1.791 MB / 3.719 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/12.94, allocations: 3.938 kB / 3.719 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/12.95, allocations: 3.746 MB / 3.723 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/12.95, allocations: 403.9 kB / 3.723 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/12.95, allocations: 18.88 kB / 3.723 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/12.95, allocations: 74.98 kB / 3.723 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/12.95, allocations: 72.41 kB / 3.723 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/12.95, allocations: 33.42 kB / 3.723 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001102/12.95, allocations: 0.5513 MB / 3.724 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/12.95, allocations: 0 / 3.724 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007943/12.96, allocations: 1.53 MB / 3.725 GB, free: 51.12 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.01879/12.98, allocations: 6.116 MB / 3.731 GB, free: 50.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003935/12.98, allocations: 1.547 MB / 3.733 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/12.98, allocations: 3.594 kB / 3.733 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/12.99, allocations: 1.15 MB / 3.734 GB, free: 50.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/12.99, allocations: 423.2 kB / 3.734 GB, free: 50.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.424/13.41, allocations: 142.8 MB / 3.874 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/13.42, allocations: 1.419 MB / 3.875 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002246/13.42, allocations: 0.543 MB / 3.876 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/13.42, allocations: 0.639 MB / 3.876 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/13.42, allocations: 4 kB / 3.876 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7199/14.14, allocations: 75.12 MB / 3.95 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/14.14, allocations: 251.9 kB / 3.95 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.995/20.13, allocations: 0 / 3.95 GB, free: 59.33 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