Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.106e-05, allocations: 7.906 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002122/0.2996, allocations: 1.264 MB / 304.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.3006, allocations: 430.5 kB / 305 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3007, allocations: 7.062 kB / 305 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3007, allocations: 9.047 kB / 305 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.3008, allocations: 24.98 kB / 305 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.301, allocations: 19.42 kB / 305.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3011, allocations: 54.33 kB / 305.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3013, allocations: 23.55 kB / 305.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.3013, allocations: 24.02 kB / 305.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3014, allocations: 32.8 kB / 305.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.3015, allocations: 9.984 kB / 305.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3016, allocations: 12.12 kB / 305.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.3016, allocations: 11.14 kB / 305.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.3016, allocations: 8.469 kB / 305.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3018, allocations: 70.16 kB / 305.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3018, allocations: 0 / 305.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3018, allocations: 0 / 305.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3019, allocations: 0 / 305.3 MB, free: 11.39 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005153/0.3024, allocations: 368.4 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3024, allocations: 12.41 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3026, allocations: 15.16 kB / 305.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3028, allocations: 169 kB / 305.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3028, allocations: 4.156 kB / 305.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.3029, allocations: 9.281 kB / 305.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3031, allocations: 86.33 kB / 305.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3031, allocations: 4.969 kB / 306 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3032, allocations: 4.984 kB / 306 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3032, allocations: 2.375 kB / 306 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3034, allocations: 51.12 kB / 306 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008668/0.3042, allocations: 402.5 kB / 306.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3044, allocations: 70.02 kB / 306.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3045, allocations: 5.188 kB / 306.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3045, allocations: 31.66 kB / 306.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.3045, allocations: 0 / 306.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002803/0.3048, allocations: 96.02 kB / 306.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3049, allocations: 52.62 kB / 306.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.305, allocations: 99.52 kB / 306.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.305, allocations: 33.64 kB / 306.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.3051, allocations: 99.97 kB / 306.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.3051, allocations: 31.56 kB / 306.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.3051, allocations: 4 kB / 306.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3053, allocations: 318.8 kB / 307.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.3053, allocations: 20 kB / 307.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.3054, allocations: 46.56 kB / 307.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.3055, allocations: 28 kB / 307.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3056, allocations: 4 kB / 307.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.3058, allocations: 101.5 kB / 307.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3058, allocations: 11.94 kB / 307.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3058, allocations: 0 / 307.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3059, allocations: 3.938 kB / 307.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3061, allocations: 23.98 kB / 307.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3061, allocations: 7.953 kB / 307.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-05/0.3062, allocations: 15.84 kB / 307.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3062, allocations: 7.938 kB / 307.5 MB, free: 9.215 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3063, allocations: 121.8 kB / 307.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3064, allocations: 3.906 kB / 307.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.3064, allocations: 8.375 kB / 307.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3065, allocations: 4 kB / 307.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3065, allocations: 0 / 307.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3065, allocations: 7.938 kB / 307.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3068, allocations: 185.6 kB / 307.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3068, allocations: 0 / 307.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.307, allocations: 19.98 kB / 307.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.307, allocations: 4 kB / 307.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3071, allocations: 4.25 kB / 307.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3071, allocations: 4 kB / 307.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3071, allocations: 0 / 307.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3074, allocations: 199.3 kB / 308 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.3074, allocations: 81.05 kB / 308.1 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3075, allocations: 0 / 308.1 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.3076, allocations: 4.094 kB / 308.1 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.3076, allocations: 11.98 kB / 308.1 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.3076, allocations: 4 kB / 308.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.201e-05/0.3077, allocations: 79.28 kB / 308.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3077, allocations: 0 / 308.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000318/0.308, allocations: 27.91 kB / 308.2 MB, free: 8.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001212/0.3082, allocations: 103.2 kB / 308.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3084, allocations: 55.92 kB / 308.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3084, allocations: 4.125 kB / 308.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.68e-05/0.3084, allocations: 20 kB / 308.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3087, allocations: 11.94 kB / 308.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.3095, allocations: 373.5 kB / 308.8 MB, free: 7.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3098, allocations: 0.7004 MB / 309.5 MB, free: 7.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.3099, allocations: 4 kB / 309.5 MB, free: 7.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.3099, allocations: 11.44 kB / 309.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3099, allocations: 0 / 309.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of Templates: time 0.003646/0.3136, allocations: 0.5682 MB / 310.1 MB, free: 6.465 MB / 250.7 MB