Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Volume.ports.1..m_flow|Volume.ports.1..p|Volume.ports.1..h_outflow|Volume.ports.2..m_flow|Volume.ports.2..p|Volume.ports.2..h_outflow|Volume.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|Volume.ports_H_flow.1.|Volume.ports_H_flow.2.|Volume.ports_E_flow.1.|Volume.ports_E_flow.2.|Volume.ports_penetration.1.|Volume.ports_penetration.2.|Volume.portsData_diameter_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.2.|Volume.portsData_diameter.1.|Volume.portsData_diameter.2.|Volume.portsData_height.1.|Volume.portsData_height.2.|Volume.portsData_zeta_in.1.|Volume.portsData_zeta_in.2.|Volume.portsData_zeta_out.1.|Volume.portsData_zeta_out.2.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.146e-05, allocations: 8 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 61.88 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.3999/0.5304, allocations: 29.85 MB / 440.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.5577, allocations: 13.5 MB / 454.3 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.5589, allocations: 27.78 kB / 454.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.5603, allocations: 328.9 kB / 454.6 MB, free: 4.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.5723, allocations: 2.784 MB / 457.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.5847, allocations: 2.263 MB / 459.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.5881, allocations: 0.8629 MB / 460.5 MB, free: 124 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.5894, allocations: 389.2 kB / 460.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.592, allocations: 0.5793 MB / 461.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009525/0.6016, allocations: 390.1 kB / 461.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05169/0.6534, allocations: 6.744 MB / 468.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003145/0.6566, allocations: 429.2 kB / 469 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.6572, allocations: 199.9 kB / 469.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.6577, allocations: 80.56 kB / 469.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009204/0.6669, allocations: 3.219 MB / 472.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.667, allocations: 4 kB / 472.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.667, allocations: 4 kB / 472.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.667, allocations: 0 / 472.5 MB, free: 10.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00574/0.6728, allocations: 1.408 MB / 473.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6729, allocations: 8.031 kB / 473.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.6773, allocations: 382.7 kB / 474.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.6787, allocations: 0.5123 MB / 474.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.6789, allocations: 116.7 kB / 474.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.6791, allocations: 56 kB / 475 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.6835, allocations: 1.146 MB / 476.1 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.6835, allocations: 0 / 476.1 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.6837, allocations: 28 kB / 476.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/0.6838, allocations: 41.28 kB / 476.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00465/0.6884, allocations: 1.086 MB / 477.3 MB, free: 5.133 MB / 378.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.0118/0.7003, allocations: 5.052 MB / 482.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004777/0.7051, allocations: 0.9536 MB / 483.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08699/0.7921, allocations: 24.45 MB / 0.4959 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.7922, allocations: 35 kB / 0.4959 GB, free: 3.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 3.406e-06/0.7923, allocations: 0 / 0.4959 GB, free: 3.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.01219/0.8045, allocations: 2.068 MB / 0.4979 GB, free: 1.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.8046, allocations: 115.2 kB / 0.498 GB, free: 1.094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.8057, allocations: 0.5215 MB / 0.4985 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.8058, allocations: 33.64 kB / 0.4986 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.8061, allocations: 362.1 kB / 0.4989 GB, free: 172 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.8064, allocations: 153.8 kB / 0.499 GB, free: 16 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.8065, allocations: 16 kB / 0.4991 GB, free: 0 / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8066, allocations: 330.8 kB / 0.4994 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.808, allocations: 337.1 kB / 0.4997 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.8095, allocations: 0.4904 MB / 0.5002 GB, free: 14.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.8109, allocations: 352.6 kB / 0.5005 GB, free: 14.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.8109, allocations: 4 kB / 0.5005 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004039/0.815, allocations: 1.048 MB / 0.5015 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.8151, allocations: 6.812 kB / 0.5015 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.8151, allocations: 4 kB / 0.5016 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.817, allocations: 433.7 kB / 0.502 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/0.818, allocations: 123.8 kB / 0.5021 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.8212, allocations: 1.643 MB / 0.5037 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.8225, allocations: 119.1 kB / 0.5038 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.8226, allocations: 27.98 kB / 0.5038 GB, free: 10.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005457/0.8232, allocations: 237.6 kB / 0.5041 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.8234, allocations: 59.25 kB / 0.5041 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/0.831, allocations: 3.316 MB / 0.5074 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/0.8311, allocations: 43.94 kB / 0.5074 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8311, allocations: 0 / 0.5074 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8311, allocations: 7.922 kB / 0.5074 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.8339, allocations: 1.561 MB / 0.5089 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.834, allocations: 0 / 0.5089 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.8347, allocations: 91.94 kB / 0.509 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.8373, allocations: 0.8934 MB / 0.5099 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.405e-05/0.8374, allocations: 19.98 kB / 0.5099 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.8414, allocations: 2.299 MB / 0.5121 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.8415, allocations: 0 / 0.5121 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/0.8471, allocations: 2.312 MB / 0.5144 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.8479, allocations: 354.6 kB / 0.5147 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.8482, allocations: 12 kB / 0.5148 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.8493, allocations: 83.77 kB / 0.5148 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.8495, allocations: 64.45 kB / 0.5149 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/0.8496, allocations: 19.98 kB / 0.5149 GB, free: 15.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.8506, allocations: 0.5107 MB / 0.5154 GB, free: 14.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8507, allocations: 0 / 0.5154 GB, free: 14.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004335/0.855, allocations: 1.113 MB / 0.5165 GB, free: 13.8 MB / 442.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: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.007621/0.8627, allocations: 1.319 MB / 0.5178 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004114/0.8668, allocations: 1.146 MB / 0.5189 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.8669, allocations: 0 / 0.5189 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.8695, allocations: 0.8773 MB / 0.5198 GB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.8727, allocations: 359.8 kB / 0.5201 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.8789, allocations: 3.03 MB / 0.5231 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.8799, allocations: 1.177 MB / 0.5242 GB, free: 5.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.8802, allocations: 59.42 kB / 0.5243 GB, free: 5.809 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8802, allocations: 4 kB / 0.5243 GB, free: 5.805 MB / 442.7 MB Notification: Performance of Templates: time 0.08776/0.968, allocations: 40.48 MB / 0.5638 GB, free: 13.35 MB / 490.7 MB