Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.229e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02799/0.3976, allocations: 14.06 MB / 338.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.4093, allocations: 3.581 MB / 342.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.4106, allocations: 22.94 kB / 342.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.412, allocations: 216.1 kB / 342.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.4154, allocations: 0.5623 MB / 343.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.4199, allocations: 0.6949 MB / 344 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.4225, allocations: 0.6367 MB / 344.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4235, allocations: 297.4 kB / 344.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.4253, allocations: 422.4 kB / 345.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.4265, allocations: 293.4 kB / 345.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.4289, allocations: 497.1 kB / 346.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.4295, allocations: 45.47 kB / 346.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.4298, allocations: 121.8 kB / 346.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.4303, allocations: 67.69 kB / 346.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.433, allocations: 0.735 MB / 347.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4331, allocations: 0 / 347.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4331, allocations: 0 / 347.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.4331, allocations: 4 kB / 347.1 MB, free: 4.789 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002619/0.4358, allocations: 0.814 MB / 347.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4358, allocations: 8.844 kB / 347.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000787/0.4366, allocations: 83.14 kB / 348 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.4383, allocations: 483.4 kB / 348.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.4384, allocations: 34.44 kB / 348.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.4386, allocations: 48.86 kB / 348.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.4407, allocations: 0.6347 MB / 349.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.4408, allocations: 1.625 kB / 349.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.441, allocations: 22.47 kB / 349.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.441, allocations: 12.84 kB / 349.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.4428, allocations: 0.5108 MB / 349.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008186/0.451, allocations: 3.167 MB / 352.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.4519, allocations: 209.5 kB / 353.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.4551, allocations: 1.082 MB / 354.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/0.4557, allocations: 191.7 kB / 354.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 4.468e-06/0.4558, allocations: 3.938 kB / 354.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001724/0.4575, allocations: 486.1 kB / 354.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4577, allocations: 158.6 kB / 355 MB, free: 14.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4587, allocations: 435.3 kB / 355.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/0.4588, allocations: 30.98 kB / 355.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.4593, allocations: 360.6 kB / 355.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.4595, allocations: 87.77 kB / 355.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.4596, allocations: 10.56 kB / 355.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.4598, allocations: 362.9 kB / 356.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.4603, allocations: 114.2 kB / 356.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.4611, allocations: 406.8 kB / 356.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.4619, allocations: 213.4 kB / 357 MB, free: 12.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.4619, allocations: 3.25 kB / 357 MB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00211/0.464, allocations: 0.6016 MB / 357.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001943/0.466, allocations: 3.69 MB / 361.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.358e-05/0.4661, allocations: 9.875 kB / 361.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.911e-05/0.4662, allocations: 13.84 kB / 361.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.4687, allocations: 211.3 kB / 361.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.4696, allocations: 0.6265 MB / 362.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.4706, allocations: 77.05 kB / 362.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4707, allocations: 40.61 kB / 362.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4707, allocations: 8.031 kB / 362.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.4722, allocations: 0.5281 MB / 362.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4722, allocations: 10.81 kB / 362.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4723, allocations: 14.06 kB / 362.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.4731, allocations: 132.7 kB / 362.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.4731, allocations: 16.5 kB / 363 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.4738, allocations: 60.11 kB / 363 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.4739, allocations: 36.11 kB / 363.1 MB, free: 7.102 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.0005576/0.4745, allocations: 239.6 kB / 363.3 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4747, allocations: 50.84 kB / 363.3 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4769, allocations: 0.6736 MB / 364 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.477, allocations: 7.219 kB / 364 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.477, allocations: 0 / 364 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.477, allocations: 1.188 kB / 364 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4781, allocations: 489.8 kB / 364.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4782, allocations: 0 / 364.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4793, allocations: 121.1 kB / 364.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.4793, allocations: 1.375 kB / 364.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.4794, allocations: 13.48 kB / 364.6 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005122/0.4799, allocations: 0.5904 MB / 365.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4799, allocations: 0 / 365.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4811, allocations: 428.2 kB / 365.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.4816, allocations: 191.2 kB / 365.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.4817, allocations: 11.84 kB / 365.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.4821, allocations: 20.7 kB / 365.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.4822, allocations: 18.95 kB / 365.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.4823, allocations: 17.64 kB / 365.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006953/0.483, allocations: 356.2 kB / 366.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.483, allocations: 0 / 366.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00208/0.4851, allocations: 388.4 kB / 366.6 MB, free: 4.531 MB / 298.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: 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.001116/0.4862, allocations: 305.8 kB / 366.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.4902, allocations: 0.8329 MB / 367.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.4903, allocations: 0 / 367.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.4919, allocations: 311.3 kB / 368.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.4938, allocations: 190 kB / 368.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.4969, allocations: 1.218 MB / 369.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4976, allocations: 0.8965 MB / 370.4 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001442/0.4991, allocations: 232.7 kB / 370.6 MB, free: 488 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.4993, allocations: 55.42 kB / 370.6 MB, free: 432 kB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4993, allocations: 0 / 370.6 MB, free: 432 kB / 298.7 MB Notification: Performance of Templates: time 0.03408/0.5334, allocations: 11.32 MB / 382 MB, free: 5.148 MB / 314.7 MB