Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.562/2.562, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.523e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3769, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.2367/0.6137, allocations: 138.2 MB / 0.4894 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3897/1.003, allocations: 5.413 MB / 0.4946 GB, free: 2.488 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009145/1.004, allocations: 31.38 kB / 0.4947 GB, free: 2.484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/1.006, allocations: 235.4 kB / 0.4949 GB, free: 2.484 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/1.011, allocations: 1.203 MB / 0.4961 GB, free: 2.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/1.014, allocations: 0.6577 MB / 0.4967 GB, free: 2.418 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002504/1.016, allocations: 0.7495 MB / 0.4974 GB, free: 2.406 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/1.017, allocations: 282.9 kB / 0.4977 GB, free: 2.398 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/1.019, allocations: 483.6 kB / 0.4982 GB, free: 2.395 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/1.021, allocations: 315.2 kB / 0.4985 GB, free: 2.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/1.026, allocations: 1.237 MB / 0.4997 GB, free: 2.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/1.026, allocations: 80.91 kB / 0.4998 GB, free: 2.387 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/1.027, allocations: 129.8 kB / 0.4999 GB, free: 2.387 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004685/1.027, allocations: 71.09 kB / 0.5 GB, free: 2.387 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/1.03, allocations: 1.131 MB / 0.5011 GB, free: 2.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.03, allocations: 0 / 0.5011 GB, free: 2.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.03, allocations: 0 / 0.5011 GB, free: 2.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/1.03, allocations: 7.219 kB / 0.5011 GB, free: 2.285 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002643/1.033, allocations: 0.974 MB / 0.502 GB, free: 17.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.033, allocations: 13.06 kB / 0.502 GB, free: 17.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/1.035, allocations: 163.3 kB / 0.5022 GB, free: 17.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/1.036, allocations: 0.5728 MB / 0.5027 GB, free: 17.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.037, allocations: 35.19 kB / 0.5028 GB, free: 17.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.037, allocations: 38.28 kB / 0.5028 GB, free: 17.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.038, allocations: 0.5752 MB / 0.5034 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.038, allocations: 0 / 0.5034 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/1.038, allocations: 22.97 kB / 0.5034 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/1.038, allocations: 11.16 kB / 0.5034 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/1.039, allocations: 455.7 kB / 0.5038 GB, free: 17.21 MB / 442.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.00458/1.044, allocations: 2.572 MB / 0.5064 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/1.045, allocations: 269.6 kB / 0.5066 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/1.045, allocations: 239.3 kB / 0.5068 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/1.046, allocations: 262.5 kB / 0.5071 GB, free: 15.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 5.68e-06/1.046, allocations: 0 / 0.5071 GB, free: 15.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001591/1.047, allocations: 0.6313 MB / 0.5077 GB, free: 15.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.047, allocations: 159.8 kB / 0.5079 GB, free: 14.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/1.048, allocations: 443.8 kB / 0.5083 GB, free: 14.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/1.048, allocations: 32.3 kB / 0.5083 GB, free: 14.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/1.048, allocations: 382.3 kB / 0.5087 GB, free: 14.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.049, allocations: 118.2 kB / 0.5088 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/1.049, allocations: 12.72 kB / 0.5088 GB, free: 14.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/1.049, allocations: 329.8 kB / 0.5091 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/1.049, allocations: 151.3 kB / 0.5093 GB, free: 14.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/1.05, allocations: 382.9 kB / 0.5096 GB, free: 13.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/1.05, allocations: 240.2 kB / 0.5099 GB, free: 13.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/1.05, allocations: 7.047 kB / 0.5099 GB, free: 13.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001457/1.052, allocations: 0.6082 MB / 0.5105 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.053, allocations: 2.912 MB / 0.5133 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/1.053, allocations: 13.02 kB / 0.5133 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/1.053, allocations: 11 kB / 0.5133 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006359/1.059, allocations: 426.5 kB / 0.5137 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007162/1.06, allocations: 0.6218 MB / 0.5143 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/1.061, allocations: 76.27 kB / 0.5144 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.061, allocations: 56.41 kB / 0.5145 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.061, allocations: 2.594 kB / 0.5145 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00134/1.063, allocations: 0.5556 MB / 0.515 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.063, allocations: 6.125 kB / 0.515 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.063, allocations: 14.72 kB / 0.515 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/1.063, allocations: 145.9 kB / 0.5152 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/1.063, allocations: 13.5 kB / 0.5152 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/1.064, allocations: 59.38 kB / 0.5152 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/1.064, allocations: 53.53 kB / 0.5153 GB, free: 9.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005318/1.065, allocations: 244.1 kB / 0.5155 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/1.065, allocations: 58.41 kB / 0.5156 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/1.067, allocations: 0.7716 MB / 0.5163 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.068, allocations: 2.844 kB / 0.5163 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.068, allocations: 3.312 kB / 0.5163 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.068, allocations: 0 / 0.5163 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/1.071, allocations: 1.65 MB / 0.5179 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.071, allocations: 2.812 kB / 0.518 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.073, allocations: 197.5 kB / 0.5181 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.073, allocations: 5.875 kB / 0.5181 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/1.073, allocations: 22.67 kB / 0.5182 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005594/1.074, allocations: 0.6056 MB / 0.5188 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.074, allocations: 3.031 kB / 0.5188 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.075, allocations: 0.7238 MB / 0.5195 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/1.075, allocations: 147.4 kB / 0.5196 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.075, allocations: 22.64 kB / 0.5196 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/1.076, allocations: 19.77 kB / 0.5197 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.076, allocations: 38.89 kB / 0.5197 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.076, allocations: 37.09 kB / 0.5197 GB, free: 7.668 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005788/1.077, allocations: 340.6 kB / 0.52 GB, free: 7.586 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.077, allocations: 0 / 0.52 GB, free: 7.586 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002117/1.079, allocations: 0.5081 MB / 0.5205 GB, free: 7.508 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/1.081, allocations: 0.522 MB / 0.5211 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01036/1.091, allocations: 1.273 MB / 0.5223 GB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.091, allocations: 6.625 kB / 0.5223 GB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.094, allocations: 442.5 kB / 0.5227 GB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.096, allocations: 252.5 kB / 0.523 GB, free: 7.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/1.099, allocations: 1.316 MB / 0.5243 GB, free: 6.379 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/1.1, allocations: 0.8985 MB / 0.5251 GB, free: 5.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/1.1, allocations: 108.7 kB / 0.5252 GB, free: 5.656 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/1.1, allocations: 0 / 0.5252 GB, free: 5.656 MB / 442.7 MB Notification: Performance of Templates: time 0.03613/1.136, allocations: 15.62 MB / 0.5405 GB, free: 15.33 MB / 458.7 MB