Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.773e-05, allocations: 0 / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3716, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.1064/0.4781, allocations: 61.32 MB / 424.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05319/0.5314, allocations: 26.88 MB / 451.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.5339, allocations: 67.5 kB / 451.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.5374, allocations: 0.8317 MB / 452 MB, free: 4.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.5523, allocations: 3.596 MB / 455.5 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01886/0.5712, allocations: 4.736 MB / 460.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.5776, allocations: 2.609 MB / 462.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.5798, allocations: 0.8921 MB / 463.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/0.5987, allocations: 6.994 MB / 470.8 MB, free: 1.715 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.6014, allocations: 0.97 MB / 471.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02061/0.6221, allocations: 6.524 MB / 478.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003562/0.6257, allocations: 440 kB / 478.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.6272, allocations: 0.5688 MB / 479.3 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.6284, allocations: 224 kB / 479.5 MB, free: 8.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.64, allocations: 4.392 MB / 483.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.64, allocations: 0 / 483.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.6401, allocations: 0 / 483.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.6402, allocations: 0 / 483.9 MB, free: 4.59 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.009046/0.6492, allocations: 2.339 MB / 486.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.6493, allocations: 8.031 kB / 486.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009873/0.6592, allocations: 0.8407 MB / 487.1 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.6626, allocations: 1.048 MB / 488.1 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006886/0.6633, allocations: 468.3 kB / 488.6 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006375/0.664, allocations: 168 kB / 488.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.676, allocations: 3.166 MB / 491.9 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.392e-05/0.6761, allocations: 15.88 kB / 491.9 MB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.6765, allocations: 87.97 kB / 492 MB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.6767, allocations: 86.7 kB / 492.1 MB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.6894, allocations: 2.785 MB / 494.9 MB, free: 9.16 MB / 426.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.328/1.017, allocations: 15.53 MB / 0.4984 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/1.024, allocations: 1.303 MB / 0.4997 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07831/1.103, allocations: 18.57 MB / 0.5179 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/1.103, allocations: 43.56 kB / 0.5179 GB, free: 106.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 3.727e-06/1.103, allocations: 0 / 0.5179 GB, free: 106.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.02491/1.128, allocations: 4.932 MB / 0.5227 GB, free: 101.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.128, allocations: 167.2 kB / 0.5229 GB, free: 101.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/1.13, allocations: 1.069 MB / 0.5239 GB, free: 100.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/1.13, allocations: 45.7 kB / 0.524 GB, free: 100.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000654/1.131, allocations: 0.9946 MB / 0.5249 GB, free: 99.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/1.131, allocations: 419.1 kB / 0.5253 GB, free: 98.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.131, allocations: 50.06 kB / 0.5254 GB, free: 98.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/1.131, allocations: 407.6 kB / 0.5258 GB, free: 98.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/1.134, allocations: 0.6376 MB / 0.5264 GB, free: 97.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/1.137, allocations: 1.947 MB / 0.5283 GB, free: 95.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/1.14, allocations: 0.9941 MB / 0.5293 GB, free: 94.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-05/1.14, allocations: 12 kB / 0.5293 GB, free: 94.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008337/1.149, allocations: 2.732 MB / 0.5319 GB, free: 91.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/1.149, allocations: 26.3 kB / 0.532 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/1.149, allocations: 44 kB / 0.532 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.151, allocations: 415.5 kB / 0.5324 GB, free: 90.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/1.154, allocations: 0.542 MB / 0.5329 GB, free: 90.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/1.156, allocations: 2.733 MB / 0.5356 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.159, allocations: 187.9 kB / 0.5358 GB, free: 87.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/1.16, allocations: 148.3 kB / 0.5359 GB, free: 87.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.161, allocations: 0.53 MB / 0.5364 GB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/1.161, allocations: 158.1 kB / 0.5366 GB, free: 86.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009511/1.171, allocations: 4.683 MB / 0.5412 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-05/1.171, allocations: 51.92 kB / 0.5412 GB, free: 81.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.171, allocations: 0 / 0.5412 GB, free: 81.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/1.171, allocations: 7.938 kB / 0.5412 GB, free: 81.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.185, allocations: 6.844 MB / 0.5479 GB, free: 74.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.185, allocations: 3.938 kB / 0.5479 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.187, allocations: 247.7 kB / 0.5481 GB, free: 74.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/1.188, allocations: 406.3 kB / 0.5485 GB, free: 74.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.189, allocations: 35.98 kB / 0.5486 GB, free: 74.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/1.191, allocations: 2.77 MB / 0.5513 GB, free: 71.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.191, allocations: 7.938 kB / 0.5513 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008934/1.2, allocations: 4.114 MB / 0.5553 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.202, allocations: 449.7 kB / 0.5557 GB, free: 66.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/1.202, allocations: 24 kB / 0.5557 GB, free: 66.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.204, allocations: 123.7 kB / 0.5559 GB, free: 66.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/1.204, allocations: 100.7 kB / 0.556 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.204, allocations: 43.98 kB / 0.556 GB, free: 66.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001507/1.206, allocations: 0.8188 MB / 0.5568 GB, free: 65.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.206, allocations: 0 / 0.5568 GB, free: 65.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005148/1.211, allocations: 1.33 MB / 0.5581 GB, free: 64.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006655/1.218, allocations: 1.373 MB / 0.5594 GB, free: 63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006158/1.224, allocations: 2.181 MB / 0.5616 GB, free: 60.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.224, allocations: 4 kB / 0.5616 GB, free: 60.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.228, allocations: 1.331 MB / 0.5629 GB, free: 59.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/1.233, allocations: 0.6022 MB / 0.5635 GB, free: 58.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.243, allocations: 5.534 MB / 0.5689 GB, free: 53.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.245, allocations: 1.651 MB / 0.5705 GB, free: 51.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/1.245, allocations: 139.4 kB / 0.5706 GB, free: 51.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.245, allocations: 4 kB / 0.5706 GB, free: 51.51 MB / 426.7 MB Notification: Performance of Templates: time 0.1555/1.401, allocations: 74.12 MB / 0.643 GB, free: 9.312 MB / 458.7 MB