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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.619e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.4501/0.5825, allocations: 61.67 MB / 472.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05149/0.6341, allocations: 26.97 MB / 499.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.6367, allocations: 55.56 kB / 499.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.6403, allocations: 0.8357 MB / 0.4887 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.6549, allocations: 3.596 MB / 0.4922 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01847/0.6734, allocations: 4.74 MB / 0.4969 GB, free: 5.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0069/0.6803, allocations: 2.621 MB / 0.4994 GB, free: 3.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.6824, allocations: 0.8964 MB / 0.5003 GB, free: 2.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01753/0.7, allocations: 7.017 MB / 0.5072 GB, free: 11.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.7026, allocations: 0.9856 MB / 0.5081 GB, free: 10.15 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/0.7229, allocations: 6.521 MB / 0.5145 GB, free: 3.625 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.7267, allocations: 444 kB / 0.5149 GB, free: 3.191 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.7282, allocations: 0.5728 MB / 0.5155 GB, free: 2.617 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.7293, allocations: 224 kB / 0.5157 GB, free: 2.398 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.7409, allocations: 4.404 MB / 0.52 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7409, allocations: 0 / 0.52 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7409, allocations: 0 / 0.52 GB, free: 13.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.576e-05/0.741, allocations: 0 / 0.52 GB, free: 13.98 MB / 442.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.008552/0.7496, allocations: 2.343 MB / 0.5223 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.7496, allocations: 12.03 kB / 0.5223 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009338/0.759, allocations: 0.833 MB / 0.5231 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.7621, allocations: 1.025 MB / 0.5241 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005282/0.7626, allocations: 468.4 kB / 0.5245 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.7631, allocations: 167.9 kB / 0.5247 GB, free: 8.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.7742, allocations: 3.174 MB / 0.5278 GB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.7743, allocations: 19.88 kB / 0.5278 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.7747, allocations: 76 kB / 0.5279 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.7748, allocations: 82.72 kB / 0.528 GB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.7863, allocations: 2.797 MB / 0.5307 GB, free: 2.57 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.02818/0.8145, allocations: 15.81 MB / 0.5461 GB, free: 1.656 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/0.8218, allocations: 1.467 MB / 0.5476 GB, free: 192 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.8237, allocations: 0.718 MB / 0.5483 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.8238, allocations: 51.56 kB / 0.5483 GB, free: 15.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 6.933e-06/0.8238, allocations: 3.984 kB / 0.5483 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.02855/0.8524, allocations: 5.5 MB / 0.5537 GB, free: 9.715 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.8526, allocations: 167.2 kB / 0.5539 GB, free: 9.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.8551, allocations: 1.274 MB / 0.5551 GB, free: 8.234 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.8554, allocations: 49.7 kB / 0.5552 GB, free: 8.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.8563, allocations: 0.923 MB / 0.5561 GB, free: 7.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/0.8568, allocations: 426.1 kB / 0.5565 GB, free: 6.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.857, allocations: 48 kB / 0.5565 GB, free: 6.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.8572, allocations: 399.4 kB / 0.5569 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.8601, allocations: 0.7072 MB / 0.5576 GB, free: 5.668 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/0.8641, allocations: 1.946 MB / 0.5595 GB, free: 3.105 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.8677, allocations: 1.033 MB / 0.5605 GB, free: 2.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/0.8677, allocations: 16 kB / 0.5605 GB, free: 2.055 MB / 474.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.009254/0.877, allocations: 2.809 MB / 0.5632 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.8771, allocations: 27.98 kB / 0.5633 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-05/0.8772, allocations: 44 kB / 0.5633 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.8793, allocations: 443.3 kB / 0.5637 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/0.8827, allocations: 0.5537 MB / 0.5643 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.8858, allocations: 2.744 MB / 0.567 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.8889, allocations: 223.7 kB / 0.5672 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.8892, allocations: 144 kB / 0.5673 GB, free: 10.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * 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 (265): * Single equations (assignments): 261 * 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.001202/0.8905, allocations: 0.5239 MB / 0.5678 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.8908, allocations: 173.9 kB / 0.568 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.9026, allocations: 5.098 MB / 0.573 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.9027, allocations: 47.88 kB / 0.573 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9027, allocations: 0 / 0.573 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.9027, allocations: 11.97 kB / 0.573 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.9188, allocations: 7.216 MB / 0.5801 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9189, allocations: 4 kB / 0.5801 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/0.9211, allocations: 304 kB / 0.5804 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.9233, allocations: 435 kB / 0.5808 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.9234, allocations: 24 kB / 0.5808 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.9267, allocations: 2.795 MB / 0.5835 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.9268, allocations: 4 kB / 0.5835 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.9379, allocations: 4.353 MB / 0.5878 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.9394, allocations: 0.5556 MB / 0.5883 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.9399, allocations: 27.94 kB / 0.5884 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.942, allocations: 151.6 kB / 0.5885 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.9423, allocations: 108.8 kB / 0.5886 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.9424, allocations: 47.97 kB / 0.5887 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00258/0.945, allocations: 1.213 MB / 0.5898 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9451, allocations: 4 kB / 0.5898 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005479/0.9505, allocations: 1.363 MB / 0.5912 GB, free: 1.938 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (103): * Single equations (assignments): 87 * 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.006652/0.9572, allocations: 1.389 MB / 0.5925 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007648/0.9649, allocations: 2.289 MB / 0.5948 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.965, allocations: 8.625 kB / 0.5948 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.9692, allocations: 1.375 MB / 0.5961 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007456/0.9766, allocations: 0.8769 MB / 0.597 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.9884, allocations: 5.659 MB / 0.6025 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.9902, allocations: 1.683 MB / 0.6041 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.9909, allocations: 155.4 kB / 0.6043 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.991, allocations: 0 / 0.6043 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of Templates: time 0.4762/1.467, allocations: 79.58 MB / 0.682 GB, free: 117.8 MB / 0.5105 GB