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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.203e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.321/7.436, allocations: 2.778 GB / 3.178 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/7.436, allocations: 85.36 kB / 3.179 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.892/10.33, allocations: 0.6442 GB / 3.823 GB, free: 44.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.23e-06/10.33, allocations: 0 / 3.823 GB, free: 44.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002572/10.33, allocations: 42.39 kB / 3.823 GB, free: 44.83 MB / 0.5417 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.009058/10.34, allocations: 2.455 MB / 3.825 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/10.34, allocations: 8.281 kB / 3.825 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/10.35, allocations: 0.9568 MB / 3.826 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/10.35, allocations: 0.994 MB / 3.827 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/10.35, allocations: 97.62 kB / 3.827 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/10.35, allocations: 117.3 kB / 3.827 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007428/10.36, allocations: 2.251 MB / 3.829 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/10.36, allocations: 12.81 kB / 3.829 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/10.36, allocations: 55.62 kB / 3.83 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/10.36, allocations: 30.66 kB / 3.83 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007025/10.37, allocations: 1.962 MB / 3.831 GB, free: 42.85 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/10.38, allocations: 10 MB / 3.841 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006/10.39, allocations: 1.559 MB / 3.843 GB, free: 36.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/10.39, allocations: 448.3 kB / 3.843 GB, free: 36.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05688/10.44, allocations: 26.09 MB / 3.869 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/10.45, allocations: 52.34 kB / 3.869 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=88): time 4.729e-06/10.45, allocations: 0 / 3.869 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88): time 0.01075/10.46, allocations: 2.358 MB / 3.871 GB, free: 20.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/10.46, allocations: 268.6 kB / 3.871 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/10.46, allocations: 0.913 MB / 3.872 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/10.46, allocations: 46.05 kB / 3.872 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/10.46, allocations: 0.6049 MB / 3.873 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/10.46, allocations: 294.9 kB / 3.873 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/10.46, allocations: 24.5 kB / 3.873 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/10.46, allocations: 347.3 kB / 3.873 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008508/10.46, allocations: 342.8 kB / 3.874 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/10.46, allocations: 0.7458 MB / 3.875 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/10.46, allocations: 430.7 kB / 3.875 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/10.46, allocations: 5.344 kB / 3.875 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00301/10.46, allocations: 1.182 MB / 3.876 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00142/10.47, allocations: 4.469 MB / 3.88 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/10.47, allocations: 11.09 kB / 3.88 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/10.47, allocations: 16.56 kB / 3.88 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/10.47, allocations: 364.5 kB / 3.881 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/10.47, allocations: 22.5 kB / 3.881 GB, free: 29.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/10.47, allocations: 239.9 kB / 3.881 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/10.47, allocations: 69.39 kB / 3.881 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/10.47, allocations: 3.844 kB / 3.881 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/10.47, allocations: 1.031 MB / 3.882 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/10.47, allocations: 11.72 kB / 3.882 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/10.47, allocations: 23.19 kB / 3.882 GB, free: 29.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/10.47, allocations: 347.2 kB / 3.883 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/10.47, allocations: 26.84 kB / 3.883 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/10.48, allocations: 228 kB / 3.883 GB, free: 29.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/10.48, allocations: 64.14 kB / 3.883 GB, free: 29.19 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (141): * Single equations (assignments): 141 * 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.0004246/10.48, allocations: 190.6 kB / 3.883 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/10.48, allocations: 146.2 kB / 3.883 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007971/10.49, allocations: 6.465 MB / 3.889 GB, free: 26.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-05/10.49, allocations: 88.19 kB / 3.89 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.236e-06/10.49, allocations: 0 / 3.89 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/10.49, allocations: 3.328 kB / 3.89 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/10.49, allocations: 3.28 MB / 3.893 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/10.49, allocations: 7.938 kB / 3.893 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/10.49, allocations: 310.2 kB / 3.893 GB, free: 25.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/10.49, allocations: 11.23 kB / 3.893 GB, free: 25.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/10.49, allocations: 27.27 kB / 3.893 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.852e-06/10.49, allocations: 3.562 kB / 3.893 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-06/10.49, allocations: 0 / 3.893 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/10.5, allocations: 2.781 MB / 3.896 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/10.5, allocations: 0.9016 MB / 3.897 GB, free: 23.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/10.5, allocations: 29.83 kB / 3.897 GB, free: 23.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/10.5, allocations: 148.7 kB / 3.897 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/10.5, allocations: 103.7 kB / 3.897 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/10.5, allocations: 44.97 kB / 3.897 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002658/10.5, allocations: 1.504 MB / 3.898 GB, free: 22.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.009e-06/10.5, allocations: 0 / 3.898 GB, free: 22.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007146/10.51, allocations: 1.829 MB / 3.9 GB, free: 22.39 MB / 0.5573 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 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse51.phase,$cse51.region,$cse55.phase,$cse55.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.008638/10.52, allocations: 1.984 MB / 3.902 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004268/10.52, allocations: 2.181 MB / 3.904 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.228e-06/10.52, allocations: 0 / 3.904 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/10.53, allocations: 1.369 MB / 3.906 GB, free: 20.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005194/10.53, allocations: 0.785 MB / 3.906 GB, free: 20.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/10.54, allocations: 4.126 MB / 3.91 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/10.54, allocations: 1.868 MB / 3.912 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004318/10.54, allocations: 2.174 MB / 3.914 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/10.54, allocations: 130.5 kB / 3.915 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of SimCode: time 1.799e-06/10.54, allocations: 0 / 3.915 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.5515/11.1, allocations: 66.53 MB / 3.979 GB, free: 68.63 MB / 0.573 GB