Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.576e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4391, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.784/9.223, allocations: 2.792 GB / 3.192 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/9.223, allocations: 82.52 kB / 3.192 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.474/12.7, allocations: 0.6615 GB / 3.853 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.267e-06/12.7, allocations: 3.5 kB / 3.853 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001443/12.7, allocations: 28.03 kB / 3.853 GB, free: 50.37 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.01232/12.71, allocations: 2.384 MB / 3.855 GB, free: 49.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/12.71, allocations: 15.12 kB / 3.855 GB, free: 49.12 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005529/12.71, allocations: 157.1 kB / 3.856 GB, free: 49.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/12.72, allocations: 0.5859 MB / 3.856 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/12.72, allocations: 0.8262 MB / 3.857 GB, free: 48.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/12.72, allocations: 214.5 kB / 3.857 GB, free: 48.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/12.72, allocations: 104.2 kB / 3.857 GB, free: 48.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006006/12.73, allocations: 1.836 MB / 3.859 GB, free: 47.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/12.73, allocations: 7.312 kB / 3.859 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/12.73, allocations: 46 kB / 3.859 GB, free: 47.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-05/12.73, allocations: 48.66 kB / 3.859 GB, free: 47.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005699/12.73, allocations: 1.573 MB / 3.861 GB, free: 46.82 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.01523/12.75, allocations: 8.597 MB / 3.869 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/12.75, allocations: 0.9727 MB / 3.87 GB, free: 39.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000897/12.75, allocations: 370.1 kB / 3.87 GB, free: 39.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06792/12.82, allocations: 25.09 MB / 3.895 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/12.82, allocations: 43.12 kB / 3.895 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001328/12.82, allocations: 133.4 kB / 3.895 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 4.048e-06/12.82, allocations: 0 / 3.895 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.0124/12.84, allocations: 3.023 MB / 3.898 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/12.84, allocations: 111.6 kB / 3.898 GB, free: 16.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/12.84, allocations: 0.7346 MB / 3.899 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/12.84, allocations: 41.7 kB / 3.899 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/12.84, allocations: 0.5856 MB / 3.899 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/12.84, allocations: 285.4 kB / 3.9 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/12.84, allocations: 24 kB / 3.9 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001208/12.84, allocations: 363 kB / 3.9 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/12.84, allocations: 373.5 kB / 3.9 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/12.84, allocations: 0.9237 MB / 3.901 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/12.84, allocations: 0.5313 MB / 3.902 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/12.84, allocations: 7.953 kB / 3.902 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003678/12.85, allocations: 1.487 MB / 3.903 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/12.85, allocations: 12 kB / 3.903 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/12.85, allocations: 20.09 kB / 3.903 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/12.85, allocations: 0.5576 MB / 3.904 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/12.85, allocations: 253.4 kB / 3.904 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/12.85, allocations: 1.742 MB / 3.906 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/12.86, allocations: 130.5 kB / 3.906 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/12.86, allocations: 75.8 kB / 3.906 GB, free: 8.609 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.000351/12.86, allocations: 210.7 kB / 3.906 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/12.86, allocations: 98.78 kB / 3.906 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/12.86, allocations: 4.547 MB / 3.911 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/12.86, allocations: 64.61 kB / 3.911 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/12.86, allocations: 0 / 3.911 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/12.86, allocations: 7.141 kB / 3.911 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/12.87, allocations: 6.288 MB / 3.917 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/12.87, allocations: 3.938 kB / 3.917 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/12.88, allocations: 169.9 kB / 3.917 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/12.88, allocations: 0.7821 MB / 3.918 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/12.88, allocations: 30.67 kB / 3.918 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/12.88, allocations: 1.786 MB / 3.92 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/12.88, allocations: 3.953 kB / 3.92 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007308/12.89, allocations: 3.799 MB / 3.923 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/12.89, allocations: 429.5 kB / 3.924 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/12.89, allocations: 20 kB / 3.924 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/12.89, allocations: 89.47 kB / 3.924 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/12.89, allocations: 77.08 kB / 3.924 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/12.89, allocations: 39.08 kB / 3.924 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0015/12.89, allocations: 0.6376 MB / 3.925 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.51e-07/12.89, allocations: 0 / 3.925 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008138/12.9, allocations: 1.537 MB / 3.926 GB, free: 5.887 MB / 0.5573 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.02039/12.92, allocations: 6.196 MB / 3.932 GB, free: 424 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.4545/13.38, allocations: 1.61 MB / 3.934 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/13.38, allocations: 5 kB / 3.934 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00283/13.38, allocations: 1.147 MB / 3.935 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/13.38, allocations: 0.4946 MB / 3.935 GB, free: 66.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/13.4, allocations: 3.698 MB / 3.939 GB, free: 66.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/13.4, allocations: 1.418 MB / 3.94 GB, free: 65.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/13.4, allocations: 0.66 MB / 3.941 GB, free: 65.37 MB / 0.5573 GB Notification: Performance of SimCode: time 1.803e-06/13.4, allocations: 0 / 3.941 GB, free: 65.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.22/17.62, allocations: 62.18 MB / 4.002 GB, free: 62.29 MB / 0.5573 GB