Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.207e-05, allocations: 3.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 48.71 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03945/0.4037, allocations: 22.77 MB / 347.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.4251, allocations: 10.57 MB / 358.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.426, allocations: 16.56 kB / 358.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.4269, allocations: 191.5 kB / 358.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.4388, allocations: 2.491 MB / 360.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.4458, allocations: 1.648 MB / 362.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.4471, allocations: 429 kB / 363 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.4476, allocations: 161.3 kB / 363.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.4487, allocations: 364.7 kB / 363.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.449, allocations: 185.5 kB / 363.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.4686, allocations: 6.432 MB / 370.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002971/0.4717, allocations: 392 kB / 370.5 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.472, allocations: 75.69 kB / 370.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.4723, allocations: 44 kB / 370.6 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00856/0.4809, allocations: 2.721 MB / 373.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.481, allocations: 0 / 373.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.481, allocations: 0 / 373.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.481, allocations: 0 / 373.3 MB, free: 14.95 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003986/0.485, allocations: 1.127 MB / 374.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4851, allocations: 12.03 kB / 374.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.4876, allocations: 207.2 kB / 374.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4884, allocations: 370.1 kB / 375 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.4885, allocations: 32.55 kB / 375.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.4886, allocations: 28 kB / 375.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.4911, allocations: 0.6018 MB / 375.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4912, allocations: 4 kB / 375.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.4912, allocations: 12 kB / 375.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4913, allocations: 12 kB / 375.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.4941, allocations: 0.5874 MB / 376.3 MB, free: 11.84 MB / 314.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.0042/0.4983, allocations: 2.574 MB / 378.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.5009, allocations: 482.2 kB / 379.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2002/0.7012, allocations: 51.95 MB / 431.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.7013, allocations: 38.56 kB / 431.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.7013, allocations: 0 / 431.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.00457/0.7059, allocations: 0.8637 MB / 432.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.706, allocations: 106.8 kB / 432.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.7064, allocations: 251.6 kB / 432.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.7065, allocations: 29.7 kB / 432.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.7067, allocations: 219.9 kB / 432.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.7068, allocations: 86.83 kB / 432.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.7068, allocations: 4 kB / 432.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.707, allocations: 342.8 kB / 433.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.7078, allocations: 168.5 kB / 433.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.7087, allocations: 296.5 kB / 433.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.7095, allocations: 183.9 kB / 433.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.7095, allocations: 4 kB / 433.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001959/0.7115, allocations: 0.4898 MB / 434.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7115, allocations: 7.938 kB / 434.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7115, allocations: 4 kB / 434.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.7116, allocations: 11.98 kB / 434.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.7123, allocations: 108.3 kB / 434.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.7123, allocations: 7.984 kB / 434.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.7129, allocations: 75.56 kB / 434.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.713, allocations: 20 kB / 434.6 MB, free: 11.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002694/0.7133, allocations: 169.6 kB / 434.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.7134, allocations: 31.62 kB / 434.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.7175, allocations: 1.947 MB / 436.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.7176, allocations: 31.94 kB / 436.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7176, allocations: 0 / 436.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7177, allocations: 0 / 436.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.7193, allocations: 0.9959 MB / 437.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7193, allocations: 0 / 437.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.7199, allocations: 91.88 kB / 437.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.72, allocations: 4 kB / 437.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.72, allocations: 4 kB / 437.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.72, allocations: 4 kB / 437.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.72, allocations: 0 / 437.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.7226, allocations: 1.135 MB / 439 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.7229, allocations: 199.6 kB / 439.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.723, allocations: 11.98 kB / 439.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.7236, allocations: 47.97 kB / 439.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.7237, allocations: 31.89 kB / 439.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.7238, allocations: 11.98 kB / 439.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004437/0.7242, allocations: 263.1 kB / 439.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7243, allocations: 0 / 439.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003346/0.7276, allocations: 0.9368 MB / 440.5 MB, free: 5.707 MB / 378.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006098/0.7337, allocations: 1.165 MB / 441.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.736, allocations: 0.6461 MB / 442.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.736, allocations: 4 kB / 442.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.7372, allocations: 0.5284 MB / 442.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7388, allocations: 184.8 kB / 443 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.7426, allocations: 1.97 MB / 445 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.7433, allocations: 0.9835 MB / 446 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000823/0.7441, allocations: 267.5 kB / 446.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.7443, allocations: 43.44 kB / 446.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7443, allocations: 0 / 446.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of Templates: time 0.0672/0.8115, allocations: 28.63 MB / 474.9 MB, free: 3.266 MB / 410.7 MB