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_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.936e-05, allocations: 4 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003137/0.3173, allocations: 1.265 MB / 304.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3187, allocations: 430.7 kB / 305 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3189, allocations: 6.156 kB / 305 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.273e-05/0.3189, allocations: 9.766 kB / 305 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3191, allocations: 28.98 kB / 305 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3193, allocations: 15.73 kB / 305 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3195, allocations: 57.89 kB / 305.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3197, allocations: 20.02 kB / 305.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.3198, allocations: 27.64 kB / 305.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3199, allocations: 37.16 kB / 305.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.32, allocations: 10.12 kB / 305.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.3201, allocations: 4.156 kB / 305.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.3201, allocations: 14.2 kB / 305.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.3202, allocations: 9.688 kB / 305.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3204, allocations: 68.12 kB / 305.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3204, allocations: 1.406 kB / 305.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3205, allocations: 0 / 305.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3205, allocations: 0 / 305.3 MB, free: 11.21 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.0007411/0.3212, allocations: 371 kB / 305.6 MB, free: 10.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3213, allocations: 9.281 kB / 305.6 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.3216, allocations: 10.34 kB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3218, allocations: 169.4 kB / 305.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.3219, allocations: 11.91 kB / 305.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.3219, allocations: 5.375 kB / 305.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3223, allocations: 86.02 kB / 305.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.3223, allocations: 5.062 kB / 305.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3223, allocations: 7.953 kB / 305.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3224, allocations: 2.25 kB / 305.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.3226, allocations: 55.72 kB / 306 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3239, allocations: 394.6 kB / 306.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3242, allocations: 70.55 kB / 306.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3243, allocations: 5.094 kB / 306.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3243, allocations: 31.69 kB / 306.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.301e-06/0.3243, allocations: 3.984 kB / 306.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004336/0.3248, allocations: 99.77 kB / 306.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3249, allocations: 52.56 kB / 306.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.325, allocations: 99.2 kB / 306.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3251, allocations: 26.55 kB / 306.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3252, allocations: 181.5 kB / 306.9 MB, free: 9.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3253, allocations: 26.91 kB / 307 MB, free: 9.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.3253, allocations: 1.219 kB / 307 MB, free: 9.586 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3255, allocations: 319.9 kB / 307.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-05/0.3256, allocations: 15.31 kB / 307.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3258, allocations: 45.19 kB / 307.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3259, allocations: 26.47 kB / 307.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3259, allocations: 4 kB / 307.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003699/0.3263, allocations: 99.42 kB / 307.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3264, allocations: 9.25 kB / 307.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3264, allocations: 1.188 kB / 307.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.3264, allocations: 1.094 kB / 307.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.3267, allocations: 31.58 kB / 307.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3268, allocations: 5.172 kB / 307.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.327, allocations: 16.19 kB / 307.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.327, allocations: 7.25 kB / 307.5 MB, free: 9.109 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.0001612/0.3272, allocations: 117.9 kB / 307.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.3272, allocations: 6.094 kB / 307.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.3273, allocations: 9.375 kB / 307.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3273, allocations: 1.094 kB / 307.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3274, allocations: 1.062 kB / 307.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3274, allocations: 7.938 kB / 307.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.3278, allocations: 186.3 kB / 307.8 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3278, allocations: 1.031 kB / 307.8 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3281, allocations: 23.23 kB / 307.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/0.3281, allocations: 1.031 kB / 307.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3282, allocations: 1.094 kB / 307.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3282, allocations: 0 / 307.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3282, allocations: 0.9688 kB / 307.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.3287, allocations: 198.7 kB / 308.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.3288, allocations: 87.2 kB / 308.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3288, allocations: 1.25 kB / 308.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.329, allocations: 13.38 kB / 308.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.3291, allocations: 7.047 kB / 308.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3291, allocations: 2.094 kB / 308.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.21e-05/0.3292, allocations: 79.25 kB / 308.3 MB, free: 8.379 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3292, allocations: 0 / 308.3 MB, free: 8.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005814/0.3298, allocations: 22.75 kB / 308.3 MB, free: 8.375 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.00017/0.33, allocations: 102.8 kB / 308.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3303, allocations: 61.58 kB / 308.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3303, allocations: 0 / 308.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.3304, allocations: 20 kB / 308.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3308, allocations: 15.94 kB / 308.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.332, allocations: 407 kB / 308.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3325, allocations: 0.7004 MB / 309.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.3326, allocations: 11.44 kB / 309.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3326, allocations: 0 / 309.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of Templates: time 0.00417/0.3368, allocations: 0.9222 MB / 310.5 MB, free: 6.105 MB / 250.7 MB