Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.786e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.4355/0.5455, allocations: 77.11 MB / 422.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04975/0.5953, allocations: 27.87 MB / 449.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0038/0.5991, allocations: 76.97 kB / 450 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.6039, allocations: 1.064 MB / 451.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.6185, allocations: 3.255 MB / 454.3 MB, free: 10 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0292/0.6478, allocations: 6.441 MB / 460.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008102/0.6559, allocations: 2.848 MB / 463.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.6595, allocations: 1.39 MB / 465 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/0.6799, allocations: 7.371 MB / 472.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.6841, allocations: 1.36 MB / 473.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02771/0.7119, allocations: 8.261 MB / 482 MB, free: 1.465 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00472/0.7167, allocations: 0.5429 MB / 482.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.7186, allocations: 0.6584 MB / 483.2 MB, free: 268 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.7204, allocations: 256 kB / 483.5 MB, free: 12 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.7363, allocations: 5.698 MB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7363, allocations: 0 / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.7364, allocations: 4 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.7365, allocations: 0 / 489.2 MB, free: 10.3 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01174/0.7482, allocations: 2.796 MB / 492 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7483, allocations: 8.031 kB / 492 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/0.7664, allocations: 1.254 MB / 493.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.7706, allocations: 1.295 MB / 494.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/0.7712, allocations: 345.8 kB / 494.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008353/0.7721, allocations: 187.9 kB / 495 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.7871, allocations: 3.485 MB / 498.5 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.598e-05/0.7873, allocations: 4 kB / 498.5 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/0.7878, allocations: 95.97 kB / 498.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.7881, allocations: 107.2 kB / 498.7 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.8044, allocations: 3.51 MB / 0.4905 GB, free: 12.95 MB / 394.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.03896/0.8435, allocations: 14.47 MB / 0.5046 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.8567, allocations: 2.913 MB / 0.5074 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08726/0.9441, allocations: 24.51 MB / 0.5314 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/0.9442, allocations: 60.7 kB / 0.5314 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004537/0.9487, allocations: 445.9 kB / 0.5319 GB, free: 14.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=175): time 9.268e-06/0.9488, allocations: 0 / 0.5319 GB, free: 14.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.0727/1.022, allocations: 12.47 MB / 0.544 GB, free: 2.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.022, allocations: 150.5 kB / 0.5442 GB, free: 2.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/1.025, allocations: 1.233 MB / 0.5454 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006323/1.025, allocations: 65.7 kB / 0.5454 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008703/1.026, allocations: 0.7367 MB / 0.5462 GB, free: 15.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.028, allocations: 0.6777 MB / 0.5468 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.028, allocations: 48 kB / 0.5469 GB, free: 15.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002725/1.028, allocations: 402.9 kB / 0.5473 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005283/1.034, allocations: 1.296 MB / 0.5485 GB, free: 13.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005961/1.04, allocations: 1.728 MB / 0.5502 GB, free: 11.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005761/1.045, allocations: 1.4 MB / 0.5516 GB, free: 10.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/1.045, allocations: 0 / 0.5516 GB, free: 10.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01585/1.061, allocations: 3.936 MB / 0.5554 GB, free: 6.281 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.061, allocations: 12 kB / 0.5554 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/1.061, allocations: 15.98 kB / 0.5554 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008674/1.07, allocations: 1.58 MB / 0.557 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/1.074, allocations: 479.3 kB / 0.5574 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3041/1.379, allocations: 6.666 MB / 0.564 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/1.383, allocations: 223.8 kB / 0.5642 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/1.384, allocations: 116.8 kB / 0.5643 GB, free: 164.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.001769/1.385, allocations: 0.502 MB / 0.5648 GB, free: 164.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006752/1.386, allocations: 199.2 kB / 0.565 GB, free: 164.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/1.411, allocations: 10.01 MB / 0.5747 GB, free: 160.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/1.411, allocations: 107.7 kB / 0.5748 GB, free: 160.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/1.411, allocations: 3.938 kB / 0.5748 GB, free: 160.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-05/1.411, allocations: 11.53 kB / 0.5749 GB, free: 160.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/1.441, allocations: 13.35 MB / 0.5879 GB, free: 154.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/1.441, allocations: 3.828 kB / 0.5879 GB, free: 154.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003634/1.444, allocations: 420.3 kB / 0.5883 GB, free: 154.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/1.454, allocations: 4.09 MB / 0.5923 GB, free: 153.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005956/1.455, allocations: 59.97 kB / 0.5924 GB, free: 153.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.466, allocations: 8.766 MB / 0.6009 GB, free: 144.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.466, allocations: 2.062 kB / 0.6009 GB, free: 144.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.489, allocations: 10.79 MB / 0.6114 GB, free: 133.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.492, allocations: 0.9087 MB / 0.6123 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008556/1.493, allocations: 48 kB / 0.6124 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/1.497, allocations: 239.7 kB / 0.6126 GB, free: 132.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/1.498, allocations: 229.6 kB / 0.6128 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003465/1.498, allocations: 86.58 kB / 0.6129 GB, free: 131.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002473/1.501, allocations: 1.254 MB / 0.6141 GB, free: 130.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.501, allocations: 1.188 kB / 0.6141 GB, free: 130.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006575/1.507, allocations: 1.752 MB / 0.6158 GB, free: 128.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.008166/1.516, allocations: 1.732 MB / 0.6175 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.53, allocations: 4.284 MB / 0.6217 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.53, allocations: 4.562 kB / 0.6217 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009746/1.54, allocations: 3.145 MB / 0.6248 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008808/1.548, allocations: 1.057 MB / 0.6258 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.567, allocations: 9.511 MB / 0.6351 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.569, allocations: 2.191 MB / 0.6373 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.57, allocations: 203.3 kB / 0.6375 GB, free: 107.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/1.57, allocations: 0 / 0.6375 GB, free: 107.2 MB / 458.7 MB Notification: Performance of Templates: time 0.5437/2.114, allocations: 170 MB / 0.8035 GB, free: 100.2 MB / 458.7 MB