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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.823e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.4669/0.6006, allocations: 53.2 MB / 464.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03952/0.6401, allocations: 21.71 MB / 485.8 MB, free: 12.24 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.6416, allocations: 32.31 kB / 485.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.6436, allocations: 446.2 kB / 486.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.6588, allocations: 3.654 MB / 490 MB, free: 8.523 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.67, allocations: 2.695 MB / 492.7 MB, free: 5.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003007/0.6731, allocations: 1.045 MB / 493.7 MB, free: 4.773 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.6743, allocations: 457.2 kB / 494.2 MB, free: 4.328 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.6914, allocations: 6.382 MB / 0.4888 GB, free: 13.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6929, allocations: 474.6 kB / 0.4893 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01954/0.7125, allocations: 6.271 MB / 0.4954 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.7155, allocations: 388 kB / 0.4958 GB, free: 6.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.7161, allocations: 191.3 kB / 0.4959 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.7166, allocations: 108 kB / 0.496 GB, free: 6.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009143/0.7258, allocations: 3.2 MB / 0.4992 GB, free: 3.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7258, allocations: 0 / 0.4992 GB, free: 3.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7258, allocations: 0 / 0.4992 GB, free: 3.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.7259, allocations: 0 / 0.4992 GB, free: 3.32 MB / 410.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.005861/0.7317, allocations: 1.545 MB / 0.5007 GB, free: 1.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7318, allocations: 12.03 kB / 0.5007 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007386/0.7392, allocations: 0.6193 MB / 0.5013 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7408, allocations: 0.5823 MB / 0.5019 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.741, allocations: 62 kB / 0.5019 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.7412, allocations: 72 kB / 0.502 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.7468, allocations: 1.371 MB / 0.5033 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.7469, allocations: 7.938 kB / 0.5033 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.7471, allocations: 32 kB / 0.5034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.7471, allocations: 20 kB / 0.5034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005796/0.7529, allocations: 1.243 MB / 0.5046 GB, free: 13.57 MB / 426.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.01199/0.765, allocations: 5.756 MB / 0.5102 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/0.7704, allocations: 1.009 MB / 0.5112 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1155/0.8859, allocations: 32.61 MB / 0.543 GB, free: 1.961 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.811e-05/0.886, allocations: 42.56 kB / 0.5431 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008694/0.8869, allocations: 111.1 kB / 0.5432 GB, free: 1.801 MB / 458.7 MB Notification: Performance of pre-optimization done (n=58): time 3.377e-06/0.8869, allocations: 0 / 0.5432 GB, free: 1.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01007/0.897, allocations: 1.878 MB / 0.545 GB, free: 15.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8972, allocations: 187.9 kB / 0.5452 GB, free: 15.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.8984, allocations: 0.5895 MB / 0.5458 GB, free: 15.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.8985, allocations: 37.7 kB / 0.5458 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.8989, allocations: 410.4 kB / 0.5462 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8992, allocations: 201.1 kB / 0.5464 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.8993, allocations: 16 kB / 0.5464 GB, free: 14.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8994, allocations: 338.8 kB / 0.5467 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.9008, allocations: 277.8 kB / 0.547 GB, free: 13.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.9023, allocations: 0.5336 MB / 0.5475 GB, free: 13.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.9037, allocations: 334 kB / 0.5478 GB, free: 12.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.9038, allocations: 4 kB / 0.5478 GB, free: 12.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00354/0.9073, allocations: 0.9032 MB / 0.5487 GB, free: 11.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.9086, allocations: 2.96 MB / 0.5516 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.9087, allocations: 15.92 kB / 0.5516 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.9188, allocations: 0.6805 MB / 0.5523 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.9203, allocations: 195.7 kB / 0.5525 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.9216, allocations: 1.171 MB / 0.5536 GB, free: 6.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.923, allocations: 75.92 kB / 0.5537 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.9231, allocations: 43.98 kB / 0.5537 GB, free: 6.461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9232, allocations: 4 kB / 0.5537 GB, free: 6.457 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003187/0.9264, allocations: 0.7893 MB / 0.5545 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.9264, allocations: 16.08 kB / 0.5545 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.9265, allocations: 15.98 kB / 0.5545 GB, free: 5.637 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.9282, allocations: 223.7 kB / 0.5548 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/0.9282, allocations: 15.94 kB / 0.5548 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.9292, allocations: 83.88 kB / 0.5549 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9293, allocations: 43.98 kB / 0.5549 GB, free: 5.277 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (84): * Single equations (assignments): 82 * 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 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006107/0.93, allocations: 225.6 kB / 0.5551 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.9303, allocations: 86.97 kB / 0.5552 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007911/0.9382, allocations: 3.718 MB / 0.5588 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/0.9383, allocations: 43.92 kB / 0.5589 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9383, allocations: 4 kB / 0.5589 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.9383, allocations: 3.984 kB / 0.5589 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.9415, allocations: 1.78 MB / 0.5606 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.9416, allocations: 4 kB / 0.5606 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9428, allocations: 163.8 kB / 0.5608 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/0.947, allocations: 0.8817 MB / 0.5616 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.9472, allocations: 19.94 kB / 0.5617 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.9489, allocations: 1.566 MB / 0.5632 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.9489, allocations: 3.953 kB / 0.5632 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004748/0.9537, allocations: 2.179 MB / 0.5653 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/0.9547, allocations: 453.8 kB / 0.5657 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.9549, allocations: 16 kB / 0.5658 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.9561, allocations: 75.78 kB / 0.5658 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.9563, allocations: 63.66 kB / 0.5659 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.9564, allocations: 28.11 kB / 0.5659 GB, free: 9.758 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001572/0.958, allocations: 0.7594 MB / 0.5667 GB, free: 8.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.958, allocations: 4 kB / 0.5667 GB, free: 8.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004718/0.9627, allocations: 1.198 MB / 0.5678 GB, free: 7.789 MB / 490.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 (68): * Single equations (assignments): 54 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006238/0.969, allocations: 1.137 MB / 0.5689 GB, free: 6.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005625/0.9747, allocations: 1.527 MB / 0.5704 GB, free: 5.133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.9747, allocations: 4 kB / 0.5704 GB, free: 5.129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.9771, allocations: 0.8786 MB / 0.5713 GB, free: 4.254 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/0.9817, allocations: 493 kB / 0.5718 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.9887, allocations: 3.536 MB / 0.5752 GB, free: 200 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.9898, allocations: 1.288 MB / 0.5765 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.9903, allocations: 91.34 kB / 0.5766 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.9903, allocations: 0 / 0.5766 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.4206/1.411, allocations: 43.42 MB / 0.619 GB, free: 174.5 MB / 0.5105 GB