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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.921e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 48.7 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.241/0.6221, allocations: 138.2 MB / 463.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.6381, allocations: 5.802 MB / 468.9 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/0.6389, allocations: 23.81 kB / 468.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6401, allocations: 242.7 kB / 469.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.6458, allocations: 1.203 MB / 470.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.6494, allocations: 0.6624 MB / 471 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.6517, allocations: 0.743 MB / 471.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006306/0.6524, allocations: 271.4 kB / 472 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.6538, allocations: 478.8 kB / 472.5 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.6544, allocations: 315 kB / 472.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.6585, allocations: 1.248 MB / 474 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000568/0.6592, allocations: 80 kB / 474.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.6594, allocations: 127.5 kB / 474.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.6598, allocations: 72 kB / 474.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.6625, allocations: 1.115 MB / 475.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6626, allocations: 0 / 475.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6626, allocations: 0 / 475.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.6626, allocations: 0 / 475.4 MB, free: 8.684 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.002453/0.6651, allocations: 0.9765 MB / 476.4 MB, free: 7.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/0.6652, allocations: 8.031 kB / 476.4 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.6669, allocations: 163 kB / 476.6 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.6683, allocations: 0.5679 MB / 477.1 MB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.6684, allocations: 29 kB / 477.1 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6685, allocations: 47.89 kB / 477.2 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6699, allocations: 0.5672 MB / 477.8 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.67, allocations: 0 / 477.8 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.6701, allocations: 20 kB / 477.8 MB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6701, allocations: 12 kB / 477.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6713, allocations: 443.6 kB / 478.2 MB, free: 5.727 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.004998/0.6763, allocations: 2.573 MB / 480.8 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.6774, allocations: 266.6 kB / 481.1 MB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/0.6779, allocations: 232.3 kB / 481.3 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.6787, allocations: 269.6 kB / 481.6 MB, free: 2.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.988e-06/0.6787, allocations: 0 / 481.6 MB, free: 2.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002157/0.6809, allocations: 0.6283 MB / 482.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.681, allocations: 158.2 kB / 482.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6821, allocations: 438.1 kB / 482.8 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.6822, allocations: 29.7 kB / 482.8 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.6826, allocations: 377.6 kB / 483.2 MB, free: 484 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.6828, allocations: 110.5 kB / 483.3 MB, free: 372 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.6829, allocations: 16 kB / 483.3 MB, free: 356 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.683, allocations: 330.8 kB / 483.6 MB, free: 16 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2769/0.9599, allocations: 140.2 kB / 483.7 MB, free: 142.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.9606, allocations: 388 kB / 484.1 MB, free: 141.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.9612, allocations: 229.5 kB / 484.3 MB, free: 141.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.9612, allocations: 2.406 kB / 484.3 MB, free: 141.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001566/0.9628, allocations: 0.6043 MB / 485 MB, free: 141.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006031/0.9634, allocations: 2.91 MB / 487.9 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.9634, allocations: 7.656 kB / 487.9 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.23e-05/0.9635, allocations: 11.84 kB / 487.9 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/0.9702, allocations: 431.3 kB / 488.3 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006165/0.9708, allocations: 0.6324 MB / 488.9 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.9716, allocations: 68.72 kB / 489 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9717, allocations: 54.17 kB / 489.1 MB, free: 137.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9717, allocations: 4.531 kB / 489.1 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/0.9732, allocations: 0.5546 MB / 489.6 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9732, allocations: 7.312 kB / 489.6 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.9733, allocations: 11.81 kB / 489.6 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.9741, allocations: 140.9 kB / 489.8 MB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.9741, allocations: 15.06 kB / 489.8 MB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.9746, allocations: 56.14 kB / 489.8 MB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.9747, allocations: 54.56 kB / 489.9 MB, free: 137.6 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.0004803/0.9752, allocations: 236.3 kB / 490.1 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.9754, allocations: 59.22 kB / 490.2 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.9781, allocations: 0.766 MB / 490.9 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.9782, allocations: 8.75 kB / 491 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.9782, allocations: 0 / 491 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9782, allocations: 5.531 kB / 491 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.9812, allocations: 1.649 MB / 492.6 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9813, allocations: 1.938 kB / 492.6 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/0.9834, allocations: 188.8 kB / 492.8 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.9834, allocations: 8.25 kB / 492.8 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.9835, allocations: 23 kB / 492.8 MB, free: 136 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003759/0.9838, allocations: 0.5993 MB / 493.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9839, allocations: 7.062 kB / 493.4 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.9852, allocations: 0.7163 MB / 494.2 MB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.9854, allocations: 148 kB / 494.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.9855, allocations: 17.84 kB / 494.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.986, allocations: 23.69 kB / 494.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.9861, allocations: 33.64 kB / 494.4 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.9862, allocations: 37.06 kB / 494.4 MB, free: 134.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005831/0.9868, allocations: 341.8 kB / 494.7 MB, free: 134.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.9868, allocations: 0 / 494.7 MB, free: 134.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001988/0.9888, allocations: 0.5018 MB / 495.2 MB, free: 134.5 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.001735/0.9906, allocations: 0.5211 MB / 495.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.001, allocations: 1.202 MB / 497 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.001, allocations: 0 / 497 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/1.004, allocations: 413.9 kB / 497.4 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.006, allocations: 251.1 kB / 497.6 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/1.009, allocations: 1.285 MB / 498.9 MB, free: 132.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/1.009, allocations: 0.9 MB / 499.8 MB, free: 132.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/1.01, allocations: 116.7 kB / 499.9 MB, free: 132.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.01, allocations: 0 / 499.9 MB, free: 132.2 MB / 410.7 MB Notification: Performance of Templates: time 0.035/1.045, allocations: 15.46 MB / 0.5033 GB, free: 124.4 MB / 410.7 MB