Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.296e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002124/0.1176, allocations: 1.273 MB / 346.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.1186, allocations: 431.5 kB / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1186, allocations: 4 kB / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.1187, allocations: 11.92 kB / 346.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.1188, allocations: 27.92 kB / 346.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.119, allocations: 23.97 kB / 346.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1191, allocations: 51.88 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1193, allocations: 31.89 kB / 346.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.1193, allocations: 27.92 kB / 346.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.1194, allocations: 27.92 kB / 346.9 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.1195, allocations: 11.98 kB / 346.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1196, allocations: 7.938 kB / 346.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1196, allocations: 8 kB / 346.9 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.1197, allocations: 12 kB / 346.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1198, allocations: 72.06 kB / 347 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1198, allocations: 0 / 347 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1199, allocations: 3.938 kB / 347 MB, free: 6.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1199, allocations: 4 kB / 347 MB, free: 6.926 MB / 282.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.0005412/0.1204, allocations: 363.2 kB / 347.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1205, allocations: 8.031 kB / 347.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1206, allocations: 19.86 kB / 347.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1208, allocations: 163 kB / 347.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1208, allocations: 8 kB / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1209, allocations: 12 kB / 347.5 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1211, allocations: 92.12 kB / 347.6 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1212, allocations: 3.938 kB / 347.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1212, allocations: 0 / 347.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1212, allocations: 4 kB / 347.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1214, allocations: 51.97 kB / 347.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.1223, allocations: 396.4 kB / 348.1 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1225, allocations: 74.72 kB / 348.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1226, allocations: 3.953 kB / 348.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.1226, allocations: 38.56 kB / 348.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.1226, allocations: 0 / 348.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002729/0.1229, allocations: 85.77 kB / 348.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.123, allocations: 51.41 kB / 348.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.1231, allocations: 101 kB / 348.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1231, allocations: 25.7 kB / 348.5 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1232, allocations: 170.3 kB / 348.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1233, allocations: 35.69 kB / 348.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.1233, allocations: 4 kB / 348.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1235, allocations: 318.8 kB / 349 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.1235, allocations: 20 kB / 349 MB, free: 4.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.1236, allocations: 42.56 kB / 349 MB, free: 4.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/0.1237, allocations: 27.94 kB / 349.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1238, allocations: 0 / 349.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002494/0.124, allocations: 117.5 kB / 349.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1241, allocations: 7.953 kB / 349.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1241, allocations: 4 kB / 349.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1241, allocations: 0 / 349.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1243, allocations: 20 kB / 349.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1243, allocations: 8.047 kB / 349.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.1244, allocations: 4 kB / 349.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1245, allocations: 7.938 kB / 349.2 MB, free: 4.469 MB / 282.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.0001103/0.1246, allocations: 125.8 kB / 349.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1246, allocations: 7.906 kB / 349.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1247, allocations: 12.33 kB / 349.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1247, allocations: 0 / 349.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1247, allocations: 0 / 349.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1247, allocations: 3.984 kB / 349.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.125, allocations: 189.6 kB / 349.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.125, allocations: 0 / 349.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.1252, allocations: 19.98 kB / 349.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1252, allocations: 0 / 349.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1253, allocations: 4.25 kB / 349.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1253, allocations: 7.953 kB / 349.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1253, allocations: 4 kB / 349.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.1256, allocations: 195.4 kB / 349.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1256, allocations: 81.14 kB / 349.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1257, allocations: 4 kB / 349.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.1258, allocations: 0 / 349.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.1258, allocations: 11.94 kB / 349.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1258, allocations: 4.062 kB / 349.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.1259, allocations: 91.22 kB / 350 MB, free: 3.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1259, allocations: 0 / 350 MB, free: 3.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000327/0.1262, allocations: 23.91 kB / 350 MB, free: 3.605 MB / 282.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.0001278/0.1264, allocations: 99.25 kB / 350.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1266, allocations: 55.91 kB / 350.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1266, allocations: 0 / 350.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.1267, allocations: 32.06 kB / 350.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1269, allocations: 0 / 350.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.1278, allocations: 406.7 kB / 350.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1281, allocations: 0.6965 MB / 351.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1282, allocations: 11.44 kB / 351.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1282, allocations: 0 / 351.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of Templates: time 0.003162/0.1314, allocations: 0.9264 MB / 352.2 MB, free: 1.316 MB / 282.7 MB