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.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 224.4 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.866e-05, allocations: 4 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3722, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.07325/0.4456, allocations: 34.4 MB / 359.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.471, allocations: 12.49 MB / 371.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000976/0.472, allocations: 23.81 kB / 371.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.473, allocations: 234.8 kB / 372 MB, free: 356 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.4871, allocations: 3.19 MB / 375.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006136/0.4932, allocations: 1.495 MB / 376.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.4948, allocations: 0.5474 MB / 377.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.4954, allocations: 227.6 kB / 377.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.4966, allocations: 442.6 kB / 377.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.4972, allocations: 243.2 kB / 378.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/0.517, allocations: 6.602 MB / 384.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003118/0.5202, allocations: 404 kB / 385.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.5205, allocations: 91.66 kB / 385.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.5209, allocations: 56 kB / 385.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.5298, allocations: 2.88 MB / 388.1 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5299, allocations: 0 / 388.1 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5299, allocations: 0 / 388.1 MB, free: 172 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.5299, allocations: 0 / 388.1 MB, free: 172 kB / 314.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.004308/0.5342, allocations: 1.201 MB / 389.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5343, allocations: 8.031 kB / 389.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.5374, allocations: 271.1 kB / 389.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5385, allocations: 422.5 kB / 390 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.5385, allocations: 29 kB / 390.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.5386, allocations: 36 kB / 390.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.5413, allocations: 0.6898 MB / 390.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5414, allocations: 0 / 390.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.5415, allocations: 20 kB / 390.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5415, allocations: 11.94 kB / 390.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.5443, allocations: 0.6127 MB / 391.4 MB, free: 12.75 MB / 330.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.005206/0.5496, allocations: 2.881 MB / 394.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.5519, allocations: 458.4 kB / 394.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6188/1.171, allocations: 82.61 MB / 477.4 MB, free: 138.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.171, allocations: 36.3 kB / 477.4 MB, free: 138.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 4.639e-06/1.171, allocations: 0.5156 kB / 477.4 MB, free: 138.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.004732/1.176, allocations: 0.9068 MB / 478.3 MB, free: 138.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.176, allocations: 107.5 kB / 478.4 MB, free: 138.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/1.176, allocations: 309.9 kB / 478.7 MB, free: 138.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/1.176, allocations: 30.7 kB / 478.7 MB, free: 138.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.176, allocations: 316 kB / 479.1 MB, free: 138.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.177, allocations: 104.8 kB / 479.2 MB, free: 138 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/1.177, allocations: 5.344 kB / 479.2 MB, free: 138 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/1.177, allocations: 328.1 kB / 479.5 MB, free: 137.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/1.177, allocations: 131 kB / 479.6 MB, free: 137.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/1.178, allocations: 284.4 kB / 479.9 MB, free: 137.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/1.179, allocations: 166.3 kB / 480 MB, free: 137.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.179, allocations: 1.125 kB / 480 MB, free: 137.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001687/1.18, allocations: 482.1 kB / 480.5 MB, free: 137.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/1.181, allocations: 1.747 MB / 482.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.181, allocations: 4.438 kB / 482.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/1.184, allocations: 222.7 kB / 482.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/1.185, allocations: 106.8 kB / 482.6 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006139/1.186, allocations: 0.5919 MB / 483.2 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/1.186, allocations: 58.45 kB / 483.2 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/1.186, allocations: 28.86 kB / 483.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.186, allocations: 10.27 kB / 483.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/1.188, allocations: 412.3 kB / 483.7 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.188, allocations: 6.062 kB / 483.7 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.188, allocations: 8.719 kB / 483.7 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/1.189, allocations: 114.6 kB / 483.8 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/1.189, allocations: 7.5 kB / 483.8 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/1.189, allocations: 52.59 kB / 483.9 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/1.189, allocations: 28.17 kB / 483.9 MB, free: 134.5 MB / 410.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.0003538/1.19, allocations: 169.1 kB / 484.1 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.19, allocations: 42.61 kB / 484.1 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/1.194, allocations: 1.987 MB / 486.1 MB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/1.194, allocations: 27.86 kB / 486.1 MB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.194, allocations: 2.953 kB / 486.1 MB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.194, allocations: 3.578 kB / 486.1 MB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/1.195, allocations: 0.9903 MB / 487.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.196, allocations: 0 / 487.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/1.196, allocations: 72.31 kB / 487.2 MB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/1.198, allocations: 0.581 MB / 487.8 MB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/1.198, allocations: 7.125 kB / 487.8 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/1.2, allocations: 1.002 MB / 488.8 MB, free: 132 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.2, allocations: 6.531 kB / 488.8 MB, free: 132 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.202, allocations: 1.295 MB / 490.1 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/1.203, allocations: 244.8 kB / 490.3 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.203, allocations: 6.234 kB / 490.3 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/1.203, allocations: 35.8 kB / 490.4 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.203, allocations: 31.12 kB / 490.4 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/1.203, allocations: 10 kB / 490.4 MB, free: 131.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005318/1.204, allocations: 307 kB / 490.7 MB, free: 131 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.204, allocations: 3.828 kB / 490.7 MB, free: 131 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004031/1.208, allocations: 1.096 MB / 491.8 MB, free: 130.9 MB / 410.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.006942/1.215, allocations: 1.217 MB / 493 MB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002724/1.218, allocations: 0.7817 MB / 493.8 MB, free: 130.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.218, allocations: 5.312 kB / 493.8 MB, free: 130.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.219, allocations: 488 kB / 494.3 MB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.221, allocations: 204.3 kB / 494.5 MB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/1.225, allocations: 2.106 MB / 496.6 MB, free: 129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/1.226, allocations: 0.9967 MB / 497.6 MB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.226, allocations: 49.39 kB / 497.6 MB, free: 128.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/1.226, allocations: 0 / 497.6 MB, free: 128.2 MB / 410.7 MB Notification: Performance of Templates: time 0.07673/1.303, allocations: 29.45 MB / 0.5147 GB, free: 102.8 MB / 410.7 MB