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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.832e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3488, allocations: 48.71 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.09018/0.4391, allocations: 46 MB / 370.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05072/0.4898, allocations: 24.43 MB / 395.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.4917, allocations: 39.69 kB / 395.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.4939, allocations: 0.5325 MB / 395.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01803/0.5119, allocations: 4.015 MB / 399.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.5227, allocations: 2.746 MB / 402.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003866/0.5265, allocations: 1.476 MB / 404.1 MB, free: 108 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.5278, allocations: 0.5468 MB / 404.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0233/0.5511, allocations: 9.282 MB / 414 MB, free: 6.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02775/0.5789, allocations: 11.77 MB / 425.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02247/0.6014, allocations: 7.488 MB / 433.2 MB, free: 3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003243/0.6047, allocations: 472 kB / 433.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.6054, allocations: 311.1 kB / 434 MB, free: 2.234 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005578/0.606, allocations: 140 kB / 434.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.6172, allocations: 4.054 MB / 438.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6172, allocations: 4 kB / 438.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6172, allocations: 0 / 438.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.6173, allocations: 0 / 438.2 MB, free: 14.03 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006836/0.6241, allocations: 1.879 MB / 440.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6242, allocations: 12.02 kB / 440.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.6313, allocations: 0.5996 MB / 440.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.6335, allocations: 0.7557 MB / 441.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.6338, allocations: 208.8 kB / 441.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.6341, allocations: 96 kB / 441.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006593/0.6407, allocations: 1.842 MB / 443.6 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.6408, allocations: 7.938 kB / 443.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.641, allocations: 44 kB / 443.6 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.807e-05/0.6411, allocations: 49.94 kB / 443.7 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007022/0.6481, allocations: 1.674 MB / 445.3 MB, free: 6.613 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.01472/0.6629, allocations: 8.453 MB / 453.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.6675, allocations: 0.9442 MB / 454.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4913/1.159, allocations: 57.98 MB / 0.5007 GB, free: 113.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/1.159, allocations: 42.88 kB / 0.5007 GB, free: 113.8 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007804/1.16, allocations: 96.33 kB / 0.5008 GB, free: 113.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.296e-06/1.16, allocations: 0 / 0.5008 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.01491/1.175, allocations: 3.34 MB / 0.5041 GB, free: 112 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.175, allocations: 114.7 kB / 0.5042 GB, free: 111.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.176, allocations: 0.6944 MB / 0.5049 GB, free: 111.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.176, allocations: 38.92 kB / 0.5049 GB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/1.177, allocations: 0.599 MB / 0.5055 GB, free: 110.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/1.177, allocations: 276 kB / 0.5058 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/1.177, allocations: 29.44 kB / 0.5058 GB, free: 110.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/1.177, allocations: 405.7 kB / 0.5062 GB, free: 110.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/1.179, allocations: 417.9 kB / 0.5066 GB, free: 110.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.181, allocations: 1.037 MB / 0.5076 GB, free: 109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.182, allocations: 0.5827 MB / 0.5082 GB, free: 108.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.182, allocations: 4 kB / 0.5082 GB, free: 108.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005586/1.188, allocations: 1.74 MB / 0.5099 GB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/1.188, allocations: 12 kB / 0.5099 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.188, allocations: 24.62 kB / 0.5099 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/1.192, allocations: 0.6027 MB / 0.5105 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.194, allocations: 255.6 kB / 0.5107 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/1.197, allocations: 1.81 MB / 0.5125 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.199, allocations: 130.6 kB / 0.5126 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.2, allocations: 82.14 kB / 0.5127 GB, free: 103.7 MB / 410.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.0007106/1.2, allocations: 339.5 kB / 0.513 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/1.201, allocations: 97.97 kB / 0.5131 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007941/1.209, allocations: 4.413 MB / 0.5174 GB, free: 98.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-05/1.209, allocations: 59.91 kB / 0.5175 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/1.209, allocations: 4 kB / 0.5175 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.209, allocations: 3.984 kB / 0.5175 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.219, allocations: 6.165 MB / 0.5235 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.219, allocations: 1.594 kB / 0.5235 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.22, allocations: 155.8 kB / 0.5237 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.223, allocations: 0.6427 MB / 0.5243 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.223, allocations: 24 kB / 0.5243 GB, free: 91.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.225, allocations: 1.805 MB / 0.5261 GB, free: 89.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.225, allocations: 0 / 0.5261 GB, free: 89.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007308/1.232, allocations: 3.873 MB / 0.5299 GB, free: 85.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/1.233, allocations: 405.9 kB / 0.5302 GB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/1.234, allocations: 19.69 kB / 0.5303 GB, free: 85.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.235, allocations: 67.89 kB / 0.5303 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.235, allocations: 88.75 kB / 0.5304 GB, free: 85.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/1.235, allocations: 31.98 kB / 0.5304 GB, free: 85.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001002/1.236, allocations: 0.5596 MB / 0.531 GB, free: 84.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.236, allocations: 0 / 0.531 GB, free: 84.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004912/1.241, allocations: 1.378 MB / 0.5323 GB, free: 83.41 MB / 410.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.008338/1.25, allocations: 1.585 MB / 0.5339 GB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00427/1.254, allocations: 1.651 MB / 0.5355 GB, free: 80.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.557e-06/1.254, allocations: 0 / 0.5355 GB, free: 80.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/1.256, allocations: 1.185 MB / 0.5366 GB, free: 79.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.26, allocations: 423.2 kB / 0.5371 GB, free: 78.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/1.268, allocations: 4.529 MB / 0.5415 GB, free: 74.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/1.269, allocations: 1.418 MB / 0.5429 GB, free: 72.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002141/1.271, allocations: 0.566 MB / 0.5434 GB, free: 72.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/1.272, allocations: 91.42 kB / 0.5435 GB, free: 72.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/1.272, allocations: 0 / 0.5435 GB, free: 72.17 MB / 410.7 MB Notification: Performance of Templates: time 0.1217/1.393, allocations: 45.94 MB / 0.5884 GB, free: 26.3 MB / 410.7 MB