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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.096e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4045, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0446/0.4492, allocations: 22.93 MB / 385.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.4707, allocations: 10.66 MB / 396.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.4714, allocations: 15.88 kB / 396.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.4723, allocations: 187.1 kB / 396.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.4837, allocations: 2.5 MB / 399.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.4908, allocations: 1.69 MB / 400.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.492, allocations: 440.4 kB / 401.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.4924, allocations: 167.8 kB / 401.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.4934, allocations: 366.8 kB / 401.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.4938, allocations: 183.4 kB / 402 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0184/0.5122, allocations: 6.536 MB / 408.5 MB, free: 24 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002743/0.515, allocations: 400 kB / 408.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.5153, allocations: 79.67 kB / 409 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.5155, allocations: 48 kB / 409 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009238/0.5248, allocations: 2.756 MB / 411.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5248, allocations: 4 kB / 411.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.5248, allocations: 4 kB / 411.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.5249, allocations: 0 / 411.8 MB, free: 12.74 MB / 346.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.004432/0.5293, allocations: 1.135 MB / 412.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.5294, allocations: 11.97 kB / 413 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.532, allocations: 223.3 kB / 413.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.5329, allocations: 366.1 kB / 413.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.533, allocations: 24.66 kB / 413.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.5331, allocations: 28 kB / 413.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.5356, allocations: 0.6135 MB / 414.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5357, allocations: 3.938 kB / 414.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.5357, allocations: 12 kB / 414.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.5358, allocations: 8 kB / 414.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.5386, allocations: 0.5875 MB / 414.8 MB, free: 9.609 MB / 346.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.00407/0.5427, allocations: 2.574 MB / 417.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.5453, allocations: 490.2 kB / 417.9 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2016/0.7469, allocations: 52.02 MB / 469.9 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.747, allocations: 42.5 kB / 469.9 MB, free: 12.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/0.747, allocations: 0 / 469.9 MB, free: 12.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.004644/0.7517, allocations: 0.8644 MB / 470.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.7518, allocations: 106.8 kB / 470.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.7522, allocations: 247.7 kB / 471.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.7523, allocations: 29.7 kB / 471.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.7525, allocations: 227.8 kB / 471.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7527, allocations: 78.84 kB / 471.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.7527, allocations: 8 kB / 471.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7529, allocations: 342.8 kB / 471.8 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/0.7537, allocations: 164.5 kB / 472 MB, free: 10.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.7546, allocations: 293.3 kB / 472.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/0.7555, allocations: 188 kB / 472.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.7555, allocations: 4 kB / 472.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001955/0.7574, allocations: 0.489 MB / 472.9 MB, free: 9.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.7575, allocations: 7.953 kB / 472.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7575, allocations: 4 kB / 472.9 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.7575, allocations: 8 kB / 472.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.7583, allocations: 104.3 kB / 473 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.7583, allocations: 11.92 kB / 473.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.759, allocations: 75.59 kB / 473.1 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.759, allocations: 19.98 kB / 473.2 MB, free: 9.426 MB / 410.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.0002855/0.7593, allocations: 153.8 kB / 473.3 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.7594, allocations: 31.62 kB / 473.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.7636, allocations: 1.963 MB / 475.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/0.7637, allocations: 27.95 kB / 475.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7637, allocations: 0 / 475.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7638, allocations: 0 / 475.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.7653, allocations: 0.9957 MB / 476.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7653, allocations: 0 / 476.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.766, allocations: 91.88 kB / 476.4 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.7661, allocations: 4 kB / 476.4 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.7661, allocations: 4 kB / 476.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.7661, allocations: 11.94 kB / 476.4 MB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7661, allocations: 0 / 476.4 MB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.7687, allocations: 1.12 MB / 477.6 MB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.769, allocations: 207.5 kB / 477.8 MB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7691, allocations: 4 kB / 477.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.7696, allocations: 47.97 kB / 477.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.7698, allocations: 35.91 kB / 477.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.7698, allocations: 11.98 kB / 477.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004282/0.7703, allocations: 267.1 kB / 478.1 MB, free: 4.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.7703, allocations: 0 / 478.1 MB, free: 4.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003531/0.7738, allocations: 0.9446 MB / 479.1 MB, free: 3.406 MB / 410.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.006421/0.7803, allocations: 1.171 MB / 480.2 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.7825, allocations: 0.6421 MB / 480.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.7826, allocations: 64 / 480.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.7838, allocations: 0.5361 MB / 481.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.7855, allocations: 169.7 kB / 481.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.7893, allocations: 1.983 MB / 483.6 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.79, allocations: 0.9797 MB / 484.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008294/0.7909, allocations: 268.8 kB / 484.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.791, allocations: 39.44 kB / 484.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.791, allocations: 0 / 484.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of Templates: time 0.4141/1.205, allocations: 28.8 MB / 0.5016 GB, free: 121.4 MB / 426.7 MB