Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.305e-05, allocations: 8 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08008, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006171/0.0863, allocations: 3.724 MB / 270.6 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.08921, allocations: 1.096 MB / 271.7 MB, free: 11.63 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.08972, allocations: 12 kB / 271.7 MB, free: 11.62 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.09004, allocations: 95.27 kB / 271.8 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.09089, allocations: 295 kB / 272.1 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.0914, allocations: 159.8 kB / 272.3 MB, free: 11.08 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.09256, allocations: 0.5819 MB / 272.9 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.09298, allocations: 180.5 kB / 273 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.09353, allocations: 339.2 kB / 273.4 MB, free: 9.992 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.09422, allocations: 382.8 kB / 273.7 MB, free: 9.617 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.09446, allocations: 56 kB / 273.8 MB, free: 9.562 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.09462, allocations: 52 kB / 273.9 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.09484, allocations: 167.4 kB / 274 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.09514, allocations: 96 kB / 274.1 MB, free: 9.254 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.09628, allocations: 0.8102 MB / 274.9 MB, free: 8.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0963, allocations: 4 kB / 274.9 MB, free: 8.438 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.09631, allocations: 0 / 274.9 MB, free: 8.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.09634, allocations: 0 / 274.9 MB, free: 8.438 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.004081/0.1004, allocations: 1.05 MB / 276 MB, free: 7.32 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.1005, allocations: 16.03 kB / 276 MB, free: 7.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.1012, allocations: 102.9 kB / 276.1 MB, free: 7.203 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1035, allocations: 0.5076 MB / 276.6 MB, free: 6.652 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008495/0.1044, allocations: 170.4 kB / 276.8 MB, free: 6.465 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.1048, allocations: 52 kB / 276.8 MB, free: 6.414 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.1084, allocations: 0.8587 MB / 277.7 MB, free: 5.453 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.1085, allocations: 3.938 kB / 277.7 MB, free: 5.449 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.1088, allocations: 32 kB / 277.7 MB, free: 5.418 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.1088, allocations: 15.98 kB / 277.7 MB, free: 5.402 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/0.113, allocations: 0.6414 MB / 278.4 MB, free: 4.762 MB / 234.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.008411/0.1215, allocations: 1.983 MB / 280.3 MB, free: 2.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.1256, allocations: 0.8818 MB / 281.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.1258, allocations: 16.64 kB / 281.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/0.1259, allocations: 51.22 kB / 281.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of pre-optimization done (n=72): time 5.58e-06/0.1259, allocations: 0 / 281.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of matching and sorting (n=72): time 0.01569/0.1416, allocations: 1.998 MB / 283.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005776/0.1423, allocations: 0.8273 MB / 284.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.1437, allocations: 495.4 kB / 284.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002916/0.1441, allocations: 45.7 kB / 284.6 MB, free: 14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005339/0.1446, allocations: 321.1 kB / 285 MB, free: 13.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.1451, allocations: 248.3 kB / 285.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.1452, allocations: 12 kB / 285.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003011/0.1456, allocations: 382.8 kB / 285.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.1477, allocations: 309.8 kB / 285.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.1504, allocations: 0.5682 MB / 286.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.1529, allocations: 416.1 kB / 286.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.1529, allocations: 0 / 286.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.008128/0.1611, allocations: 1.172 MB / 288 MB, free: 10.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.1613, allocations: 85.11 kB / 288.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1613, allocations: 0 / 288.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.1632, allocations: 251.2 kB / 288.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.1653, allocations: 147.8 kB / 288.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.1848, allocations: 6.574 MB / 295.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.1873, allocations: 127.4 kB / 295.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.1875, allocations: 23.94 kB / 295.2 MB, free: 2.668 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 3 * 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 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007875/0.1883, allocations: 217.7 kB / 295.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.1888, allocations: 79.16 kB / 295.5 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.1892, allocations: 87.02 kB / 295.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.1892, allocations: 8 kB / 295.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1892, allocations: 3.984 kB / 295.6 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006783/0.196, allocations: 1.335 MB / 297 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2261/0.4222, allocations: 1.927 MB / 298.9 MB, free: 30.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.4222, allocations: 0 / 298.9 MB, free: 30.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.4237, allocations: 156.5 kB / 299 MB, free: 30.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4247, allocations: 213.9 kB / 299.2 MB, free: 30.08 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4248, allocations: 14.72 kB / 299.3 MB, free: 30.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.4356, allocations: 5.12 MB / 304.4 MB, free: 26.28 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4357, allocations: 0.875 kB / 304.4 MB, free: 26.28 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.4421, allocations: 1.506 MB / 305.9 MB, free: 25.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.4425, allocations: 162.7 kB / 306 MB, free: 25.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.4427, allocations: 15.19 kB / 306.1 MB, free: 25.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.444, allocations: 70.91 kB / 306.1 MB, free: 25.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.4443, allocations: 61.48 kB / 306.2 MB, free: 25.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.4444, allocations: 21.25 kB / 306.2 MB, free: 25.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007319/0.4451, allocations: 394.1 kB / 306.6 MB, free: 25.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4452, allocations: 0 / 306.6 MB, free: 25.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00133/0.4465, allocations: 272.9 kB / 306.9 MB, free: 25.37 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.4468, allocations: 120.5 kB / 307 MB, free: 25.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.4508, allocations: 1.393 MB / 308.4 MB, free: 24.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.4508, allocations: 2.719 kB / 308.4 MB, free: 24.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.4534, allocations: 0.8053 MB / 309.2 MB, free: 23.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.455, allocations: 194.6 kB / 309.4 MB, free: 23.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.4598, allocations: 1.897 MB / 311.3 MB, free: 22.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.4604, allocations: 0.9435 MB / 312.2 MB, free: 21.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0008301/0.4613, allocations: 90.36 kB / 312.3 MB, free: 21.95 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.4615, allocations: 50.75 kB / 312.3 MB, free: 21.95 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4616, allocations: 0 / 312.3 MB, free: 21.95 MB / 250.7 MB Notification: Performance of Templates: time 0.03661/0.4982, allocations: 15.13 MB / 327.5 MB, free: 10.53 MB / 250.7 MB