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_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.145e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08773, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003025/0.09082, allocations: 1.248 MB / 268.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.09224, allocations: 427.7 kB / 268.6 MB, free: 15.45 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.09236, allocations: 4 kB / 268.6 MB, free: 15.45 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.09242, allocations: 11.92 kB / 268.6 MB, free: 15.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.09255, allocations: 27.92 kB / 268.6 MB, free: 15.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.09277, allocations: 19.92 kB / 268.6 MB, free: 15.39 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.09294, allocations: 51.92 kB / 268.7 MB, free: 15.34 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.09311, allocations: 23.98 kB / 268.7 MB, free: 15.31 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.09319, allocations: 27.92 kB / 268.7 MB, free: 15.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.09333, allocations: 31.91 kB / 268.7 MB, free: 15.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.09346, allocations: 11.98 kB / 268.8 MB, free: 15.24 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.0935, allocations: 4 kB / 268.8 MB, free: 15.24 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.09354, allocations: 7.938 kB / 268.8 MB, free: 15.23 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.0936, allocations: 12 kB / 268.8 MB, free: 15.22 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.09382, allocations: 72.08 kB / 268.9 MB, free: 15.15 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09384, allocations: 0 / 268.9 MB, free: 15.15 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.09386, allocations: 0 / 268.9 MB, free: 15.15 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.09388, allocations: 0 / 268.9 MB, free: 15.15 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.0007054/0.0946, allocations: 371.2 kB / 269.2 MB, free: 14.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.09467, allocations: 8.031 kB / 269.2 MB, free: 14.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.09491, allocations: 15.91 kB / 269.2 MB, free: 14.71 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.09514, allocations: 170.9 kB / 269.4 MB, free: 14.51 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.09518, allocations: 11.95 kB / 269.4 MB, free: 14.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.09524, allocations: 12 kB / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.09557, allocations: 81.66 kB / 269.5 MB, free: 14.4 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.09564, allocations: 7.906 kB / 269.5 MB, free: 14.39 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.09567, allocations: 0 / 269.5 MB, free: 14.39 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.0957, allocations: 4 kB / 269.5 MB, free: 14.39 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.09594, allocations: 55.92 kB / 269.6 MB, free: 14.33 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.09725, allocations: 392.6 kB / 270 MB, free: 13.9 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.09759, allocations: 82.48 kB / 270 MB, free: 13.81 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.09763, allocations: 3.984 kB / 270 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.09768, allocations: 38.5 kB / 270.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 3.376e-06/0.0977, allocations: 0 / 270.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.09809, allocations: 85.66 kB / 270.2 MB, free: 13.67 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.09817, allocations: 55.41 kB / 270.2 MB, free: 13.6 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.09833, allocations: 104.9 kB / 270.3 MB, free: 13.49 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.09837, allocations: 25.7 kB / 270.3 MB, free: 13.46 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.09851, allocations: 170.3 kB / 270.5 MB, free: 13.29 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.09858, allocations: 31.55 kB / 270.5 MB, free: 13.26 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.0986, allocations: 4 kB / 270.5 MB, free: 13.26 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.09879, allocations: 322.8 kB / 270.9 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.09888, allocations: 16 kB / 270.9 MB, free: 12.92 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.09902, allocations: 42.56 kB / 270.9 MB, free: 12.87 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.09915, allocations: 32 kB / 271 MB, free: 12.84 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.09917, allocations: 0 / 271 MB, free: 12.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000344/0.09953, allocations: 109.5 kB / 271.1 MB, free: 12.72 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.09957, allocations: 8 kB / 271.1 MB, free: 12.71 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.09961, allocations: 0 / 271.1 MB, free: 12.71 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.09964, allocations: 0 / 271.1 MB, free: 12.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.09993, allocations: 23.94 kB / 271.1 MB, free: 12.69 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.09995, allocations: 0 / 271.1 MB, free: 12.69 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1001, allocations: 16.05 kB / 271.1 MB, free: 12.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1001, allocations: 0 / 271.1 MB, free: 12.68 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.000171/0.1003, allocations: 121.8 kB / 271.2 MB, free: 12.55 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.1004, allocations: 7.906 kB / 271.2 MB, free: 12.54 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1005, allocations: 8.375 kB / 271.2 MB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1005, allocations: 0 / 271.2 MB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1005, allocations: 4 kB / 271.2 MB, free: 12.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1005, allocations: 0 / 271.2 MB, free: 12.52 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.101, allocations: 197.7 kB / 271.4 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.101, allocations: 0 / 271.4 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1012, allocations: 27.92 kB / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1013, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1013, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1013, allocations: 0 / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1013, allocations: 4 kB / 271.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1017, allocations: 187.6 kB / 271.7 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.1018, allocations: 85.11 kB / 271.7 MB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1019, allocations: 15.94 kB / 271.7 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1021, allocations: 4 kB / 271.8 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1021, allocations: 3.984 kB / 271.8 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1021, allocations: 4 kB / 271.8 MB, free: 11.92 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.1022, allocations: 83.28 kB / 271.8 MB, free: 11.84 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.1022, allocations: 0 / 271.8 MB, free: 11.84 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.1028, allocations: 20 kB / 271.9 MB, free: 11.82 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.0001829/0.103, allocations: 103.2 kB / 272 MB, free: 11.71 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1033, allocations: 63.89 kB / 272 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1033, allocations: 0 / 272 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1034, allocations: 27.94 kB / 272.1 MB, free: 11.62 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.104, allocations: 7.578 kB / 272.1 MB, free: 11.62 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1054, allocations: 402.8 kB / 272.5 MB, free: 11.19 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1059, allocations: 0.7004 MB / 273.2 MB, free: 10.46 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.106, allocations: 15.44 kB / 273.2 MB, free: 10.45 MB / 234.7 MB Notification: Performance of SimCode: time 1.443e-06/0.106, allocations: 0 / 273.2 MB, free: 10.45 MB / 234.7 MB Notification: Performance of Templates: time 0.004522/0.1106, allocations: 0.9229 MB / 274.1 MB, free: 9.523 MB / 234.7 MB