Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.37e-05, allocations: 0.7812 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 54.86 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.428, allocations: 2.608 GB / 2.959 GB, free: 71.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/6.429, allocations: 83.95 kB / 2.959 GB, free: 71.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995/9.424, allocations: 0.6323 GB / 3.592 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.419e-06/9.424, allocations: 4 kB / 3.592 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001491/9.424, allocations: 38.58 kB / 3.592 GB, free: 1.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.3415/9.765, allocations: 2.437 MB / 3.594 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/9.765, allocations: 9.969 kB / 3.594 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/9.776, allocations: 0.953 MB / 3.595 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/9.78, allocations: 1.054 MB / 3.596 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/9.78, allocations: 101.2 kB / 3.596 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/9.78, allocations: 120.5 kB / 3.596 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007801/9.788, allocations: 2.231 MB / 3.598 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/9.788, allocations: 11.3 kB / 3.599 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/9.789, allocations: 58.41 kB / 3.599 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/9.789, allocations: 31.81 kB / 3.599 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007612/9.796, allocations: 1.946 MB / 3.6 GB, free: 34.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/9.811, allocations: 9.777 MB / 3.61 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/9.817, allocations: 1.479 MB / 3.611 GB, free: 27.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/9.818, allocations: 417.1 kB / 3.612 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04975/9.868, allocations: 18.96 MB / 3.63 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/9.868, allocations: 47.91 kB / 3.63 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 4.517e-06/9.868, allocations: 0 / 3.63 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.009367/9.877, allocations: 2.257 MB / 3.633 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/9.877, allocations: 276.7 kB / 3.633 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/9.879, allocations: 0.736 MB / 3.634 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/9.879, allocations: 42.58 kB / 3.634 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/9.879, allocations: 0.6728 MB / 3.634 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/9.88, allocations: 302.9 kB / 3.635 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/9.88, allocations: 27.97 kB / 3.635 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/9.88, allocations: 356.5 kB / 3.635 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/9.881, allocations: 342.8 kB / 3.635 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/9.882, allocations: 0.8717 MB / 3.636 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/9.883, allocations: 468.3 kB / 3.637 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/9.883, allocations: 5.219 kB / 3.637 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003003/9.886, allocations: 1.257 MB / 3.638 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003857/9.89, allocations: 6.883 MB / 3.645 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/9.89, allocations: 15.75 kB / 3.645 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/9.89, allocations: 29.91 kB / 3.645 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/9.892, allocations: 393.6 kB / 3.645 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/9.892, allocations: 37.34 kB / 3.645 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/9.894, allocations: 237.8 kB / 3.645 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/9.894, allocations: 83.56 kB / 3.645 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/9.894, allocations: 3.281 kB / 3.645 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/9.897, allocations: 1.111 MB / 3.646 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/9.897, allocations: 19.42 kB / 3.646 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/9.897, allocations: 31.25 kB / 3.646 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/9.898, allocations: 389.1 kB / 3.647 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.85e-05/9.899, allocations: 34.56 kB / 3.647 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/9.9, allocations: 202.9 kB / 3.647 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/9.901, allocations: 85.47 kB / 3.647 GB, free: 25.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0004253/9.901, allocations: 195.9 kB / 3.647 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/9.901, allocations: 125.3 kB / 3.647 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007705/9.909, allocations: 5.81 MB / 3.653 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.956e-05/9.909, allocations: 82.39 kB / 3.653 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/9.909, allocations: 2.906 kB / 3.653 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/9.909, allocations: 3.656 kB / 3.653 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/9.913, allocations: 2.796 MB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/9.913, allocations: 3.375 kB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/9.915, allocations: 300.7 kB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/9.915, allocations: 3 kB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/9.915, allocations: 32.25 kB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.601e-06/9.915, allocations: 3.938 kB / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/9.915, allocations: 0 / 3.656 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/9.919, allocations: 2.678 MB / 3.659 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/9.92, allocations: 0.5282 MB / 3.659 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/9.921, allocations: 19.03 kB / 3.659 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/9.922, allocations: 141.8 kB / 3.66 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/9.922, allocations: 90.55 kB / 3.66 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/9.922, allocations: 35.08 kB / 3.66 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001225/9.923, allocations: 0.6625 MB / 3.66 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.145e-06/9.924, allocations: 2.25 kB / 3.66 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007328/9.931, allocations: 1.717 MB / 3.662 GB, free: 23.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.009145/9.94, allocations: 1.963 MB / 3.664 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00448/9.945, allocations: 2.22 MB / 3.666 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.648e-06/9.945, allocations: 0 / 3.666 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/9.947, allocations: 1.363 MB / 3.667 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/9.95, allocations: 0.5693 MB / 3.668 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6348/10.59, allocations: 125.4 MB / 3.79 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/10.59, allocations: 1.658 MB / 3.792 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0054/10.59, allocations: 2.005 MB / 3.794 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/10.59, allocations: 119.2 kB / 3.794 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.628e-06/10.59, allocations: 3.5 kB / 3.794 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.1178/10.71, allocations: 59.91 MB / 3.853 GB, free: 59.34 MB / 0.5261 GB