Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.399e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.05935/0.4727, allocations: 34.66 MB / 397.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02497/0.4978, allocations: 12.58 MB / 410.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009504/0.4988, allocations: 23.81 kB / 410.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4999, allocations: 230.8 kB / 410.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.5135, allocations: 3.213 MB / 413.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.5199, allocations: 1.53 MB / 415.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.5216, allocations: 0.5513 MB / 415.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.5222, allocations: 235.6 kB / 415.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.5236, allocations: 450.6 kB / 416.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.5242, allocations: 243.3 kB / 416.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/0.5441, allocations: 6.708 MB / 423.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003099/0.5473, allocations: 420 kB / 423.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.5476, allocations: 99.58 kB / 423.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.5479, allocations: 60 kB / 423.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.5567, allocations: 2.904 MB / 426.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5568, allocations: 0 / 426.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5569, allocations: 0 / 426.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.5569, allocations: 4 kB / 426.7 MB, free: 13.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004516/0.5614, allocations: 1.221 MB / 428 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5615, allocations: 8.031 kB / 428 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.5646, allocations: 291 kB / 428.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.5658, allocations: 414.5 kB / 428.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.5659, allocations: 37 kB / 428.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.566, allocations: 36 kB / 428.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.5687, allocations: 0.6898 MB / 429.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5687, allocations: 0 / 429.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5689, allocations: 16 kB / 429.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.5689, allocations: 15.95 kB / 429.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.5716, allocations: 0.6126 MB / 430.1 MB, free: 10.36 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005163/0.5769, allocations: 2.87 MB / 432.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.5792, allocations: 466.3 kB / 433.4 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6474/1.227, allocations: 82.72 MB / 0.504 GB, free: 144.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.227, allocations: 36.47 kB / 0.504 GB, free: 144.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.986e-06/1.227, allocations: 0 / 0.504 GB, free: 144.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.004725/1.232, allocations: 0.9081 MB / 0.5049 GB, free: 144.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.232, allocations: 105.6 kB / 0.505 GB, free: 144.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/1.232, allocations: 310.2 kB / 0.5053 GB, free: 144 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/1.232, allocations: 30.05 kB / 0.5054 GB, free: 143.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.232, allocations: 313.4 kB / 0.5057 GB, free: 143.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.233, allocations: 109.4 kB / 0.5058 GB, free: 143.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/1.233, allocations: 5.438 kB / 0.5058 GB, free: 143.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/1.233, allocations: 328.4 kB / 0.5061 GB, free: 143.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/1.233, allocations: 132.3 kB / 0.5062 GB, free: 143.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/1.234, allocations: 285.7 kB / 0.5065 GB, free: 143.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/1.235, allocations: 168.9 kB / 0.5066 GB, free: 143 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.235, allocations: 1.438 kB / 0.5066 GB, free: 143 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001684/1.236, allocations: 482.7 kB / 0.5071 GB, free: 142.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000413/1.237, allocations: 1.745 MB / 0.5088 GB, free: 141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.237, allocations: 7.641 kB / 0.5088 GB, free: 141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/1.24, allocations: 228.5 kB / 0.509 GB, free: 141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/1.241, allocations: 91.11 kB / 0.5091 GB, free: 141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006149/1.242, allocations: 0.5984 MB / 0.5097 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/1.242, allocations: 56.89 kB / 0.5098 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/1.242, allocations: 24.5 kB / 0.5098 GB, free: 140.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.242, allocations: 5.375 kB / 0.5098 GB, free: 140.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/1.244, allocations: 407.9 kB / 0.5102 GB, free: 140.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.244, allocations: 12.28 kB / 0.5102 GB, free: 140.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.244, allocations: 9.672 kB / 0.5102 GB, free: 140.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/1.245, allocations: 107.5 kB / 0.5103 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.245, allocations: 15.36 kB / 0.5103 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/1.245, allocations: 54.23 kB / 0.5104 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/1.245, allocations: 19.81 kB / 0.5104 GB, free: 140.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003533/1.246, allocations: 177.2 kB / 0.5105 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.246, allocations: 46.75 kB / 0.5106 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/1.249, allocations: 1.987 MB / 0.5125 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/1.249, allocations: 27.89 kB / 0.5126 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.249, allocations: 1.078 kB / 0.5126 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.249, allocations: 0 / 0.5126 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.251, allocations: 0.9955 MB / 0.5135 GB, free: 138.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.251, allocations: 0 / 0.5135 GB, free: 138.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/1.251, allocations: 75.27 kB / 0.5136 GB, free: 138.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/1.253, allocations: 0.574 MB / 0.5142 GB, free: 138.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/1.253, allocations: 7.969 kB / 0.5142 GB, free: 138.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009319/1.254, allocations: 0.9944 MB / 0.5151 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.254, allocations: 7.562 kB / 0.5152 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.257, allocations: 1.298 MB / 0.5164 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/1.257, allocations: 240.5 kB / 0.5166 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.257, allocations: 6.25 kB / 0.5167 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/1.258, allocations: 33.66 kB / 0.5167 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.258, allocations: 38.56 kB / 0.5167 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/1.258, allocations: 11.88 kB / 0.5167 GB, free: 136.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004894/1.258, allocations: 306.5 kB / 0.517 GB, free: 136 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.258, allocations: 0 / 0.517 GB, free: 136 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003935/1.262, allocations: 1.107 MB / 0.5181 GB, free: 135.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006834/1.269, allocations: 1.206 MB / 0.5193 GB, free: 134.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/1.272, allocations: 0.7962 MB / 0.5201 GB, free: 133.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.272, allocations: 0 / 0.5201 GB, free: 133.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/1.273, allocations: 482.5 kB / 0.5205 GB, free: 133.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.275, allocations: 201.2 kB / 0.5207 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/1.278, allocations: 2.097 MB / 0.5228 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/1.279, allocations: 1.003 MB / 0.5237 GB, free: 129.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/1.279, allocations: 47.44 kB / 0.5238 GB, free: 129.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/1.279, allocations: 0 / 0.5238 GB, free: 129.8 MB / 442.7 MB Notification: Performance of Templates: time 0.05661/1.336, allocations: 29.61 MB / 0.5527 GB, free: 100.2 MB / 442.7 MB