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.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.631/1.631, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.313e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08603, allocations: 38.76 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002107/0.0882, allocations: 1.258 MB / 268.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.08917, allocations: 427.8 kB / 268.6 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.08924, allocations: 4 kB / 268.6 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.08929, allocations: 7.922 kB / 268.6 MB, free: 14.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.08938, allocations: 23.92 kB / 268.6 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.08956, allocations: 27.91 kB / 268.6 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.08968, allocations: 51.88 kB / 268.7 MB, free: 14.67 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.08982, allocations: 23.97 kB / 268.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.08991, allocations: 27.98 kB / 268.7 MB, free: 14.62 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.09003, allocations: 27.92 kB / 268.8 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.805e-05/0.09014, allocations: 7.938 kB / 268.8 MB, free: 14.58 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.09017, allocations: 4 kB / 268.8 MB, free: 14.58 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.0902, allocations: 11.98 kB / 268.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.09024, allocations: 8 kB / 268.8 MB, free: 14.56 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.09042, allocations: 76.06 kB / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09044, allocations: 0 / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09045, allocations: 0 / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.09047, allocations: 0 / 268.9 MB, free: 14.48 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005565/0.09103, allocations: 371.2 kB / 269.2 MB, free: 14.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.09109, allocations: 8.031 kB / 269.2 MB, free: 14.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.09126, allocations: 11.89 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.09144, allocations: 171 kB / 269.4 MB, free: 13.85 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.09147, allocations: 11.95 kB / 269.4 MB, free: 13.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.09152, allocations: 8 kB / 269.4 MB, free: 13.83 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.09176, allocations: 89.59 kB / 269.5 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.09179, allocations: 3.906 kB / 269.5 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.09182, allocations: 4 kB / 269.5 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.09184, allocations: 4 kB / 269.5 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.09202, allocations: 55.86 kB / 269.6 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.09294, allocations: 392.7 kB / 270 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.09315, allocations: 78.5 kB / 270.1 MB, free: 13.15 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.09318, allocations: 0 / 270.1 MB, free: 13.15 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.09322, allocations: 34.5 kB / 270.1 MB, free: 13.11 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.09323, allocations: 0 / 270.1 MB, free: 13.11 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.000269/0.09351, allocations: 89.61 kB / 270.2 MB, free: 13.01 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.09356, allocations: 51.41 kB / 270.2 MB, free: 12.95 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.09366, allocations: 101 kB / 270.3 MB, free: 12.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.0937, allocations: 29.7 kB / 270.4 MB, free: 12.81 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.09378, allocations: 100 kB / 270.5 MB, free: 12.71 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.09383, allocations: 35.53 kB / 270.5 MB, free: 12.67 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.09385, allocations: 4 kB / 270.5 MB, free: 12.67 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.09402, allocations: 318.8 kB / 270.8 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.09409, allocations: 20 kB / 270.8 MB, free: 12.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.0942, allocations: 50.56 kB / 270.9 MB, free: 12.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.0943, allocations: 27.94 kB / 270.9 MB, free: 12.24 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09432, allocations: 0 / 270.9 MB, free: 12.24 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002576/0.09458, allocations: 113.5 kB / 271 MB, free: 12.12 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.09462, allocations: 5.875 kB / 271 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.09463, allocations: 4 kB / 271 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.09466, allocations: 3.984 kB / 271 MB, free: 12.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.09489, allocations: 23.94 kB / 271.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.09491, allocations: 0 / 271.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09503, allocations: 19.95 kB / 271.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.09505, allocations: 4 kB / 271.1 MB, free: 12.07 MB / 234.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.0001106/0.09517, allocations: 121.7 kB / 271.2 MB, free: 11.94 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.09522, allocations: 4 kB / 271.2 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.09527, allocations: 8.375 kB / 271.2 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.09528, allocations: 0 / 271.2 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.09529, allocations: 0 / 271.2 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.0953, allocations: 0 / 271.2 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.09558, allocations: 193.6 kB / 271.4 MB, free: 11.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.0956, allocations: 4 kB / 271.4 MB, free: 11.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.0958, allocations: 23.92 kB / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.09582, allocations: 0 / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.09584, allocations: 256 / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.09585, allocations: 0 / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.09586, allocations: 7.938 kB / 271.4 MB, free: 11.65 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.09617, allocations: 203.7 kB / 271.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.09624, allocations: 85.05 kB / 271.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.09627, allocations: 4.062 kB / 271.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.09637, allocations: 0 / 271.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.09641, allocations: 11.92 kB / 271.7 MB, free: 11.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.09643, allocations: 0 / 271.7 MB, free: 11.32 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.0965, allocations: 87.28 kB / 271.8 MB, free: 11.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.09651, allocations: 0 / 271.8 MB, free: 11.23 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.09683, allocations: 23.94 kB / 271.8 MB, free: 11.21 MB / 234.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.0001217/0.09696, allocations: 95.25 kB / 271.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.09717, allocations: 71.84 kB / 272 MB, free: 11.04 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09718, allocations: 0 / 272 MB, free: 11.04 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.09725, allocations: 16 kB / 272 MB, free: 11.02 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.09748, allocations: 7.953 kB / 272 MB, free: 11.01 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.09841, allocations: 377.1 kB / 272.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.09874, allocations: 0.7004 MB / 273.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.09881, allocations: 7.953 kB / 273.1 MB, free: 9.879 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.09885, allocations: 11.44 kB / 273.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of SimCode: time 9.52e-07/0.09886, allocations: 0 / 273.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of Templates: time 0.003586/0.1025, allocations: 0.5702 MB / 273.7 MB, free: 9.297 MB / 234.7 MB