Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.799e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 61.88 MB / 410.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.4623/0.6009, allocations: 46.6 MB / 457.5 MB, free: 2.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05493/0.6558, allocations: 24.82 MB / 482.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.6579, allocations: 41.62 kB / 482.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.6605, allocations: 0.531 MB / 482.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01726/0.6778, allocations: 4.061 MB / 487 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.6896, allocations: 2.82 MB / 489.8 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.6937, allocations: 1.514 MB / 491.3 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.6951, allocations: 0.5622 MB / 491.9 MB, free: 6.648 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02463/0.7198, allocations: 9.396 MB / 0.4895 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02907/0.7489, allocations: 11.88 MB / 0.5011 GB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/0.7721, allocations: 7.64 MB / 0.5086 GB, free: 9.715 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003484/0.7756, allocations: 484 kB / 0.509 GB, free: 9.242 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008434/0.7765, allocations: 323.1 kB / 0.5093 GB, free: 8.926 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.7772, allocations: 140 kB / 0.5095 GB, free: 8.789 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.7888, allocations: 4.085 MB / 0.5135 GB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7888, allocations: 0 / 0.5135 GB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7889, allocations: 4 kB / 0.5135 GB, free: 4.691 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.325e-05/0.7889, allocations: 0 / 0.5135 GB, free: 4.691 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.007286/0.7962, allocations: 1.926 MB / 0.5154 GB, free: 2.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7963, allocations: 8.031 kB / 0.5154 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/0.8038, allocations: 0.6348 MB / 0.516 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.8061, allocations: 0.7479 MB / 0.5167 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.8065, allocations: 216.7 kB / 0.5169 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.8068, allocations: 99.94 kB / 0.517 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.8139, allocations: 1.834 MB / 0.5188 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.814, allocations: 3.938 kB / 0.5188 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.8142, allocations: 55.92 kB / 0.5189 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/0.8143, allocations: 42 kB / 0.5189 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007641/0.822, allocations: 1.682 MB / 0.5205 GB, free: 13.19 MB / 442.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.01725/0.8393, allocations: 8.598 MB / 0.5289 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/0.8444, allocations: 1.025 MB / 0.5299 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07771/0.9222, allocations: 25.3 MB / 0.5546 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.9223, allocations: 43.12 kB / 0.5547 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008881/0.9232, allocations: 110.9 kB / 0.5548 GB, free: 5.758 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 3.757e-06/0.9232, allocations: 0 / 0.5548 GB, free: 5.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=78): time 0.01717/0.9404, allocations: 3.568 MB / 0.5583 GB, free: 2.117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.9406, allocations: 115.4 kB / 0.5584 GB, free: 1.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9421, allocations: 0.7426 MB / 0.5591 GB, free: 1.234 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.9423, allocations: 37.7 kB / 0.5592 GB, free: 1.191 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/0.9428, allocations: 0.5936 MB / 0.5597 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.9432, allocations: 284.1 kB / 0.56 GB, free: 316 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.9433, allocations: 24 kB / 0.56 GB, free: 292 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.9435, allocations: 358.8 kB / 0.5604 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.9452, allocations: 446.3 kB / 0.5608 GB, free: 15.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.9473, allocations: 1.005 MB / 0.5618 GB, free: 14.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.9494, allocations: 0.5809 MB / 0.5623 GB, free: 13.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9494, allocations: 4 kB / 0.5623 GB, free: 13.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005718/0.9551, allocations: 1.709 MB / 0.564 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.9552, allocations: 12 kB / 0.564 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.9553, allocations: 20 kB / 0.564 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/0.9597, allocations: 0.6226 MB / 0.5647 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.9613, allocations: 247.6 kB / 0.5649 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.965, allocations: 1.839 MB / 0.5667 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.967, allocations: 127.8 kB / 0.5668 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.9672, allocations: 83.92 kB / 0.5669 GB, free: 8.902 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.968, allocations: 331.6 kB / 0.5672 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.9682, allocations: 106.8 kB / 0.5673 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/0.9777, allocations: 4.526 MB / 0.5717 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-05/0.9778, allocations: 55.91 kB / 0.5718 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9779, allocations: 0 / 0.5718 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.9779, allocations: 7.969 kB / 0.5718 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.991, allocations: 6.309 MB / 0.5779 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.9911, allocations: 0 / 0.5779 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9923, allocations: 167.8 kB / 0.5781 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/0.9952, allocations: 0.6752 MB / 0.5788 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.9954, allocations: 20 kB / 0.5788 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.9979, allocations: 1.788 MB / 0.5805 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9979, allocations: 7.984 kB / 0.5805 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008874/1.007, allocations: 3.986 MB / 0.5844 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.008, allocations: 425.8 kB / 0.5848 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.008, allocations: 20 kB / 0.5849 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.01, allocations: 87.78 kB / 0.5849 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.01, allocations: 72.89 kB / 0.585 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.01, allocations: 39.97 kB / 0.585 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001366/1.011, allocations: 0.651 MB / 0.5857 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/1.011, allocations: 0 / 0.5857 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005145/1.016, allocations: 1.402 MB / 0.5871 GB, free: 3.953 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008299/1.025, allocations: 1.588 MB / 0.5886 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005087/1.03, allocations: 1.687 MB / 0.5902 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.03, allocations: 0 / 0.5902 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.033, allocations: 1.22 MB / 0.5914 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/1.038, allocations: 0.5088 MB / 0.5919 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/1.047, allocations: 4.485 MB / 0.5963 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/1.048, allocations: 1.422 MB / 0.5977 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/1.049, allocations: 103.4 kB / 0.5978 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/1.049, allocations: 0 / 0.5978 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of Templates: time 0.4439/1.493, allocations: 52.48 MB / 0.6491 GB, free: 152.3 MB / 0.5105 GB