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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.621/2.621, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.953e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3937, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.03806/0.4318, allocations: 14.12 MB / 377 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.4452, allocations: 3.59 MB / 380.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.447, allocations: 23.81 kB / 380.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.4489, allocations: 218.8 kB / 380.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.4522, allocations: 0.5568 MB / 381.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.4555, allocations: 0.6857 MB / 382.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.4573, allocations: 0.634 MB / 382.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.4581, allocations: 299.3 kB / 383 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.4594, allocations: 434.9 kB / 383.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007173/0.4602, allocations: 295 kB / 383.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.462, allocations: 495.5 kB / 384.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004218/0.4625, allocations: 44 kB / 384.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.4628, allocations: 127.5 kB / 384.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.4632, allocations: 72 kB / 384.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.4658, allocations: 0.7405 MB / 385.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4659, allocations: 0 / 385.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.324e-06/0.4659, allocations: 0 / 385.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.466, allocations: 3.938 kB / 385.2 MB, free: 7.441 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002683/0.4687, allocations: 0.8177 MB / 386 MB, free: 6.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.4688, allocations: 12.03 kB / 386 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.4696, allocations: 79.23 kB / 386.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4712, allocations: 492.5 kB / 386.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.4714, allocations: 33 kB / 386.6 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.4715, allocations: 47.94 kB / 386.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.4738, allocations: 0.636 MB / 387.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.4738, allocations: 3.938 kB / 387.3 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.474, allocations: 24 kB / 387.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.474, allocations: 12 kB / 387.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.476, allocations: 0.5191 MB / 387.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.4876, allocations: 3.173 MB / 391 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.4885, allocations: 208.4 kB / 391.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.4997, allocations: 1.099 MB / 392.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.5003, allocations: 196.9 kB / 392.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 4.168e-06/0.5004, allocations: 0 / 392.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001662/0.502, allocations: 472.2 kB / 393 MB, free: 15.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.5022, allocations: 166.2 kB / 393.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.5072, allocations: 441.9 kB / 393.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.5073, allocations: 33.7 kB / 393.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/0.5078, allocations: 358.6 kB / 393.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.508, allocations: 86.83 kB / 394 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.5081, allocations: 12 kB / 394 MB, free: 14.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.5083, allocations: 366.7 kB / 394.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.5089, allocations: 125 kB / 394.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.5097, allocations: 417.4 kB / 394.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.5105, allocations: 214.7 kB / 395.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.5105, allocations: 4 kB / 395.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002207/0.5128, allocations: 0.5987 MB / 395.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.01051/0.5233, allocations: 3.691 MB / 399.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/0.5234, allocations: 8 kB / 399.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.244e-05/0.5235, allocations: 19.94 kB / 399.5 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007089/0.5306, allocations: 215.7 kB / 399.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.5315, allocations: 0.6133 MB / 400.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.5326, allocations: 87.31 kB / 400.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.5328, allocations: 35.98 kB / 400.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5328, allocations: 4 kB / 400.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006226/0.5391, allocations: 0.537 MB / 400.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.5391, allocations: 8 kB / 400.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/0.5392, allocations: 12 kB / 401 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.5402, allocations: 139.7 kB / 401.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.613e-05/0.5403, allocations: 15.94 kB / 401.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.5412, allocations: 63.77 kB / 401.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.5414, allocations: 39.98 kB / 401.2 MB, free: 6.348 MB / 330.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: 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 (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.0006642/0.5421, allocations: 235.3 kB / 401.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.5423, allocations: 55.34 kB / 401.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.5454, allocations: 0.6743 MB / 402.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5455, allocations: 4 kB / 402.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5455, allocations: 0 / 402.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5456, allocations: 4 kB / 402.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5469, allocations: 496.9 kB / 402.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.547, allocations: 4 kB / 402.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.5484, allocations: 111.8 kB / 402.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5484, allocations: 0 / 402.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.5485, allocations: 19.98 kB / 402.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006366/0.5492, allocations: 0.5899 MB / 403.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5492, allocations: 0 / 403.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5506, allocations: 426.7 kB / 403.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.5511, allocations: 196.2 kB / 404 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5512, allocations: 12.09 kB / 404 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.5516, allocations: 23.92 kB / 404 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.5517, allocations: 19.97 kB / 404 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.5518, allocations: 16 kB / 404.1 MB, free: 3.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006937/0.5525, allocations: 354.8 kB / 404.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5525, allocations: 0 / 404.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001773/0.5543, allocations: 395.3 kB / 404.8 MB, free: 2.621 MB / 330.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: 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 (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.0009897/0.5553, allocations: 313.1 kB / 405.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.5592, allocations: 0.9 MB / 406 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.5593, allocations: 0 / 406 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.5609, allocations: 336.5 kB / 406.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.5626, allocations: 200.4 kB / 406.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.5655, allocations: 1.231 MB / 407.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.5661, allocations: 0.9047 MB / 408.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001419/0.5676, allocations: 224.7 kB / 408.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5678, allocations: 59.41 kB / 408.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5678, allocations: 0 / 408.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Templates: time 0.0342/0.6021, allocations: 11.5 MB / 420.4 MB, free: 2.949 MB / 346.7 MB