Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.365e-05/5.421e-05, allocations: 1.828 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.116/9.255, allocations: 2.792 GB / 3.193 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/9.255, allocations: 86.08 kB / 3.193 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.619/12.87, allocations: 0.6615 GB / 3.854 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/12.87, allocations: 3.938 kB / 3.854 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001144/12.87, allocations: 24 kB / 3.855 GB, free: 13.93 MB / 0.5417 GB 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.01294/12.89, allocations: 2.391 MB / 3.857 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/12.89, allocations: 16.03 kB / 3.857 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007212/12.89, allocations: 160.4 kB / 3.857 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007806/12.9, allocations: 0.58 MB / 3.858 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/12.9, allocations: 0.8303 MB / 3.858 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/12.9, allocations: 212.8 kB / 3.859 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/12.9, allocations: 99.91 kB / 3.859 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006358/12.91, allocations: 1.838 MB / 3.86 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/12.91, allocations: 7.938 kB / 3.861 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/12.91, allocations: 44 kB / 3.861 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/12.91, allocations: 49.95 kB / 3.861 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/12.91, allocations: 1.577 MB / 3.862 GB, free: 5.891 MB / 0.5417 GB 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.4738/13.39, allocations: 8.568 MB / 3.87 GB, free: 44.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/13.39, allocations: 0.9748 MB / 3.871 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/13.39, allocations: 370.5 kB / 3.872 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07251/13.46, allocations: 25.11 MB / 3.896 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/13.46, allocations: 42.41 kB / 3.896 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/13.47, allocations: 125.4 kB / 3.896 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 5.3e-06/13.47, allocations: 2.719 kB / 3.896 GB, free: 25.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01327/13.48, allocations: 3.02 MB / 3.899 GB, free: 24.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/13.48, allocations: 111.1 kB / 3.9 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/13.48, allocations: 0.7421 MB / 3.9 GB, free: 24.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/13.48, allocations: 39.52 kB / 3.9 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/13.48, allocations: 0.5597 MB / 3.901 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/13.48, allocations: 286.3 kB / 3.901 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/13.48, allocations: 25 kB / 3.901 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002092/13.48, allocations: 412.1 kB / 3.902 GB, free: 23.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/13.48, allocations: 376.2 kB / 3.902 GB, free: 23.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/13.49, allocations: 0.9211 MB / 3.903 GB, free: 23.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/13.49, allocations: 0.5334 MB / 3.903 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/13.49, allocations: 5.531 kB / 3.903 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004926/13.49, allocations: 1.537 MB / 3.905 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/13.49, allocations: 15.62 kB / 3.905 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/13.49, allocations: 18.97 kB / 3.905 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/13.5, allocations: 0.5454 MB / 3.905 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/13.5, allocations: 255.7 kB / 3.906 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/13.5, allocations: 1.745 MB / 3.907 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/13.5, allocations: 126.7 kB / 3.907 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/13.5, allocations: 78.94 kB / 3.908 GB, free: 21.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (131): * Single equations (assignments): 129 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004295/13.5, allocations: 215 kB / 3.908 GB, free: 21.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/13.5, allocations: 107 kB / 3.908 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/13.51, allocations: 4.545 MB / 3.912 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.851e-05/13.51, allocations: 64.06 kB / 3.912 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/13.51, allocations: 3.938 kB / 3.912 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/13.51, allocations: 7.516 kB / 3.912 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/13.52, allocations: 6.255 MB / 3.918 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/13.52, allocations: 0 / 3.918 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/13.52, allocations: 173 kB / 3.919 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/13.53, allocations: 0.7909 MB / 3.919 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/13.53, allocations: 23.2 kB / 3.919 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/13.53, allocations: 1.789 MB / 3.921 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/13.53, allocations: 0 / 3.921 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/13.53, allocations: 3.799 MB / 3.925 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/13.54, allocations: 438.1 kB / 3.925 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/13.54, allocations: 18.56 kB / 3.925 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/13.54, allocations: 84.33 kB / 3.925 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/13.54, allocations: 77.5 kB / 3.925 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/13.54, allocations: 35.34 kB / 3.925 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001265/13.54, allocations: 0.6403 MB / 3.926 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/13.54, allocations: 0 / 3.926 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007981/13.55, allocations: 1.541 MB / 3.928 GB, free: 18.85 MB / 0.5417 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,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.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 (81): * Single equations (assignments): 63 * 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.01976/13.57, allocations: 6.179 MB / 3.934 GB, free: 33.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003594/13.57, allocations: 1.521 MB / 3.935 GB, free: 33.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/13.57, allocations: 1.75 kB / 3.935 GB, free: 33.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/13.57, allocations: 1.154 MB / 3.936 GB, free: 33.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/13.58, allocations: 0.5107 MB / 3.937 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/13.59, allocations: 3.65 MB / 3.94 GB, free: 33.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/13.59, allocations: 1.426 MB / 3.942 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002206/13.59, allocations: 0.5807 MB / 3.942 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/13.59, allocations: 0.6599 MB / 3.943 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.044e-06/13.59, allocations: 0.75 kB / 3.943 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2016/13.8, allocations: 77.34 MB / 4.018 GB, free: 28.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/13.8, allocations: 262.4 kB / 4.019 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/20.38, allocations: 0 / 4.019 GB, free: 28.23 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat