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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.13e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3869, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.093/0.48, allocations: 52.86 MB / 415.7 MB, free: 8.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04136/0.5214, allocations: 21.68 MB / 437.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.5233, allocations: 35.75 kB / 437.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.526, allocations: 441.8 kB / 437.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.5459, allocations: 3.641 MB / 441.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0139/0.5599, allocations: 2.687 MB / 444.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003686/0.5636, allocations: 1.037 MB / 445.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.565, allocations: 444.7 kB / 445.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02193/0.5869, allocations: 6.382 MB / 452.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.5886, allocations: 466.6 kB / 452.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0237/0.6123, allocations: 6.267 MB / 458.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002852/0.6152, allocations: 388 kB / 459.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.6158, allocations: 179.4 kB / 459.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.6163, allocations: 111.9 kB / 459.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.6252, allocations: 3.177 MB / 462.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6252, allocations: 0 / 462.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6253, allocations: 4 kB / 462.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.6253, allocations: 0 / 462.6 MB, free: 9.801 MB / 394.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.005793/0.6311, allocations: 1.541 MB / 464.2 MB, free: 8.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6312, allocations: 8.031 kB / 464.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007577/0.6388, allocations: 0.6155 MB / 464.8 MB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.6407, allocations: 0.6094 MB / 465.4 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.6409, allocations: 70 kB / 465.5 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.6411, allocations: 72 kB / 465.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.647, allocations: 1.359 MB / 466.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.6471, allocations: 3.938 kB / 466.9 MB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.6473, allocations: 36 kB / 466.9 MB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.6474, allocations: 23.94 kB / 467 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005924/0.6533, allocations: 1.239 MB / 468.2 MB, free: 4.039 MB / 394.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.0108/0.6641, allocations: 5.49 MB / 473.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.6689, allocations: 0.8467 MB / 474.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6754/1.344, allocations: 92.56 MB / 0.5538 GB, free: 65.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/1.345, allocations: 46.55 kB / 0.5539 GB, free: 65.3 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008908/1.345, allocations: 88.8 kB / 0.5539 GB, free: 65.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 6.963e-06/1.345, allocations: 0 / 0.5539 GB, free: 65.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.008041/1.354, allocations: 1.59 MB / 0.5555 GB, free: 63.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/1.354, allocations: 187.9 kB / 0.5557 GB, free: 63.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/1.354, allocations: 482 kB / 0.5561 GB, free: 62.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/1.354, allocations: 37.7 kB / 0.5562 GB, free: 62.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/1.355, allocations: 436.8 kB / 0.5566 GB, free: 62.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.355, allocations: 201.9 kB / 0.5568 GB, free: 62.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/1.355, allocations: 16 kB / 0.5568 GB, free: 62.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/1.355, allocations: 382.8 kB / 0.5572 GB, free: 61.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009262/1.356, allocations: 225.8 kB / 0.5574 GB, free: 61.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.357, allocations: 0.5411 MB / 0.5579 GB, free: 60.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.358, allocations: 295.6 kB / 0.5582 GB, free: 60.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.358, allocations: 4 kB / 0.5582 GB, free: 60.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002838/1.361, allocations: 0.8764 MB / 0.559 GB, free: 59.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007703/1.362, allocations: 3.836 MB / 0.5628 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/1.362, allocations: 12 kB / 0.5628 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006276/1.368, allocations: 427.2 kB / 0.5632 GB, free: 55.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.37, allocations: 199.7 kB / 0.5634 GB, free: 55.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000955/1.371, allocations: 1.136 MB / 0.5645 GB, free: 53.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.372, allocations: 64.08 kB / 0.5646 GB, free: 53.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.372, allocations: 53.77 kB / 0.5646 GB, free: 53.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.372, allocations: 4 kB / 0.5646 GB, free: 53.73 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002534/1.375, allocations: 0.754 MB / 0.5654 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.375, allocations: 12 kB / 0.5654 GB, free: 52.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.375, allocations: 16 kB / 0.5654 GB, free: 52.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.376, allocations: 219.6 kB / 0.5656 GB, free: 52.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/1.376, allocations: 20.3 kB / 0.5656 GB, free: 52.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/1.377, allocations: 59.88 kB / 0.5657 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/1.377, allocations: 47.98 kB / 0.5657 GB, free: 52.62 MB / 426.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.0005123/1.378, allocations: 241.5 kB / 0.566 GB, free: 52.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/1.378, allocations: 71.16 kB / 0.566 GB, free: 52.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/1.384, allocations: 3.577 MB / 0.5695 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-05/1.384, allocations: 51.58 kB / 0.5696 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.384, allocations: 7.891 kB / 0.5696 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.384, allocations: 3.984 kB / 0.5696 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/1.387, allocations: 1.692 MB / 0.5712 GB, free: 46.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.387, allocations: 0 / 0.5712 GB, free: 46.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.388, allocations: 127.8 kB / 0.5713 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/1.391, allocations: 0.7884 MB / 0.5721 GB, free: 46.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.391, allocations: 16 kB / 0.5721 GB, free: 46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/1.393, allocations: 1.536 MB / 0.5736 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.393, allocations: 4.031 kB / 0.5736 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/1.396, allocations: 2.053 MB / 0.5756 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/1.397, allocations: 414 kB / 0.576 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.397, allocations: 20 kB / 0.5761 GB, free: 41.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009174/1.398, allocations: 51.8 kB / 0.5761 GB, free: 41.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.398, allocations: 63.86 kB / 0.5762 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/1.398, allocations: 20 kB / 0.5762 GB, free: 41.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008882/1.399, allocations: 0.5333 MB / 0.5767 GB, free: 41.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.399, allocations: 0 / 0.5767 GB, free: 41.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004166/1.403, allocations: 1.193 MB / 0.5779 GB, free: 40.04 MB / 426.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.006214/1.41, allocations: 1.11 MB / 0.579 GB, free: 39.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004602/1.414, allocations: 1.422 MB / 0.5803 GB, free: 37.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/1.414, allocations: 0 / 0.5803 GB, free: 37.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.416, allocations: 0.8271 MB / 0.5811 GB, free: 36.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.42, allocations: 341 kB / 0.5815 GB, free: 36.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/1.426, allocations: 3.796 MB / 0.5852 GB, free: 32.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/1.427, allocations: 1.292 MB / 0.5864 GB, free: 31.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002935/1.43, allocations: 1.164 MB / 0.5876 GB, free: 30.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.43, allocations: 71.42 kB / 0.5876 GB, free: 30.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.43, allocations: 0 / 0.5876 GB, free: 30.28 MB / 426.7 MB Notification: Performance of Templates: time 0.08116/1.512, allocations: 36.06 MB / 0.6229 GB, free: 10.25 MB / 442.7 MB