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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.338e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09012, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.514/6.604, allocations: 2.497 GB / 2.812 GB, free: 62.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/6.605, allocations: 82.45 kB / 2.812 GB, free: 62.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085/9.69, allocations: 0.6184 GB / 3.43 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.38e-06/9.69, allocations: 0 / 3.43 GB, free: 36.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001232/9.69, allocations: 49.11 kB / 3.43 GB, free: 36.13 MB / 458.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.008322/9.698, allocations: 2.366 MB / 3.432 GB, free: 35.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/9.698, allocations: 9.062 kB / 3.432 GB, free: 35.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/9.709, allocations: 0.8971 MB / 3.433 GB, free: 34.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/9.712, allocations: 1.06 MB / 3.434 GB, free: 34.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/9.712, allocations: 101 kB / 3.434 GB, free: 34.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/9.713, allocations: 114 kB / 3.435 GB, free: 34.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007171/9.72, allocations: 2.245 MB / 3.437 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/9.72, allocations: 5.438 kB / 3.437 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/9.72, allocations: 60.44 kB / 3.437 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/9.72, allocations: 31.62 kB / 3.437 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00712/9.727, allocations: 1.957 MB / 3.439 GB, free: 34.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/9.74, allocations: 9.761 MB / 3.448 GB, free: 27.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/9.745, allocations: 1.484 MB / 3.45 GB, free: 27.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/9.746, allocations: 416.9 kB / 3.45 GB, free: 27.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04985/9.796, allocations: 18.93 MB / 3.469 GB, free: 18.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/9.796, allocations: 44.2 kB / 3.469 GB, free: 18.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.295e-06/9.796, allocations: 0 / 3.469 GB, free: 18.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.009067/9.805, allocations: 2.26 MB / 3.471 GB, free: 17.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/9.805, allocations: 274 kB / 3.471 GB, free: 17.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/9.807, allocations: 0.7345 MB / 3.472 GB, free: 17.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/9.807, allocations: 42.77 kB / 3.472 GB, free: 17.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/9.807, allocations: 0.6706 MB / 3.473 GB, free: 17.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/9.808, allocations: 308.2 kB / 3.473 GB, free: 16.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/9.808, allocations: 26.06 kB / 3.473 GB, free: 16.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/9.808, allocations: 357.1 kB / 3.473 GB, free: 16.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007883/9.809, allocations: 329.6 kB / 3.474 GB, free: 16.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/9.81, allocations: 0.8821 MB / 3.474 GB, free: 15.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/9.811, allocations: 458.2 kB / 3.475 GB, free: 15.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/9.811, allocations: 7.156 kB / 3.475 GB, free: 15.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002984/9.814, allocations: 1.262 MB / 3.476 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002669/9.816, allocations: 6.881 MB / 3.483 GB, free: 24.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/9.817, allocations: 19.47 kB / 3.483 GB, free: 24.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.908e-05/9.817, allocations: 30.7 kB / 3.483 GB, free: 24.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/9.819, allocations: 391.6 kB / 3.483 GB, free: 24.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/9.819, allocations: 37.56 kB / 3.483 GB, free: 24.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/9.821, allocations: 237.2 kB / 3.483 GB, free: 24.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/9.821, allocations: 83.38 kB / 3.484 GB, free: 24.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/9.821, allocations: 3.969 kB / 3.484 GB, free: 24.43 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002564/9.823, allocations: 1.114 MB / 3.485 GB, free: 24.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/9.824, allocations: 19.17 kB / 3.485 GB, free: 24.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/9.824, allocations: 33.03 kB / 3.485 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/9.825, allocations: 383.4 kB / 3.485 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/9.825, allocations: 40.89 kB / 3.485 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/9.827, allocations: 207.5 kB / 3.485 GB, free: 24.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/9.827, allocations: 83.09 kB / 3.485 GB, free: 24.33 MB / 474.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.0004157/9.828, allocations: 197 kB / 3.486 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/9.828, allocations: 126 kB / 3.486 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007821/9.836, allocations: 5.814 MB / 3.491 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.927e-05/9.836, allocations: 88.33 kB / 3.491 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.205e-06/9.836, allocations: 0 / 3.491 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/9.836, allocations: 4.922 kB / 3.491 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/9.84, allocations: 2.803 MB / 3.494 GB, free: 23.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/9.84, allocations: 0 / 3.494 GB, free: 23.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/9.842, allocations: 288.7 kB / 3.494 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/9.842, allocations: 7.266 kB / 3.494 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/9.842, allocations: 37.88 kB / 3.494 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/9.842, allocations: 3.344 kB / 3.494 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-06/9.842, allocations: 0 / 3.494 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/9.846, allocations: 2.673 MB / 3.497 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/9.847, allocations: 0.5203 MB / 3.498 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/9.847, allocations: 23.98 kB / 3.498 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/9.848, allocations: 144.4 kB / 3.498 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/9.848, allocations: 101.9 kB / 3.498 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/9.848, allocations: 30.75 kB / 3.498 GB, free: 22.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001156/9.849, allocations: 0.6549 MB / 3.499 GB, free: 22.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.02e-06/9.849, allocations: 3.125 kB / 3.499 GB, free: 22.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00696/9.856, allocations: 1.715 MB / 3.5 GB, free: 22.01 MB / 474.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 ($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.00876/9.865, allocations: 1.961 MB / 3.502 GB, free: 21.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004166/9.869, allocations: 2.22 MB / 3.504 GB, free: 21.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.024e-06/9.87, allocations: 0 / 3.504 GB, free: 21.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/9.872, allocations: 1.353 MB / 3.506 GB, free: 21.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/9.875, allocations: 0.5828 MB / 3.506 GB, free: 21.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.657/10.53, allocations: 123.3 MB / 3.627 GB, free: 43.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/10.53, allocations: 1.666 MB / 3.628 GB, free: 42.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00477/10.54, allocations: 2.006 MB / 3.63 GB, free: 42.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/10.54, allocations: 119.1 kB / 3.63 GB, free: 42.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.785e-06/10.54, allocations: 0 / 3.63 GB, free: 42.41 MB / 474.7 MB Notification: Performance of Templates: time 0.1135/10.65, allocations: 59.75 MB / 3.689 GB, free: 23.29 MB / 474.7 MB