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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.947e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3813/0.511, allocations: 34.85 MB / 445.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02562/0.5367, allocations: 12.63 MB / 458.4 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.5377, allocations: 22.44 kB / 458.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.5387, allocations: 225.4 kB / 458.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.5522, allocations: 3.236 MB / 461.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.5588, allocations: 1.523 MB / 463.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.5604, allocations: 0.5559 MB / 464 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005787/0.561, allocations: 239.3 kB / 464.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5624, allocations: 441.8 kB / 464.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.563, allocations: 254 kB / 464.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0194/0.5825, allocations: 6.725 MB / 471.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.5856, allocations: 419.2 kB / 472 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.5859, allocations: 92.86 kB / 472.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.5863, allocations: 60.06 kB / 472.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00887/0.5952, allocations: 2.934 MB / 475.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5953, allocations: 0 / 475.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5953, allocations: 0 / 475.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5953, allocations: 0 / 475.1 MB, free: 7.441 MB / 378.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.00466/0.6, allocations: 1.217 MB / 476.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6, allocations: 16.02 kB / 476.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.6031, allocations: 275.1 kB / 476.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.604, allocations: 410.6 kB / 477 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.6041, allocations: 33 kB / 477 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.6042, allocations: 39.94 kB / 477.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.6068, allocations: 0.6898 MB / 477.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.6068, allocations: 4 kB / 477.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.6069, allocations: 19.95 kB / 477.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6069, allocations: 8 kB / 477.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.6097, allocations: 0.6204 MB / 478.4 MB, free: 3.984 MB / 378.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.005616/0.6153, allocations: 2.987 MB / 481.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.6177, allocations: 494.4 kB / 481.9 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1448/0.7626, allocations: 40.31 MB / 0.5099 GB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.7627, allocations: 34.56 kB / 0.51 GB, free: 3.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.545e-06/0.7627, allocations: 0 / 0.51 GB, free: 3.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.005057/0.7677, allocations: 0.998 MB / 0.511 GB, free: 2.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.7679, allocations: 110.8 kB / 0.5111 GB, free: 2.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.7685, allocations: 361 kB / 0.5114 GB, free: 1.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.7686, allocations: 33.7 kB / 0.5114 GB, free: 1.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.7688, allocations: 286.4 kB / 0.5117 GB, free: 1.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.769, allocations: 106.5 kB / 0.5118 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.769, allocations: 4 kB / 0.5118 GB, free: 1.234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7692, allocations: 334.8 kB / 0.5121 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.7698, allocations: 143.9 kB / 0.5123 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.7706, allocations: 269.1 kB / 0.5125 GB, free: 456 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.7713, allocations: 179.9 kB / 0.5127 GB, free: 276 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7713, allocations: 0 / 0.5127 GB, free: 276 kB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001785/0.7731, allocations: 475.3 kB / 0.5131 GB, free: 15.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005784/0.7737, allocations: 1.319 MB / 0.5144 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.7737, allocations: 4 kB / 0.5144 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005194/0.7789, allocations: 364.4 kB / 0.5148 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.7796, allocations: 95.88 kB / 0.5149 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007531/0.7804, allocations: 0.6109 MB / 0.5155 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.7811, allocations: 63.5 kB / 0.5155 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.7812, allocations: 20.06 kB / 0.5156 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7812, allocations: 8 kB / 0.5156 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001552/0.7828, allocations: 410.5 kB / 0.516 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7828, allocations: 0 / 0.516 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7828, allocations: 12.36 kB / 0.516 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.7836, allocations: 115.8 kB / 0.5161 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7836, allocations: 4 kB / 0.5161 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.7841, allocations: 59.72 kB / 0.5161 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.7842, allocations: 20 kB / 0.5162 GB, free: 12.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 39 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.7845, allocations: 173.6 kB / 0.5163 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.7846, allocations: 47.44 kB / 0.5164 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.7888, allocations: 2.039 MB / 0.5184 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/0.7888, allocations: 31.95 kB / 0.5184 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7888, allocations: 0 / 0.5184 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.7889, allocations: 0 / 0.5184 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.7905, allocations: 1.022 MB / 0.5194 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7905, allocations: 0 / 0.5194 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.7911, allocations: 75.95 kB / 0.5195 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.7935, allocations: 0.6269 MB / 0.5201 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.7936, allocations: 11.95 kB / 0.5201 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.7948, allocations: 1.011 MB / 0.5211 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7948, allocations: 0 / 0.5211 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.7975, allocations: 1.341 MB / 0.5224 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.7979, allocations: 259.4 kB / 0.5226 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.798, allocations: 8 kB / 0.5226 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.7986, allocations: 43.88 kB / 0.5227 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.7987, allocations: 35.89 kB / 0.5227 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.7988, allocations: 11.98 kB / 0.5227 GB, free: 5.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007064/0.7995, allocations: 394.8 kB / 0.5231 GB, free: 5.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7995, allocations: 0 / 0.5231 GB, free: 5.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004205/0.8037, allocations: 1.097 MB / 0.5242 GB, free: 4.234 MB / 442.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 (33): * Single equations (assignments): 26 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006478/0.8102, allocations: 1.231 MB / 0.5254 GB, free: 3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.8132, allocations: 0.8028 MB / 0.5262 GB, free: 2.199 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8132, allocations: 0 / 0.5262 GB, free: 2.199 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.8144, allocations: 0.4929 MB / 0.5266 GB, free: 1.707 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.8168, allocations: 275.6 kB / 0.5269 GB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.8205, allocations: 1.996 MB / 0.5289 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.8213, allocations: 0.9918 MB / 0.5298 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.8215, allocations: 55.42 kB / 0.5299 GB, free: 14.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.936e-06/0.8215, allocations: 0 / 0.5299 GB, free: 14.34 MB / 458.7 MB Notification: Performance of Templates: time 0.06736/0.8889, allocations: 30.28 MB / 0.5594 GB, free: 60 kB / 474.7 MB