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 2.107/2.107, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.159e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.001/8.108, allocations: 2.507 GB / 2.821 GB, free: 55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/8.108, allocations: 85.69 kB / 2.821 GB, free: 54.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.48/11.59, allocations: 0.6353 GB / 3.456 GB, free: 31.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/11.59, allocations: 0 / 3.456 GB, free: 31.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001174/11.59, allocations: 31 kB / 3.456 GB, free: 31.79 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.01155/11.6, allocations: 2.314 MB / 3.459 GB, free: 30.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/11.6, allocations: 9.094 kB / 3.459 GB, free: 30.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005262/11.6, allocations: 161.4 kB / 3.459 GB, free: 30.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/11.61, allocations: 0.5433 MB / 3.459 GB, free: 30.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/11.61, allocations: 0.8368 MB / 3.46 GB, free: 30.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/11.61, allocations: 209.9 kB / 3.46 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/11.61, allocations: 108 kB / 3.46 GB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/11.62, allocations: 1.84 MB / 3.462 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/11.62, allocations: 5.281 kB / 3.462 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/11.62, allocations: 49.94 kB / 3.462 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/11.62, allocations: 48.81 kB / 3.462 GB, free: 29.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005721/11.62, allocations: 1.598 MB / 3.464 GB, free: 29.68 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.01395/11.64, allocations: 8.44 MB / 3.472 GB, free: 24.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/11.64, allocations: 0.9201 MB / 3.473 GB, free: 24.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/11.64, allocations: 349.2 kB / 3.473 GB, free: 24.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1884/11.83, allocations: 57.46 MB / 3.529 GB, free: 17.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/11.83, allocations: 45.91 kB / 3.529 GB, free: 17.94 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001147/11.83, allocations: 111.7 kB / 3.53 GB, free: 17.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.89e-06/11.83, allocations: 0 / 3.53 GB, free: 17.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01204/11.84, allocations: 2.92 MB / 3.532 GB, free: 15.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/11.84, allocations: 111.6 kB / 3.533 GB, free: 15.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/11.85, allocations: 0.6922 MB / 3.533 GB, free: 14.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/11.85, allocations: 41.7 kB / 3.533 GB, free: 14.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/11.85, allocations: 0.6168 MB / 3.534 GB, free: 14.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/11.85, allocations: 279.6 kB / 3.534 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/11.85, allocations: 32 kB / 3.534 GB, free: 14.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/11.85, allocations: 358 kB / 3.535 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/11.85, allocations: 370.8 kB / 3.535 GB, free: 13.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/11.85, allocations: 0.9896 MB / 3.536 GB, free: 12.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/11.85, allocations: 0.5359 MB / 3.536 GB, free: 11.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/11.85, allocations: 8 kB / 3.536 GB, free: 11.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003747/11.85, allocations: 1.577 MB / 3.538 GB, free: 10.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/11.85, allocations: 12 kB / 3.538 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/11.85, allocations: 23.94 kB / 3.538 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/11.86, allocations: 0.5418 MB / 3.538 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/11.86, allocations: 254.6 kB / 3.539 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/11.86, allocations: 1.72 MB / 3.54 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/11.86, allocations: 126.4 kB / 3.541 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/11.86, allocations: 78.53 kB / 3.541 GB, free: 7.641 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.0003861/11.86, allocations: 214 kB / 3.541 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/11.86, allocations: 98.81 kB / 3.541 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007643/11.87, allocations: 4.505 MB / 3.545 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-05/11.87, allocations: 58.73 kB / 3.545 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/11.87, allocations: 0 / 3.545 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/11.87, allocations: 7.453 kB / 3.545 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3963/12.27, allocations: 6.221 MB / 3.551 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/12.27, allocations: 1.562 kB / 3.551 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/12.27, allocations: 144.9 kB / 3.552 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/12.27, allocations: 0.7776 MB / 3.552 GB, free: 62.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/12.27, allocations: 26.11 kB / 3.552 GB, free: 62.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/12.28, allocations: 1.779 MB / 3.554 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/12.28, allocations: 4.578 kB / 3.554 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/12.28, allocations: 3.746 MB / 3.558 GB, free: 60.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/12.28, allocations: 410.4 kB / 3.558 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/12.28, allocations: 17.25 kB / 3.558 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/12.29, allocations: 77.59 kB / 3.558 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/12.29, allocations: 71.61 kB / 3.558 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/12.29, allocations: 38.12 kB / 3.558 GB, free: 60.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001316/12.29, allocations: 0.5478 MB / 3.559 GB, free: 60.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/12.29, allocations: 0 / 3.559 GB, free: 60.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008365/12.3, allocations: 1.515 MB / 3.56 GB, free: 60.74 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.02049/12.32, allocations: 6.102 MB / 3.566 GB, free: 59.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003984/12.32, allocations: 1.55 MB / 3.568 GB, free: 59.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/12.32, allocations: 0 / 3.568 GB, free: 59.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002243/12.32, allocations: 1.152 MB / 3.569 GB, free: 59.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/12.33, allocations: 436.9 kB / 3.569 GB, free: 59.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3968/12.72, allocations: 140.3 MB / 3.706 GB, free: 19.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/12.72, allocations: 1.413 MB / 3.708 GB, free: 18.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/12.73, allocations: 0.6497 MB / 3.708 GB, free: 17.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/12.73, allocations: 4 kB / 3.708 GB, free: 17.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.52/17.25, allocations: 61.08 MB / 3.768 GB, free: 52.52 MB / 474.7 MB