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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.094/2.094, allocations: 209.3 MB / 223.8 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.823e-05, allocations: 3.984 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.358, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.3027/0.6608, allocations: 138.2 MB / 463.1 MB, free: 4.938 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.6781, allocations: 5.801 MB / 468.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6792, allocations: 23.81 kB / 468.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.6805, allocations: 246.7 kB / 469.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.6874, allocations: 1.191 MB / 470.3 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.6912, allocations: 0.6629 MB / 471 MB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.6942, allocations: 0.743 MB / 471.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009334/0.6952, allocations: 287.3 kB / 472 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.6971, allocations: 474.8 kB / 472.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009209/0.698, allocations: 307 kB / 472.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.7038, allocations: 1.252 MB / 474 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008461/0.7047, allocations: 83.94 kB / 474.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.7051, allocations: 123.6 kB / 474.2 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.7055, allocations: 68 kB / 474.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.71, allocations: 1.126 MB / 475.4 MB, free: 8.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.7101, allocations: 4 kB / 475.4 MB, free: 8.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.7101, allocations: 0 / 475.4 MB, free: 8.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.7101, allocations: 0 / 475.4 MB, free: 8.555 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.003709/0.7138, allocations: 0.9687 MB / 476.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.7139, allocations: 12.03 kB / 476.4 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.7167, allocations: 167 kB / 476.6 MB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.7188, allocations: 0.564 MB / 477.2 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.7189, allocations: 29 kB / 477.2 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.7191, allocations: 43.95 kB / 477.2 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.721, allocations: 0.5672 MB / 477.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.7211, allocations: 0 / 477.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.7212, allocations: 24 kB / 477.8 MB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.7213, allocations: 11.94 kB / 477.8 MB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.7229, allocations: 439.6 kB / 478.3 MB, free: 5.605 MB / 410.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.006026/0.7289, allocations: 2.573 MB / 480.8 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.73, allocations: 270.5 kB / 481.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.7306, allocations: 228.2 kB / 481.3 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008062/0.7314, allocations: 265.7 kB / 481.6 MB, free: 2.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.177e-06/0.7314, allocations: 3.938 kB / 481.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002265/0.7337, allocations: 0.6284 MB / 482.2 MB, free: 1.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.7338, allocations: 158.2 kB / 482.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7349, allocations: 446.1 kB / 482.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.735, allocations: 33.69 kB / 482.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.7355, allocations: 339.1 kB / 483.2 MB, free: 384 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.7357, allocations: 110.5 kB / 483.3 MB, free: 272 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.7357, allocations: 12 kB / 483.3 MB, free: 260 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2846/1.02, allocations: 363.5 kB / 483.6 MB, free: 142.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/1.021, allocations: 142.4 kB / 483.8 MB, free: 142.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/1.022, allocations: 379.7 kB / 484.1 MB, free: 142.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/1.022, allocations: 238.4 kB / 484.4 MB, free: 142.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.022, allocations: 3.656 kB / 484.4 MB, free: 142.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001697/1.024, allocations: 0.639 MB / 485 MB, free: 141.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006811/1.025, allocations: 2.912 MB / 487.9 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.025, allocations: 12.03 kB / 487.9 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/1.025, allocations: 14.45 kB / 488 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/1.031, allocations: 427 kB / 488.4 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005933/1.032, allocations: 0.6195 MB / 489 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/1.033, allocations: 72.16 kB / 489.1 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.033, allocations: 55.22 kB / 489.1 MB, free: 138.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.033, allocations: 7.406 kB / 489.1 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00144/1.034, allocations: 0.5502 MB / 489.7 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.034, allocations: 9.469 kB / 489.7 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.034, allocations: 11.88 kB / 489.7 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/1.035, allocations: 141.1 kB / 489.8 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/1.035, allocations: 16.73 kB / 489.9 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/1.036, allocations: 57.25 kB / 489.9 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.036, allocations: 58.78 kB / 490 MB, free: 137.9 MB / 410.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * 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.0004951/1.037, allocations: 232.7 kB / 490.2 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/1.037, allocations: 55.94 kB / 490.2 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/1.04, allocations: 0.7693 MB / 491 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.04, allocations: 4.125 kB / 491 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.04, allocations: 2.125 kB / 491 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.04, allocations: 6.156 kB / 491 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/1.043, allocations: 1.646 MB / 492.7 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.043, allocations: 1.375 kB / 492.7 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.045, allocations: 198 kB / 492.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/1.045, allocations: 3.656 kB / 492.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/1.045, allocations: 19.78 kB / 492.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004009/1.046, allocations: 0.6073 MB / 493.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.046, allocations: 2.375 kB / 493.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.047, allocations: 0.7212 MB / 494.2 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/1.047, allocations: 139.5 kB / 494.4 MB, free: 135 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.047, allocations: 18.52 kB / 494.4 MB, free: 135 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/1.048, allocations: 22.97 kB / 494.4 MB, free: 135 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.048, allocations: 37.5 kB / 494.4 MB, free: 135 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/1.048, allocations: 33.77 kB / 494.5 MB, free: 135 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006636/1.049, allocations: 346.2 kB / 494.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.049, allocations: 0 / 494.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002749/1.052, allocations: 0.5022 MB / 495.3 MB, free: 134.7 MB / 410.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.001923/1.054, allocations: 0.5181 MB / 495.8 MB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0108/1.064, allocations: 1.218 MB / 497 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.064, allocations: 1.812 kB / 497 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/1.067, allocations: 423.4 kB / 497.5 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.07, allocations: 239.7 kB / 497.7 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/1.072, allocations: 1.263 MB / 499 MB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/1.073, allocations: 0.8987 MB / 499.9 MB, free: 132.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002606/1.075, allocations: 329 kB / 0.4885 GB, free: 132.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.076, allocations: 87.7 kB / 0.4885 GB, free: 132.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/1.076, allocations: 0 / 0.4885 GB, free: 132.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03982/1.116, allocations: 15.27 MB / 0.5035 GB, free: 124 MB / 410.7 MB