Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.116e-05/5.125e-05, allocations: 0 / 305 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4778, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.975/8.453, allocations: 2.617 GB / 2.969 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/8.454, allocations: 85.33 kB / 2.969 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.289/11.74, allocations: 0.6521 GB / 3.621 GB, free: 29.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/11.74, allocations: 0 / 3.621 GB, free: 29.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00011/11.74, allocations: 31.83 kB / 3.621 GB, free: 29.18 MB / 490.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.01128/11.75, allocations: 2.396 MB / 3.623 GB, free: 27.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/11.75, allocations: 9.625 kB / 3.623 GB, free: 27.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005042/11.76, allocations: 161.5 kB / 3.623 GB, free: 27.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007408/11.76, allocations: 0.5782 MB / 3.624 GB, free: 27.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/11.77, allocations: 0.8336 MB / 3.625 GB, free: 27.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/11.77, allocations: 215.3 kB / 3.625 GB, free: 26.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/11.77, allocations: 98.34 kB / 3.625 GB, free: 26.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/11.77, allocations: 1.84 MB / 3.627 GB, free: 26.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/11.77, allocations: 3.656 kB / 3.627 GB, free: 26.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/11.77, allocations: 44.47 kB / 3.627 GB, free: 26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/11.77, allocations: 54.78 kB / 3.627 GB, free: 25.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006141/11.78, allocations: 1.569 MB / 3.629 GB, free: 25.52 MB / 490.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.01502/11.79, allocations: 8.45 MB / 3.637 GB, free: 18.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/11.8, allocations: 0.9217 MB / 3.638 GB, free: 18.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/11.8, allocations: 346.9 kB / 3.638 GB, free: 18.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.633/12.43, allocations: 57.52 MB / 3.694 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/12.43, allocations: 44.73 kB / 3.694 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/12.43, allocations: 105.3 kB / 3.694 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 5.5e-06/12.43, allocations: 0 / 3.694 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77): time 0.01409/12.45, allocations: 2.913 MB / 3.697 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/12.45, allocations: 115.8 kB / 3.697 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/12.45, allocations: 0.6891 MB / 3.698 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/12.45, allocations: 41.3 kB / 3.698 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/12.45, allocations: 0.6232 MB / 3.699 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/12.45, allocations: 279.9 kB / 3.699 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/12.45, allocations: 31.72 kB / 3.699 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001389/12.45, allocations: 363.3 kB / 3.699 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/12.45, allocations: 368.8 kB / 3.7 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/12.45, allocations: 0.9843 MB / 3.701 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/12.46, allocations: 0.5306 MB / 3.701 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/12.46, allocations: 6.719 kB / 3.701 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004821/12.46, allocations: 1.517 MB / 3.703 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/12.46, allocations: 14.06 kB / 3.703 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/12.46, allocations: 21.53 kB / 3.703 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/12.46, allocations: 0.5389 MB / 3.703 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/12.47, allocations: 256.8 kB / 3.703 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/12.47, allocations: 1.719 MB / 3.705 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/12.47, allocations: 122.7 kB / 3.705 GB, free: 54.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/12.47, allocations: 80.73 kB / 3.705 GB, free: 54.35 MB / 0.5105 GB 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.00048/12.47, allocations: 212.3 kB / 3.705 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/12.47, allocations: 102.4 kB / 3.706 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009167/12.48, allocations: 4.508 MB / 3.71 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/12.48, allocations: 59.14 kB / 3.71 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/12.48, allocations: 4.016 kB / 3.71 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/12.48, allocations: 4.781 kB / 3.71 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/12.5, allocations: 6.182 MB / 3.716 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/12.5, allocations: 2.844 kB / 3.716 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/12.5, allocations: 149.2 kB / 3.716 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002767/12.5, allocations: 0.7761 MB / 3.717 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/12.5, allocations: 26.92 kB / 3.717 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/12.5, allocations: 1.782 MB / 3.719 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/12.5, allocations: 3.969 kB / 3.719 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/12.51, allocations: 3.747 MB / 3.722 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/12.51, allocations: 405.5 kB / 3.723 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/12.51, allocations: 18.31 kB / 3.723 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/12.51, allocations: 75.31 kB / 3.723 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/12.51, allocations: 75.03 kB / 3.723 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/12.51, allocations: 30.67 kB / 3.723 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001153/12.51, allocations: 0.5496 MB / 3.724 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/12.51, allocations: 0.75 kB / 3.724 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008522/12.52, allocations: 1.53 MB / 3.725 GB, free: 51.25 MB / 0.5105 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,$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.02011/12.54, allocations: 6.142 MB / 3.731 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003804/12.54, allocations: 1.517 MB / 3.733 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/12.55, allocations: 0 / 3.733 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/12.55, allocations: 1.14 MB / 3.734 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/12.55, allocations: 424.1 kB / 3.734 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3998/12.95, allocations: 142.9 MB / 3.874 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009949/12.95, allocations: 1.414 MB / 3.875 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/12.95, allocations: 0.6468 MB / 3.876 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/12.95, allocations: 4 kB / 3.876 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.611/17.56, allocations: 61.32 MB / 3.935 GB, free: 59.37 MB / 0.5105 GB