Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.985e-05, allocations: 7.984 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3584, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.08306/0.4415, allocations: 52.46 MB / 377.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03906/0.4806, allocations: 21.41 MB / 398.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.482, allocations: 31.75 kB / 398.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.4836, allocations: 445.8 kB / 399.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.4989, allocations: 3.615 MB / 402.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.5101, allocations: 2.625 MB / 405.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5131, allocations: 1.014 MB / 406.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5143, allocations: 460.7 kB / 406.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01609/0.5304, allocations: 6.3 MB / 413.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.5318, allocations: 462.7 kB / 413.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.5498, allocations: 6.165 MB / 419.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.5526, allocations: 376 kB / 420.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005028/0.5532, allocations: 175.3 kB / 420.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.5537, allocations: 108 kB / 420.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009857/0.5635, allocations: 3.126 MB / 423.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5636, allocations: 3.938 kB / 423.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5636, allocations: 0 / 423.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.5636, allocations: 4 kB / 423.6 MB, free: 12.57 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005521/0.5692, allocations: 1.513 MB / 425.1 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5692, allocations: 8.031 kB / 425.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007179/0.5764, allocations: 0.5764 MB / 425.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5781, allocations: 0.6133 MB / 426.3 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.5782, allocations: 69.94 kB / 426.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5784, allocations: 76 kB / 426.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/0.5839, allocations: 1.359 MB / 427.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.584, allocations: 7.938 kB / 427.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.5841, allocations: 36 kB / 427.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.5842, allocations: 20 kB / 427.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005876/0.5901, allocations: 1.236 MB / 429.1 MB, free: 6.871 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.01054/0.6006, allocations: 5.475 MB / 434.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/0.6054, allocations: 0.8521 MB / 435.5 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6543/1.26, allocations: 92.5 MB / 0.5156 GB, free: 86.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/1.26, allocations: 41.48 kB / 0.5156 GB, free: 86.33 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000788/1.261, allocations: 90.73 kB / 0.5157 GB, free: 86.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=58): time 3.516e-06/1.261, allocations: 4 kB / 0.5157 GB, free: 86.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.00779/1.268, allocations: 1.568 MB / 0.5172 GB, free: 84.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.269, allocations: 191.5 kB / 0.5174 GB, free: 84.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/1.269, allocations: 483.3 kB / 0.5179 GB, free: 84.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/1.269, allocations: 36.02 kB / 0.5179 GB, free: 84.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/1.27, allocations: 435.1 kB / 0.5183 GB, free: 84.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/1.27, allocations: 195.9 kB / 0.5185 GB, free: 83.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/1.27, allocations: 18.88 kB / 0.5185 GB, free: 83.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/1.27, allocations: 381.7 kB / 0.5189 GB, free: 83.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/1.271, allocations: 226.9 kB / 0.5191 GB, free: 83.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/1.272, allocations: 0.5385 MB / 0.5196 GB, free: 82.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.273, allocations: 310.9 kB / 0.5199 GB, free: 82.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.273, allocations: 4 kB / 0.5199 GB, free: 82.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003004/1.276, allocations: 0.8842 MB / 0.5208 GB, free: 81.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008422/1.277, allocations: 3.83 MB / 0.5245 GB, free: 77.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.277, allocations: 11.72 kB / 0.5246 GB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006219/1.284, allocations: 437.9 kB / 0.525 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.285, allocations: 195.8 kB / 0.5252 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/1.286, allocations: 1.133 MB / 0.5263 GB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.287, allocations: 73.8 kB / 0.5263 GB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/1.287, allocations: 44.86 kB / 0.5264 GB, free: 76.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.287, allocations: 7.562 kB / 0.5264 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/1.29, allocations: 0.7445 MB / 0.5271 GB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.29, allocations: 10.62 kB / 0.5271 GB, free: 75.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.29, allocations: 16 kB / 0.5271 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.291, allocations: 217.7 kB / 0.5273 GB, free: 75.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.291, allocations: 26.8 kB / 0.5274 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/1.292, allocations: 56.94 kB / 0.5274 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/1.292, allocations: 46.55 kB / 0.5275 GB, free: 75.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005057/1.293, allocations: 245.8 kB / 0.5277 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.293, allocations: 71.16 kB / 0.5278 GB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/1.299, allocations: 3.556 MB / 0.5312 GB, free: 72.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/1.299, allocations: 49.92 kB / 0.5313 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.299, allocations: 0 / 0.5313 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.299, allocations: 3.984 kB / 0.5313 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/1.302, allocations: 1.707 MB / 0.533 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.302, allocations: 0 / 0.533 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/1.303, allocations: 127.7 kB / 0.5331 GB, free: 71.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/1.306, allocations: 0.7928 MB / 0.5339 GB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/1.306, allocations: 17.69 kB / 0.5339 GB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/1.307, allocations: 1.536 MB / 0.5354 GB, free: 69.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.307, allocations: 0 / 0.5354 GB, free: 69.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/1.311, allocations: 2.054 MB / 0.5374 GB, free: 67.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/1.311, allocations: 417.3 kB / 0.5378 GB, free: 67.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.312, allocations: 17.61 kB / 0.5378 GB, free: 67.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/1.313, allocations: 45.41 kB / 0.5378 GB, free: 67.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.313, allocations: 64.09 kB / 0.5379 GB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/1.313, allocations: 21.55 kB / 0.5379 GB, free: 67.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008906/1.314, allocations: 0.5313 MB / 0.5384 GB, free: 66.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.314, allocations: 4 kB / 0.5384 GB, free: 66.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004017/1.318, allocations: 1.192 MB / 0.5396 GB, free: 65.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00568/1.323, allocations: 1.118 MB / 0.5407 GB, free: 64.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004465/1.328, allocations: 1.432 MB / 0.5421 GB, free: 63.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.328, allocations: 4 kB / 0.5421 GB, free: 63.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.33, allocations: 0.8231 MB / 0.5429 GB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.333, allocations: 350.8 kB / 0.5432 GB, free: 62.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007329/1.34, allocations: 3.804 MB / 0.547 GB, free: 59.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/1.341, allocations: 1.292 MB / 0.5482 GB, free: 57.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003009/1.344, allocations: 1.159 MB / 0.5493 GB, free: 56.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.345, allocations: 71.42 kB / 0.5494 GB, free: 56.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.345, allocations: 0 / 0.5494 GB, free: 56.57 MB / 410.7 MB Notification: Performance of Templates: time 0.07665/1.421, allocations: 35.96 MB / 0.5845 GB, free: 20.77 MB / 410.7 MB