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 1.82/1.82, allocations: 195 MB / 203.2 MB, free: 6.762 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.358e-05, allocations: 3.516 kB / 249.6 MB, free: 5.574 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.07602, allocations: 44.49 MB / 294.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4095, allocations: 70.64 MB / 364.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.4099, allocations: 70.05 kB / 364.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009458/0.4194, allocations: 1.748 MB / 366.6 MB, free: 26.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4195, allocations: 0 / 366.6 MB, free: 26.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4195, allocations: 3.75 kB / 366.6 MB, free: 26.77 MB / 314.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.0004733/0.42, allocations: 363 kB / 366.9 MB, free: 26.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4201, allocations: 17.83 kB / 366.9 MB, free: 26.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.4203, allocations: 11.77 kB / 366.9 MB, free: 26.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4205, allocations: 172.1 kB / 367.1 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4205, allocations: 3.906 kB / 367.1 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.4206, allocations: 7.719 kB / 367.1 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002264/0.4208, allocations: 44.56 kB / 367.2 MB, free: 26.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4211, allocations: 68.75 kB / 367.2 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4211, allocations: 3.719 kB / 367.2 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.4212, allocations: 5.594 kB / 367.2 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4212, allocations: 0 / 367.2 MB, free: 26.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.4222, allocations: 364.2 kB / 367.6 MB, free: 25.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.4224, allocations: 71.27 kB / 367.7 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.4225, allocations: 31.11 kB / 367.7 MB, free: 25.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4225, allocations: 0 / 367.7 MB, free: 25.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4226, allocations: 37.52 kB / 367.7 MB, free: 25.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.878e-06/0.4226, allocations: 0 / 367.7 MB, free: 25.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002797/0.4229, allocations: 66.48 kB / 367.8 MB, free: 25.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.4229, allocations: 55.28 kB / 367.9 MB, free: 25.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.423, allocations: 99.14 kB / 368 MB, free: 25.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4231, allocations: 25.7 kB / 368 MB, free: 25.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.4231, allocations: 172.1 kB / 368.1 MB, free: 25.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.4232, allocations: 31.16 kB / 368.2 MB, free: 25.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-06/0.4232, allocations: 0 / 368.2 MB, free: 25.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4234, allocations: 317 kB / 368.5 MB, free: 25.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.4235, allocations: 23.25 kB / 368.5 MB, free: 25.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.4236, allocations: 46.83 kB / 368.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4237, allocations: 28.67 kB / 368.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-06/0.4238, allocations: 0 / 368.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002669/0.424, allocations: 86.64 kB / 368.7 MB, free: 25.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4241, allocations: 4.969 kB / 368.7 MB, free: 25.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4241, allocations: 5.562 kB / 368.7 MB, free: 25.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4241, allocations: 0 / 368.7 MB, free: 25.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4244, allocations: 25.28 kB / 368.7 MB, free: 25.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4244, allocations: 8.047 kB / 368.7 MB, free: 25.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.4246, allocations: 9.703 kB / 368.7 MB, free: 25.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4246, allocations: 4.125 kB / 368.7 MB, free: 25.02 MB / 314.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.0001134/0.4247, allocations: 112.6 kB / 368.8 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.4248, allocations: 0 / 368.8 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.4249, allocations: 10.12 kB / 368.8 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.9e-06/0.4249, allocations: 7.938 kB / 368.9 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-06/0.4249, allocations: 3.938 kB / 368.9 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-06/0.4249, allocations: 4 kB / 368.9 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.4253, allocations: 169.2 kB / 369 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-06/0.4253, allocations: 3.906 kB / 369 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4256, allocations: 26.95 kB / 369.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-06/0.4256, allocations: 3.984 kB / 369.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4256, allocations: 0 / 369.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.976e-06/0.4257, allocations: 0 / 369.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.972e-06/0.4257, allocations: 0 / 369.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.4261, allocations: 180.8 kB / 369.2 MB, free: 24.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.4262, allocations: 86.94 kB / 369.3 MB, free: 24.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.4262, allocations: 3.953 kB / 369.3 MB, free: 24.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4264, allocations: 0 / 369.3 MB, free: 24.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.4265, allocations: 9.328 kB / 369.3 MB, free: 24.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.4265, allocations: 0 / 369.3 MB, free: 24.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.4266, allocations: 84.84 kB / 369.4 MB, free: 24.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.4266, allocations: 3.938 kB / 369.4 MB, free: 24.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006414/0.4273, allocations: 23.38 kB / 369.4 MB, free: 24.39 MB / 314.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.0001962/0.4275, allocations: 98.81 kB / 369.5 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.4277, allocations: 47.84 kB / 369.6 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.045e-06/0.4278, allocations: 0 / 369.6 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.4278, allocations: 23.09 kB / 369.6 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4282, allocations: 7.547 kB / 369.6 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.4291, allocations: 263.7 kB / 369.9 MB, free: 24.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4297, allocations: 0.7017 MB / 370.6 MB, free: 23.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.4298, allocations: 11.34 kB / 370.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of SimCode: time 2.451e-06/0.4298, allocations: 0 / 370.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of Templates: time 0.00358/0.4334, allocations: 0.9239 MB / 371.5 MB, free: 23.31 MB / 314.7 MB