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.411/2.411, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.317e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3904, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.1172/0.5077, allocations: 66.43 MB / 429.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04885/0.5566, allocations: 23.01 MB / 452.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.5593, allocations: 71.44 kB / 452.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.5632, allocations: 0.9137 MB / 453.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.5781, allocations: 3.665 MB / 457 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02363/0.6018, allocations: 5.587 MB / 462.6 MB, free: 9.883 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005344/0.6072, allocations: 1.805 MB / 464.4 MB, free: 8.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.609, allocations: 0.6503 MB / 465 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.6128, allocations: 1.099 MB / 466.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.6147, allocations: 0.7127 MB / 466.8 MB, free: 5.605 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02518/0.6399, allocations: 7.781 MB / 474.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004415/0.6444, allocations: 472 kB / 475.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.6455, allocations: 291 kB / 475.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.6464, allocations: 180 kB / 475.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.6604, allocations: 4.455 MB / 480 MB, free: 8.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.6604, allocations: 0 / 480 MB, free: 8.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.923e-06/0.6604, allocations: 0 / 480 MB, free: 8.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.593e-05/0.6605, allocations: 3.938 kB / 480 MB, free: 8.426 MB / 410.7 MB 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.009137/0.6697, allocations: 2.314 MB / 482.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.6697, allocations: 8.031 kB / 482.3 MB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.6813, allocations: 0.8839 MB / 483.2 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.684, allocations: 0.9352 MB / 484.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.6842, allocations: 102.4 kB / 484.2 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.6845, allocations: 116 kB / 484.3 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009605/0.6941, allocations: 2.279 MB / 486.6 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.6942, allocations: 11.94 kB / 486.6 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.6945, allocations: 56 kB / 486.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.6945, allocations: 32 kB / 486.7 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.7053, allocations: 2.197 MB / 488.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.7238, allocations: 9.813 MB / 498.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.7322, allocations: 1.621 MB / 0.4886 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3876/1.12, allocations: 19.06 MB / 0.5072 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/1.12, allocations: 43.53 kB / 0.5073 GB, free: 115.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=88): time 5.701e-06/1.12, allocations: 0 / 0.5073 GB, free: 115.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.02212/1.142, allocations: 2.743 MB / 0.5099 GB, free: 114.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.142, allocations: 276.2 kB / 0.5102 GB, free: 114.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.144, allocations: 0.7498 MB / 0.5109 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/1.144, allocations: 41.45 kB / 0.511 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/1.145, allocations: 0.6795 MB / 0.5116 GB, free: 113.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/1.146, allocations: 301.6 kB / 0.5119 GB, free: 113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.146, allocations: 23.53 kB / 0.512 GB, free: 113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/1.146, allocations: 353.1 kB / 0.5123 GB, free: 112.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.149, allocations: 487.2 kB / 0.5128 GB, free: 112.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/1.153, allocations: 1.046 MB / 0.5138 GB, free: 110.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/1.156, allocations: 0.5949 MB / 0.5144 GB, free: 110.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/1.156, allocations: 8 kB / 0.5144 GB, free: 110.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.008415/1.164, allocations: 1.604 MB / 0.5159 GB, free: 108.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001878/1.166, allocations: 6.882 MB / 0.5227 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.223e-05/1.166, allocations: 16.88 kB / 0.5227 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.037e-05/1.167, allocations: 28 kB / 0.5227 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/1.17, allocations: 391.4 kB / 0.5231 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.284e-05/1.17, allocations: 35.86 kB / 0.5231 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/1.174, allocations: 237.6 kB / 0.5233 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.174, allocations: 83.97 kB / 0.5234 GB, free: 100.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.174, allocations: 4 kB / 0.5234 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008062/1.182, allocations: 1.463 MB / 0.5248 GB, free: 99.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.182, allocations: 19.81 kB / 0.5249 GB, free: 99.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/1.182, allocations: 28 kB / 0.5249 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.186, allocations: 388.1 kB / 0.5253 GB, free: 98.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/1.186, allocations: 35.86 kB / 0.5253 GB, free: 98.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.189, allocations: 203 kB / 0.5255 GB, free: 98.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/1.189, allocations: 79.97 kB / 0.5256 GB, free: 98.3 MB / 426.7 MB 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.001162/1.19, allocations: 334 kB / 0.5259 GB, free: 97.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/1.191, allocations: 122.5 kB / 0.526 GB, free: 97.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.201, allocations: 6.09 MB / 0.5319 GB, free: 91.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-05/1.201, allocations: 87.8 kB / 0.532 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.201, allocations: 0 / 0.532 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/1.201, allocations: 7.984 kB / 0.532 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/1.205, allocations: 2.797 MB / 0.5348 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.205, allocations: 4 kB / 0.5348 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.207, allocations: 283.7 kB / 0.535 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/1.207, allocations: 4 kB / 0.535 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.935e-05/1.207, allocations: 31.98 kB / 0.5351 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.207, allocations: 7.938 kB / 0.5351 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.207, allocations: 0 / 0.5351 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/1.213, allocations: 2.968 MB / 0.538 GB, free: 85.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.214, allocations: 0.5316 MB / 0.5385 GB, free: 84.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/1.215, allocations: 20 kB / 0.5385 GB, free: 84.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.216, allocations: 131.7 kB / 0.5386 GB, free: 84.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.216, allocations: 92.86 kB / 0.5387 GB, free: 84.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/1.216, allocations: 39.75 kB / 0.5388 GB, free: 84.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001129/1.218, allocations: 0.6668 MB / 0.5394 GB, free: 84.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.218, allocations: 0 / 0.5394 GB, free: 84.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005557/1.223, allocations: 1.605 MB / 0.541 GB, free: 82.48 MB / 426.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: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.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.006509/1.23, allocations: 1.38 MB / 0.5423 GB, free: 81.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007542/1.237, allocations: 2.727 MB / 0.545 GB, free: 78.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.237, allocations: 0 / 0.545 GB, free: 78.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.24, allocations: 1.508 MB / 0.5465 GB, free: 77.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/1.245, allocations: 0.5791 MB / 0.547 GB, free: 76.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009478/1.255, allocations: 5.793 MB / 0.5527 GB, free: 70.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.256, allocations: 1.668 MB / 0.5543 GB, free: 69.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004814/1.261, allocations: 2 MB / 0.5563 GB, free: 67.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/1.261, allocations: 123.3 kB / 0.5564 GB, free: 66.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.261, allocations: 0 / 0.5564 GB, free: 66.98 MB / 426.7 MB Notification: Performance of Templates: time 0.1047/1.366, allocations: 48.67 MB / 0.6039 GB, free: 18.35 MB / 426.7 MB