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_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.525e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 54.85 MB / 362.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.08181/0.4967, allocations: 46.38 MB / 409.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04826/0.545, allocations: 24.67 MB / 433.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.5467, allocations: 39.69 kB / 434 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.5491, allocations: 0.5247 MB / 434.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01651/0.5657, allocations: 4.065 MB / 438.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.5778, allocations: 2.796 MB / 441.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003847/0.5816, allocations: 1.507 MB / 442.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.583, allocations: 0.5507 MB / 443.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03141/0.6144, allocations: 9.392 MB / 452.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04461/0.6591, allocations: 11.87 MB / 464.7 MB, free: 7.793 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03435/0.6935, allocations: 7.621 MB / 472.3 MB, free: 168 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00427/0.6978, allocations: 484 kB / 472.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.6987, allocations: 331 kB / 473.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.6995, allocations: 136 kB / 473.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.7126, allocations: 4.104 MB / 477.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7126, allocations: 0 / 477.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7127, allocations: 0 / 477.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.014e-05/0.7127, allocations: 0 / 477.3 MB, free: 11.12 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01056/0.7233, allocations: 1.911 MB / 479.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.7234, allocations: 8.031 kB / 479.2 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.7351, allocations: 0.6464 MB / 479.9 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.7384, allocations: 0.7596 MB / 480.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004091/0.7388, allocations: 216.8 kB / 480.9 MB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.7393, allocations: 96 kB / 480.9 MB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009688/0.749, allocations: 1.83 MB / 482.8 MB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-05/0.7491, allocations: 7.938 kB / 482.8 MB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.7495, allocations: 44 kB / 482.8 MB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.7496, allocations: 49.98 kB / 482.9 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.76, allocations: 1.686 MB / 484.6 MB, free: 3.621 MB / 410.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.02119/0.7813, allocations: 8.454 MB / 493 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007901/0.7893, allocations: 0.9337 MB / 493.9 MB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5005/1.29, allocations: 58.07 MB / 0.5391 GB, free: 80.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/1.29, allocations: 43.11 kB / 0.5391 GB, free: 80.68 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000835/1.291, allocations: 89.89 kB / 0.5392 GB, free: 80.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.168e-06/1.291, allocations: 0 / 0.5392 GB, free: 80.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.01576/1.307, allocations: 3.355 MB / 0.5425 GB, free: 77.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.307, allocations: 119.5 kB / 0.5426 GB, free: 77.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.308, allocations: 0.6921 MB / 0.5433 GB, free: 76.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/1.308, allocations: 37.7 kB / 0.5433 GB, free: 76.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/1.309, allocations: 0.6029 MB / 0.5439 GB, free: 75.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/1.309, allocations: 275 kB / 0.5442 GB, free: 75.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/1.309, allocations: 28 kB / 0.5442 GB, free: 75.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/1.309, allocations: 407.8 kB / 0.5446 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/1.311, allocations: 415.7 kB / 0.545 GB, free: 74.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.313, allocations: 1.039 MB / 0.546 GB, free: 73.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.315, allocations: 0.5769 MB / 0.5465 GB, free: 72.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/1.315, allocations: 8 kB / 0.5466 GB, free: 72.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006046/1.321, allocations: 1.732 MB / 0.5482 GB, free: 71.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/1.321, allocations: 16 kB / 0.5483 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.321, allocations: 20 kB / 0.5483 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/1.326, allocations: 0.6084 MB / 0.5489 GB, free: 70.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.327, allocations: 255.6 kB / 0.5491 GB, free: 70.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/1.33, allocations: 1.812 MB / 0.5509 GB, free: 68.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.332, allocations: 114.6 kB / 0.551 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/1.333, allocations: 87.92 kB / 0.5511 GB, free: 68.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (141): * Single equations (assignments): 139 * 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 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007567/1.333, allocations: 346.4 kB / 0.5514 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/1.334, allocations: 94.88 kB / 0.5515 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.345, allocations: 4.418 MB / 0.5558 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/1.345, allocations: 59.89 kB / 0.5559 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.345, allocations: 0 / 0.5559 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.345, allocations: 3.984 kB / 0.5559 GB, free: 63.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/1.374, allocations: 6.173 MB / 0.5619 GB, free: 56.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.374, allocations: 0 / 0.5619 GB, free: 56.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.375, allocations: 147.8 kB / 0.562 GB, free: 56.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007994/1.383, allocations: 0.6438 MB / 0.5627 GB, free: 56.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004472/1.388, allocations: 23.98 kB / 0.5627 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/1.391, allocations: 1.8 MB / 0.5645 GB, free: 54.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.391, allocations: 3.938 kB / 0.5645 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.402, allocations: 3.874 MB / 0.5682 GB, free: 50.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.403, allocations: 409.9 kB / 0.5686 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.404, allocations: 20.92 kB / 0.5686 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.406, allocations: 79.73 kB / 0.5687 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/1.406, allocations: 76.81 kB / 0.5688 GB, free: 49.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.406, allocations: 35.98 kB / 0.5688 GB, free: 49.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001582/1.408, allocations: 0.5596 MB / 0.5694 GB, free: 49.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.12e-07/1.408, allocations: 0 / 0.5694 GB, free: 49.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008244/1.416, allocations: 1.384 MB / 0.5707 GB, free: 47.8 MB / 426.7 MB 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,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.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 (80): * Single equations (assignments): 62 * 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.01266/1.429, allocations: 1.578 MB / 0.5723 GB, free: 46.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006095/1.435, allocations: 1.651 MB / 0.5739 GB, free: 44.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.435, allocations: 0 / 0.5739 GB, free: 44.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003887/1.439, allocations: 1.185 MB / 0.575 GB, free: 43.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.444, allocations: 425.9 kB / 0.5754 GB, free: 43.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/1.452, allocations: 4.524 MB / 0.5799 GB, free: 38.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/1.453, allocations: 1.421 MB / 0.5813 GB, free: 37.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002047/1.455, allocations: 0.5562 MB / 0.5818 GB, free: 36.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/1.456, allocations: 99.42 kB / 0.5819 GB, free: 36.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/1.456, allocations: 0 / 0.5819 GB, free: 36.64 MB / 426.7 MB Notification: Performance of Templates: time 0.1022/1.558, allocations: 46.16 MB / 0.627 GB, free: 6.52 MB / 442.7 MB