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_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.625/2.625, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.752e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 54.86 MB / 362.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.2465/0.6417, allocations: 138.3 MB / 0.4894 GB, free: 3.188 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4768/1.119, allocations: 5.408 MB / 0.4947 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/1.12, allocations: 27.81 kB / 0.4947 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.122, allocations: 242.5 kB / 0.4949 GB, free: 2.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008252/1.13, allocations: 1.206 MB / 0.4961 GB, free: 2.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/1.134, allocations: 0.6559 MB / 0.4967 GB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003131/1.137, allocations: 0.7476 MB / 0.4975 GB, free: 2.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/1.138, allocations: 281.1 kB / 0.4977 GB, free: 2.504 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/1.14, allocations: 480.1 kB / 0.4982 GB, free: 2.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007678/1.14, allocations: 314.3 kB / 0.4985 GB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/1.145, allocations: 1.24 MB / 0.4997 GB, free: 2.492 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006525/1.146, allocations: 80.06 kB / 0.4998 GB, free: 2.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/1.146, allocations: 135.5 kB / 0.4999 GB, free: 2.488 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/1.147, allocations: 72.84 kB / 0.5 GB, free: 2.488 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/1.149, allocations: 1.125 MB / 0.5011 GB, free: 2.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.149, allocations: 4 kB / 0.5011 GB, free: 2.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.149, allocations: 0 / 0.5011 GB, free: 2.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/1.149, allocations: 0 / 0.5011 GB, free: 2.387 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.002386/1.152, allocations: 0.975 MB / 0.502 GB, free: 17.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.152, allocations: 14.23 kB / 0.5021 GB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.153, allocations: 162.1 kB / 0.5022 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.155, allocations: 0.5726 MB / 0.5028 GB, free: 17.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/1.155, allocations: 30.38 kB / 0.5028 GB, free: 17.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/1.155, allocations: 42.5 kB / 0.5028 GB, free: 17.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.156, allocations: 0.5773 MB / 0.5034 GB, free: 17.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.156, allocations: 2.281 kB / 0.5034 GB, free: 17.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/1.156, allocations: 19.67 kB / 0.5034 GB, free: 17.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/1.157, allocations: 12.56 kB / 0.5034 GB, free: 17.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.158, allocations: 450 kB / 0.5039 GB, free: 17.32 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.004354/1.162, allocations: 2.58 MB / 0.5064 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/1.163, allocations: 274.5 kB / 0.5066 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/1.163, allocations: 239.2 kB / 0.5069 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/1.164, allocations: 260 kB / 0.5071 GB, free: 15.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.816e-06/1.164, allocations: 0 / 0.5071 GB, free: 15.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001531/1.165, allocations: 0.6321 MB / 0.5077 GB, free: 15.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/1.165, allocations: 159.9 kB / 0.5079 GB, free: 15.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/1.166, allocations: 441.3 kB / 0.5083 GB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/1.166, allocations: 36.39 kB / 0.5083 GB, free: 14.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/1.166, allocations: 351.5 kB / 0.5087 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.166, allocations: 117.4 kB / 0.5088 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/1.167, allocations: 10 kB / 0.5088 GB, free: 14.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/1.167, allocations: 366.1 kB / 0.5092 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/1.167, allocations: 150.5 kB / 0.5093 GB, free: 14.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/1.168, allocations: 386.9 kB / 0.5097 GB, free: 14.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/1.168, allocations: 240.8 kB / 0.5099 GB, free: 14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.168, allocations: 2.938 kB / 0.5099 GB, free: 14 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001557/1.17, allocations: 0.6433 MB / 0.5105 GB, free: 13.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.171, allocations: 2.911 MB / 0.5134 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.171, allocations: 11.91 kB / 0.5134 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/1.171, allocations: 10.88 kB / 0.5134 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/1.177, allocations: 430.8 kB / 0.5138 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007118/1.178, allocations: 0.6257 MB / 0.5144 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/1.179, allocations: 69.23 kB / 0.5145 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.179, allocations: 58.06 kB / 0.5145 GB, free: 10.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.179, allocations: 4.562 kB / 0.5145 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/1.18, allocations: 0.5546 MB / 0.5151 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.18, allocations: 5.781 kB / 0.5151 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.18, allocations: 12.09 kB / 0.5151 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/1.181, allocations: 141.6 kB / 0.5152 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.181, allocations: 20.31 kB / 0.5153 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/1.182, allocations: 51.78 kB / 0.5153 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/1.182, allocations: 50.94 kB / 0.5153 GB, free: 10.14 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.0005079/1.182, allocations: 240.4 kB / 0.5156 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.182, allocations: 62.34 kB / 0.5156 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.185, allocations: 0.7782 MB / 0.5164 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.185, allocations: 5.469 kB / 0.5164 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.185, allocations: 0 / 0.5164 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.185, allocations: 3.094 kB / 0.5164 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/1.189, allocations: 1.652 MB / 0.518 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.189, allocations: 2.875 kB / 0.518 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.191, allocations: 200.8 kB / 0.5182 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.191, allocations: 5.875 kB / 0.5182 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/1.191, allocations: 17.88 kB / 0.5182 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/1.191, allocations: 0.6031 MB / 0.5188 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.191, allocations: 4.094 kB / 0.5188 GB, free: 8.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/1.193, allocations: 0.7312 MB / 0.5195 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/1.193, allocations: 144.6 kB / 0.5197 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.193, allocations: 16.95 kB / 0.5197 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/1.194, allocations: 19.38 kB / 0.5197 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.194, allocations: 36.84 kB / 0.5198 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/1.194, allocations: 38.66 kB / 0.5198 GB, free: 7.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005767/1.195, allocations: 339.5 kB / 0.5201 GB, free: 7.738 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.195, allocations: 0 / 0.5201 GB, free: 7.738 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00215/1.197, allocations: 0.5052 MB / 0.5206 GB, free: 7.664 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.001801/1.199, allocations: 0.5259 MB / 0.5211 GB, free: 7.504 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.209, allocations: 1.288 MB / 0.5224 GB, free: 7.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.209, allocations: 4.062 kB / 0.5224 GB, free: 7.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/1.212, allocations: 445.8 kB / 0.5228 GB, free: 7.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.214, allocations: 258 kB / 0.5231 GB, free: 7.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/1.217, allocations: 1.283 MB / 0.5243 GB, free: 6.562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/1.218, allocations: 0.9063 MB / 0.5252 GB, free: 5.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002719/1.221, allocations: 323.5 kB / 0.5255 GB, free: 5.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/1.221, allocations: 85.19 kB / 0.5256 GB, free: 5.715 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/1.221, allocations: 0 / 0.5256 GB, free: 5.715 MB / 442.7 MB Notification: Performance of Templates: time 0.04287/1.264, allocations: 15.42 MB / 0.5406 GB, free: 15.59 MB / 458.7 MB