Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.812e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.89/7.996, allocations: 2.507 GB / 2.821 GB, free: 55.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/7.997, allocations: 85.88 kB / 2.821 GB, free: 55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.481/11.48, allocations: 0.6353 GB / 3.456 GB, free: 32.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/11.48, allocations: 0 / 3.456 GB, free: 32.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001057/11.48, allocations: 30.19 kB / 3.456 GB, free: 32.32 MB / 442.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.01088/11.49, allocations: 2.324 MB / 3.459 GB, free: 31.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/11.49, allocations: 7.625 kB / 3.459 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004291/11.49, allocations: 160.7 kB / 3.459 GB, free: 31.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/11.5, allocations: 0.5421 MB / 3.459 GB, free: 31.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/11.5, allocations: 0.83 MB / 3.46 GB, free: 30.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/11.5, allocations: 215.7 kB / 3.46 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/11.5, allocations: 101.2 kB / 3.46 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005706/11.51, allocations: 1.836 MB / 3.462 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/11.51, allocations: 11.28 kB / 3.462 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/11.51, allocations: 51.53 kB / 3.462 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/11.51, allocations: 42.11 kB / 3.462 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/11.51, allocations: 1.58 MB / 3.464 GB, free: 30.23 MB / 442.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.01399/11.53, allocations: 8.431 MB / 3.472 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/11.53, allocations: 0.9172 MB / 3.473 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007958/11.53, allocations: 348.8 kB / 3.473 GB, free: 24.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1901/11.72, allocations: 57.46 MB / 3.529 GB, free: 18.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/11.72, allocations: 47 kB / 3.529 GB, free: 18.38 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/11.72, allocations: 108.3 kB / 3.53 GB, free: 18.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/11.72, allocations: 3.938 kB / 3.53 GB, free: 18.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01196/11.73, allocations: 2.916 MB / 3.532 GB, free: 16.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/11.73, allocations: 115.6 kB / 3.533 GB, free: 16.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/11.74, allocations: 0.6861 MB / 3.533 GB, free: 15.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/11.74, allocations: 41.7 kB / 3.533 GB, free: 15.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/11.74, allocations: 0.6145 MB / 3.534 GB, free: 14.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/11.74, allocations: 286.8 kB / 3.534 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/11.74, allocations: 24 kB / 3.534 GB, free: 14.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/11.74, allocations: 366.2 kB / 3.535 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/11.74, allocations: 370.3 kB / 3.535 GB, free: 13.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/11.74, allocations: 0.9774 MB / 3.536 GB, free: 12.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/11.74, allocations: 0.5437 MB / 3.536 GB, free: 12.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/11.74, allocations: 8 kB / 3.536 GB, free: 12.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003766/11.74, allocations: 1.513 MB / 3.538 GB, free: 10.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/11.74, allocations: 12 kB / 3.538 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/11.74, allocations: 24 kB / 3.538 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/11.75, allocations: 0.5452 MB / 3.538 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/11.75, allocations: 256 kB / 3.539 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/11.75, allocations: 1.707 MB / 3.54 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/11.75, allocations: 130.8 kB / 3.54 GB, free: 8.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/11.75, allocations: 79.52 kB / 3.541 GB, free: 8.223 MB / 474.7 MB 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.0003849/11.75, allocations: 217.7 kB / 3.541 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/11.75, allocations: 94.88 kB / 3.541 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/11.76, allocations: 4.507 MB / 3.545 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.227e-05/11.76, allocations: 58.11 kB / 3.545 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/11.76, allocations: 4 kB / 3.545 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/11.76, allocations: 3.656 kB / 3.545 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3749/12.14, allocations: 6.175 MB / 3.551 GB, free: 62.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/12.14, allocations: 0.5156 kB / 3.551 GB, free: 62.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/12.14, allocations: 142.5 kB / 3.551 GB, free: 62.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/12.14, allocations: 0.7741 MB / 3.552 GB, free: 62.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/12.14, allocations: 25.17 kB / 3.552 GB, free: 62.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/12.14, allocations: 1.785 MB / 3.554 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/12.14, allocations: 0.8438 kB / 3.554 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/12.15, allocations: 3.748 MB / 3.558 GB, free: 61.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/12.15, allocations: 406.2 kB / 3.558 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/12.15, allocations: 18.55 kB / 3.558 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/12.15, allocations: 78.16 kB / 3.558 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/12.15, allocations: 69.16 kB / 3.558 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/12.15, allocations: 35.62 kB / 3.558 GB, free: 61.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001259/12.15, allocations: 0.5487 MB / 3.559 GB, free: 61.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/12.15, allocations: 0 / 3.559 GB, free: 61.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00832/12.16, allocations: 1.521 MB / 3.56 GB, free: 61.27 MB / 474.7 MB 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.02058/12.18, allocations: 6.12 MB / 3.566 GB, free: 60.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004198/12.19, allocations: 1.515 MB / 3.568 GB, free: 60.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/12.19, allocations: 0 / 3.568 GB, free: 60.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/12.19, allocations: 1.142 MB / 3.569 GB, free: 60.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/12.19, allocations: 422.6 kB / 3.569 GB, free: 60.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/12.6, allocations: 140.3 MB / 3.706 GB, free: 20.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009782/12.6, allocations: 1.414 MB / 3.708 GB, free: 19.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/12.6, allocations: 0.6502 MB / 3.708 GB, free: 18.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/12.6, allocations: 0 / 3.708 GB, free: 18.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.452/17.06, allocations: 61.12 MB / 3.768 GB, free: 52.34 MB / 474.7 MB