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_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.16e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4429, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.06654/0.5095, allocations: 34.65 MB / 397.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.5346, allocations: 12.6 MB / 410.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.5356, allocations: 27.81 kB / 410.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5367, allocations: 226.8 kB / 410.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.5504, allocations: 3.221 MB / 413.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.5567, allocations: 1.523 MB / 415.1 MB, free: 9.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.5584, allocations: 0.5591 MB / 415.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.5589, allocations: 227.6 kB / 415.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.5603, allocations: 450.6 kB / 416.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.5608, allocations: 243.3 kB / 416.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/0.5802, allocations: 6.711 MB / 423.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002898/0.5831, allocations: 416 kB / 423.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5835, allocations: 91.66 kB / 423.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.5838, allocations: 60 kB / 423.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008808/0.5926, allocations: 2.912 MB / 426.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5927, allocations: 4 kB / 426.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5927, allocations: 0 / 426.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.5927, allocations: 0 / 426.8 MB, free: 13.76 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.00433/0.5971, allocations: 1.222 MB / 428 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5971, allocations: 8.031 kB / 428 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.6002, allocations: 287 kB / 428.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009317/0.6012, allocations: 414.5 kB / 428.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.6012, allocations: 37 kB / 428.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.6013, allocations: 39.94 kB / 428.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.604, allocations: 0.6859 MB / 429.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.604, allocations: 0 / 429.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.6041, allocations: 16 kB / 429.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.6041, allocations: 15.95 kB / 429.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.6068, allocations: 0.6126 MB / 430.1 MB, free: 10.3 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.004999/0.6118, allocations: 2.862 MB / 432.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.6141, allocations: 474.3 kB / 433.4 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6487/1.263, allocations: 82.73 MB / 0.504 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/1.263, allocations: 37.75 kB / 0.5041 GB, free: 118.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.496e-06/1.263, allocations: 0 / 0.5041 GB, free: 118.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004339/1.267, allocations: 0.8994 MB / 0.505 GB, free: 117.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.267, allocations: 110.3 kB / 0.5051 GB, free: 117.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/1.268, allocations: 305 kB / 0.5054 GB, free: 116.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/1.268, allocations: 33.7 kB / 0.5054 GB, free: 116.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/1.268, allocations: 268.2 kB / 0.5056 GB, free: 116.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/1.268, allocations: 108.9 kB / 0.5057 GB, free: 116.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/1.268, allocations: 8 kB / 0.5058 GB, free: 116.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/1.268, allocations: 348.5 kB / 0.5061 GB, free: 116 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/1.269, allocations: 132.8 kB / 0.5062 GB, free: 115.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/1.269, allocations: 282.3 kB / 0.5065 GB, free: 115.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/1.27, allocations: 167.9 kB / 0.5066 GB, free: 115.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.27, allocations: 4.938 kB / 0.5066 GB, free: 115.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001621/1.272, allocations: 497.3 kB / 0.5071 GB, free: 114.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/1.272, allocations: 1.746 MB / 0.5088 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.272, allocations: 4 kB / 0.5088 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/1.275, allocations: 229.7 kB / 0.509 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/1.276, allocations: 103.4 kB / 0.5091 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005577/1.277, allocations: 0.5913 MB / 0.5097 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/1.277, allocations: 67.62 kB / 0.5098 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/1.277, allocations: 20 kB / 0.5098 GB, free: 112 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/1.277, allocations: 4 kB / 0.5098 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/1.279, allocations: 410.2 kB / 0.5102 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.279, allocations: 8.094 kB / 0.5102 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.279, allocations: 8 kB / 0.5102 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/1.279, allocations: 111.8 kB / 0.5103 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/1.28, allocations: 8 kB / 0.5103 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/1.28, allocations: 55.66 kB / 0.5104 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/1.28, allocations: 21.08 kB / 0.5104 GB, free: 111.4 MB / 426.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.0002997/1.28, allocations: 184.8 kB / 0.5106 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/1.281, allocations: 39.53 kB / 0.5106 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/1.284, allocations: 1.989 MB / 0.5126 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/1.284, allocations: 27.95 kB / 0.5126 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.284, allocations: 0 / 0.5126 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.284, allocations: 0 / 0.5126 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.285, allocations: 0.9951 MB / 0.5136 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/1.285, allocations: 0 / 0.5136 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/1.286, allocations: 67.95 kB / 0.5136 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.288, allocations: 0.5819 MB / 0.5142 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/1.288, allocations: 8 kB / 0.5142 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009322/1.289, allocations: 1.006 MB / 0.5152 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.289, allocations: 6.812 kB / 0.5152 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/1.291, allocations: 1.291 MB / 0.5164 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/1.291, allocations: 239.5 kB / 0.5167 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.291, allocations: 8 kB / 0.5167 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/1.292, allocations: 35.69 kB / 0.5167 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.292, allocations: 35.91 kB / 0.5168 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.292, allocations: 15.98 kB / 0.5168 GB, free: 104.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004763/1.293, allocations: 302.9 kB / 0.5171 GB, free: 104.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.293, allocations: 0 / 0.5171 GB, free: 104.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004021/1.297, allocations: 1.101 MB / 0.5181 GB, free: 103.4 MB / 426.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.00664/1.303, allocations: 1.204 MB / 0.5193 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/1.306, allocations: 0.8016 MB / 0.5201 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.306, allocations: 7.938 kB / 0.5201 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009517/1.307, allocations: 489.8 kB / 0.5206 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.309, allocations: 200.4 kB / 0.5208 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/1.312, allocations: 2.058 MB / 0.5228 GB, free: 98.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.313, allocations: 1.004 MB / 0.5237 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001392/1.314, allocations: 0.546 MB / 0.5243 GB, free: 97.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.314, allocations: 39.44 kB / 0.5243 GB, free: 97.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/1.314, allocations: 7.938 kB / 0.5243 GB, free: 97.31 MB / 426.7 MB Notification: Performance of Templates: time 0.06339/1.378, allocations: 31.13 MB / 0.5547 GB, free: 66.21 MB / 426.7 MB