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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.548e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 48.69 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.08665/0.4467, allocations: 52.46 MB / 377.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03942/0.4862, allocations: 21.4 MB / 398.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.4876, allocations: 39.69 kB / 398.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4893, allocations: 441.8 kB / 399.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.5044, allocations: 3.618 MB / 402.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.5147, allocations: 2.621 MB / 405.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.5176, allocations: 1.018 MB / 406.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.5187, allocations: 452.8 kB / 406.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/0.5342, allocations: 6.296 MB / 413.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.5355, allocations: 462.6 kB / 413.6 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/0.5535, allocations: 6.161 MB / 419.8 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.5563, allocations: 376 kB / 420.2 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.5567, allocations: 179.5 kB / 420.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.5572, allocations: 108 kB / 420.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.5659, allocations: 3.13 MB / 423.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5659, allocations: 0 / 423.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.566, allocations: 0 / 423.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.566, allocations: 8 kB / 423.6 MB, free: 12.68 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.005487/0.5715, allocations: 1.509 MB / 425.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5716, allocations: 8.031 kB / 425.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007136/0.5787, allocations: 0.5803 MB / 425.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5804, allocations: 0.6133 MB / 426.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.5805, allocations: 73.94 kB / 426.4 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.5807, allocations: 72 kB / 426.4 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005382/0.5861, allocations: 1.355 MB / 427.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.5862, allocations: 7.938 kB / 427.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.5863, allocations: 36 kB / 427.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.5864, allocations: 20 kB / 427.9 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005713/0.5921, allocations: 1.243 MB / 429.1 MB, free: 6.98 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.01008/0.6022, allocations: 5.475 MB / 434.6 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.6068, allocations: 0.8481 MB / 435.4 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6729/1.28, allocations: 92.5 MB / 0.5155 GB, free: 86.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.28, allocations: 42.42 kB / 0.5156 GB, free: 86.48 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007988/1.281, allocations: 87.27 kB / 0.5157 GB, free: 86.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=58): time 3.066e-06/1.281, allocations: 0 / 0.5157 GB, free: 86.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.008144/1.289, allocations: 1.576 MB / 0.5172 GB, free: 85.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.289, allocations: 187.9 kB / 0.5174 GB, free: 84.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/1.29, allocations: 483 kB / 0.5178 GB, free: 84.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.29, allocations: 36.33 kB / 0.5179 GB, free: 84.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/1.29, allocations: 466.6 kB / 0.5183 GB, free: 84.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/1.29, allocations: 198 kB / 0.5185 GB, free: 83.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/1.29, allocations: 19.56 kB / 0.5185 GB, free: 83.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.29, allocations: 341.6 kB / 0.5189 GB, free: 83.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/1.291, allocations: 228.8 kB / 0.5191 GB, free: 83.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.293, allocations: 0.5339 MB / 0.5196 GB, free: 82.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.294, allocations: 313.9 kB / 0.5199 GB, free: 82.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.294, allocations: 4 kB / 0.5199 GB, free: 82.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002888/1.297, allocations: 0.8492 MB / 0.5207 GB, free: 82.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007581/1.297, allocations: 3.834 MB / 0.5245 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.297, allocations: 11.72 kB / 0.5245 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006278/1.304, allocations: 430.4 kB / 0.5249 GB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.305, allocations: 201 kB / 0.5251 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009879/1.306, allocations: 1.131 MB / 0.5262 GB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.308, allocations: 68.98 kB / 0.5263 GB, free: 76.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.308, allocations: 49.3 kB / 0.5263 GB, free: 76.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.308, allocations: 4 kB / 0.5263 GB, free: 76.24 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002618/1.31, allocations: 0.7505 MB / 0.527 GB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.31, allocations: 8 kB / 0.527 GB, free: 75.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.31, allocations: 16 kB / 0.5271 GB, free: 75.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.312, allocations: 215.8 kB / 0.5273 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/1.312, allocations: 29.05 kB / 0.5273 GB, free: 75.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/1.313, allocations: 58.5 kB / 0.5274 GB, free: 75.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.313, allocations: 45.8 kB / 0.5274 GB, free: 75.43 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.0005417/1.314, allocations: 246.5 kB / 0.5276 GB, free: 75.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.314, allocations: 75.14 kB / 0.5277 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/1.32, allocations: 3.554 MB / 0.5312 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/1.32, allocations: 50.08 kB / 0.5312 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.32, allocations: 0 / 0.5312 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.32, allocations: 3.984 kB / 0.5312 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.323, allocations: 1.706 MB / 0.5329 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.323, allocations: 0 / 0.5329 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.324, allocations: 127.5 kB / 0.533 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/1.327, allocations: 0.7893 MB / 0.5338 GB, free: 70.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.327, allocations: 24.69 kB / 0.5338 GB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/1.328, allocations: 1.533 MB / 0.5353 GB, free: 69.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.328, allocations: 3.984 kB / 0.5353 GB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/1.332, allocations: 2.054 MB / 0.5373 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/1.333, allocations: 424.5 kB / 0.5377 GB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.333, allocations: 13.75 kB / 0.5377 GB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/1.334, allocations: 45.78 kB / 0.5378 GB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.334, allocations: 57.53 kB / 0.5378 GB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/1.334, allocations: 26.3 kB / 0.5379 GB, free: 67.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009062/1.335, allocations: 0.5288 MB / 0.5384 GB, free: 67.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.335, allocations: 0 / 0.5384 GB, free: 67.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004266/1.34, allocations: 1.196 MB / 0.5395 GB, free: 65.96 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.005989/1.346, allocations: 1.118 MB / 0.5406 GB, free: 65.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004391/1.35, allocations: 1.411 MB / 0.542 GB, free: 64.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.35, allocations: 4 kB / 0.542 GB, free: 64.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.352, allocations: 0.8261 MB / 0.5428 GB, free: 63.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.355, allocations: 346.9 kB / 0.5432 GB, free: 63.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/1.362, allocations: 3.842 MB / 0.5469 GB, free: 59.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/1.363, allocations: 1.294 MB / 0.5482 GB, free: 58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/1.363, allocations: 83.42 kB / 0.5482 GB, free: 57.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.363, allocations: 0 / 0.5482 GB, free: 57.92 MB / 410.7 MB Notification: Performance of Templates: time 0.07168/1.435, allocations: 41.84 MB / 0.5891 GB, free: 16.16 MB / 410.7 MB