Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.244e-05, allocations: 3.984 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3791, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.867/1.246, allocations: 296.5 MB / 0.6355 GB, free: 9.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.247, allocations: 88.03 kB / 0.6356 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8278/2.074, allocations: 149 MB / 0.7811 GB, free: 72.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.074, allocations: 0 / 0.7811 GB, free: 72.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.756e-05/2.074, allocations: 31.92 kB / 0.7811 GB, free: 72.28 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003309/2.078, allocations: 1.066 MB / 0.7822 GB, free: 71.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/2.078, allocations: 8.031 kB / 0.7822 GB, free: 71.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/2.079, allocations: 118.9 kB / 0.7823 GB, free: 71.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/2.081, allocations: 0.6256 MB / 0.7829 GB, free: 70.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/2.081, allocations: 220.2 kB / 0.7831 GB, free: 70.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/2.081, allocations: 51.89 kB / 0.7832 GB, free: 70.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002242/2.084, allocations: 0.8004 MB / 0.784 GB, free: 69.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/2.086, allocations: 1.133 MB / 0.7851 GB, free: 68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/2.086, allocations: 11.92 kB / 0.7851 GB, free: 67.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/2.086, allocations: 7.953 kB / 0.7851 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/2.087, allocations: 37.31 kB / 0.7851 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00892/2.095, allocations: 6.733 MB / 0.7917 GB, free: 60.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/2.096, allocations: 238.6 kB / 0.7919 GB, free: 60.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/2.096, allocations: 128.8 kB / 0.792 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/2.1, allocations: 2.717 MB / 0.7947 GB, free: 57.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/2.1, allocations: 42.52 kB / 0.7947 GB, free: 57.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/2.1, allocations: 0 / 0.7947 GB, free: 57.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.002612/2.102, allocations: 0.7953 MB / 0.7955 GB, free: 56.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/2.102, allocations: 55.41 kB / 0.7956 GB, free: 56.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/2.103, allocations: 0.6675 MB / 0.7962 GB, free: 55.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/2.103, allocations: 29.7 kB / 0.7962 GB, free: 55.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/2.104, allocations: 0.6162 MB / 0.7968 GB, free: 54.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/2.104, allocations: 110.6 kB / 0.797 GB, free: 54.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/2.104, allocations: 0 / 0.797 GB, free: 54.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/2.104, allocations: 386.8 kB / 0.7973 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/2.105, allocations: 194.6 kB / 0.7975 GB, free: 54.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/2.105, allocations: 1.007 MB / 0.7985 GB, free: 52.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/2.106, allocations: 431.5 kB / 0.7989 GB, free: 52.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/2.107, allocations: 8 kB / 0.7989 GB, free: 52.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002668/2.109, allocations: 1.053 MB / 0.7999 GB, free: 51.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/2.109, allocations: 35.23 kB / 0.8 GB, free: 51.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/2.109, allocations: 28 kB / 0.8 GB, free: 51.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.604e-05/2.109, allocations: 44 kB / 0.8 GB, free: 51.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/2.111, allocations: 291.4 kB / 0.8003 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-05/2.111, allocations: 55.8 kB / 0.8004 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/2.112, allocations: 51.83 kB / 0.8004 GB, free: 50.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/2.112, allocations: 80 kB / 0.8005 GB, free: 50.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002502/2.113, allocations: 180.2 kB / 0.8007 GB, free: 50.59 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008063/2.114, allocations: 252.8 kB / 0.8009 GB, free: 50.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/2.114, allocations: 82.95 kB / 0.801 GB, free: 50.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/2.115, allocations: 325.6 kB / 0.8013 GB, free: 49.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/2.115, allocations: 11.97 kB / 0.8013 GB, free: 49.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.115, allocations: 4 kB / 0.8013 GB, free: 49.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/2.115, allocations: 0 / 0.8013 GB, free: 49.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/2.117, allocations: 0.8221 MB / 0.8021 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.117, allocations: 7.938 kB / 0.8021 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/2.117, allocations: 51.97 kB / 0.8022 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/2.117, allocations: 3.984 kB / 0.8022 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/2.117, allocations: 4 kB / 0.8022 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/2.117, allocations: 7.938 kB / 0.8022 GB, free: 48.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/2.117, allocations: 4.062 kB / 0.8022 GB, free: 48.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/2.118, allocations: 0.5125 MB / 0.8027 GB, free: 48.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/2.119, allocations: 176 kB / 0.8029 GB, free: 48.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/2.119, allocations: 7.938 kB / 0.8029 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/2.12, allocations: 12.05 kB / 0.8029 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/2.12, allocations: 19.98 kB / 0.8029 GB, free: 48.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/2.12, allocations: 15.98 kB / 0.8029 GB, free: 48.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007836/2.121, allocations: 451 kB / 0.8033 GB, free: 47.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.121, allocations: 3.938 kB / 0.8033 GB, free: 47.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00184/2.122, allocations: 251.9 kB / 0.8036 GB, free: 47.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/2.125, allocations: 1.459 MB / 0.805 GB, free: 45.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/2.126, allocations: 0.5369 MB / 0.8055 GB, free: 45.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/2.126, allocations: 0 / 0.8055 GB, free: 45.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/2.126, allocations: 101.2 kB / 0.8056 GB, free: 45.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/2.128, allocations: 259.6 kB / 0.8059 GB, free: 45.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/2.132, allocations: 1.194 MB / 0.807 GB, free: 43.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/2.133, allocations: 1.004 MB / 0.808 GB, free: 42.83 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001564/2.134, allocations: 291.5 kB / 0.8083 GB, free: 42.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/2.135, allocations: 283.3 kB / 0.8086 GB, free: 42.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/2.135, allocations: 0 / 0.8086 GB, free: 42.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/2.217, allocations: 18.04 MB / 0.8262 GB, free: 24.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.217, allocations: 187.8 kB / 0.8264 GB, free: 24.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/5.48, allocations: 4 kB / 0.8264 GB, free: 24.02 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat