Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.374e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08733, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003234/0.09062, allocations: 1.823 MB / 268.7 MB, free: 15.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.09198, allocations: 0.507 MB / 269.2 MB, free: 14.79 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.09217, allocations: 11.94 kB / 269.2 MB, free: 14.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.323e-05/0.09225, allocations: 27.78 kB / 269.3 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.09252, allocations: 71.75 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.09274, allocations: 43.89 kB / 269.4 MB, free: 14.63 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.09307, allocations: 147.6 kB / 269.5 MB, free: 14.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.09327, allocations: 60.89 kB / 269.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.09354, allocations: 79.81 kB / 269.7 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.09375, allocations: 79.69 kB / 269.7 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.09381, allocations: 8 kB / 269.7 MB, free: 14.26 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.09386, allocations: 12 kB / 269.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.09391, allocations: 31.84 kB / 269.8 MB, free: 14.22 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.094, allocations: 24 kB / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.09433, allocations: 191.7 kB / 270 MB, free: 14.01 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09434, allocations: 3.938 kB / 270 MB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.09436, allocations: 0 / 270 MB, free: 14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.09438, allocations: 4 kB / 270 MB, free: 14 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009375/0.09533, allocations: 475.1 kB / 270.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.09539, allocations: 8.031 kB / 270.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.09549, allocations: 27.72 kB / 270.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.09587, allocations: 231.4 kB / 270.7 MB, free: 13.19 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.09592, allocations: 24.39 kB / 270.7 MB, free: 13.16 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.096, allocations: 27.91 kB / 270.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.09658, allocations: 191.2 kB / 271 MB, free: 12.94 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.09662, allocations: 7.984 kB / 271 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.09667, allocations: 8 kB / 271 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.09669, allocations: 4 kB / 271 MB, free: 12.92 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.09718, allocations: 141.7 kB / 271.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.09873, allocations: 0.65 MB / 271.8 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.09924, allocations: 178.5 kB / 271.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.0993, allocations: 4 kB / 271.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.09934, allocations: 30.56 kB / 272 MB, free: 11.86 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.986e-06/0.09935, allocations: 0 / 272 MB, free: 11.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.003051/0.1024, allocations: 1.089 MB / 273.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.1025, allocations: 59.39 kB / 273.1 MB, free: 10.61 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1028, allocations: 157.6 kB / 273.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.1028, allocations: 29.7 kB / 273.3 MB, free: 10.41 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.103, allocations: 195.2 kB / 273.5 MB, free: 10.22 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1031, allocations: 114.3 kB / 273.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.1031, allocations: 4 kB / 273.6 MB, free: 10.1 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1033, allocations: 330.8 kB / 273.9 MB, free: 9.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1036, allocations: 75.95 kB / 274 MB, free: 9.695 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.1039, allocations: 102.6 kB / 274.1 MB, free: 9.586 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1042, allocations: 85.34 kB / 274.2 MB, free: 9.504 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.1042, allocations: 4 kB / 274.2 MB, free: 9.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008391/0.1051, allocations: 287.8 kB / 274.5 MB, free: 9.211 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1051, allocations: 7.953 kB / 274.5 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1051, allocations: 0 / 274.5 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.1054, allocations: 40.84 kB / 274.5 MB, free: 9.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.1059, allocations: 63.97 kB / 274.6 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.1081, allocations: 1.581 MB / 276.2 MB, free: 7.383 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.1084, allocations: 8.031 kB / 276.2 MB, free: 7.375 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1084, allocations: 8 kB / 276.2 MB, free: 7.367 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.1087, allocations: 145.7 kB / 276.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.1087, allocations: 19.72 kB / 276.3 MB, free: 7.195 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.1088, allocations: 30.64 kB / 276.4 MB, free: 7.164 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1088, allocations: 4 kB / 276.4 MB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1089, allocations: 8.062 kB / 276.4 MB, free: 7.152 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1089, allocations: 3.984 kB / 276.4 MB, free: 7.148 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.1107, allocations: 0.7935 MB / 277.2 MB, free: 6.281 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.1108, allocations: 0 / 277.2 MB, free: 6.281 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.1113, allocations: 63.84 kB / 277.2 MB, free: 6.219 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.1116, allocations: 32.84 kB / 277.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1116, allocations: 8 kB / 277.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.1134, allocations: 1.39 MB / 278.7 MB, free: 4.652 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.1135, allocations: 7.969 kB / 278.7 MB, free: 4.645 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1147, allocations: 0.5126 MB / 279.2 MB, free: 4.086 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.1148, allocations: 112.8 kB / 279.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.1149, allocations: 11.98 kB / 279.3 MB, free: 3.945 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1152, allocations: 8 kB / 279.3 MB, free: 3.938 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.1152, allocations: 23.97 kB / 279.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1153, allocations: 8 kB / 279.4 MB, free: 3.906 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.1155, allocations: 147 kB / 279.5 MB, free: 3.762 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1155, allocations: 0 / 279.5 MB, free: 3.762 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005138/0.116, allocations: 64 kB / 279.6 MB, free: 3.699 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.1162, allocations: 103.2 kB / 279.7 MB, free: 3.59 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009867/0.1172, allocations: 346.8 kB / 280 MB, free: 3.238 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1172, allocations: 0 / 280 MB, free: 3.238 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.1178, allocations: 246.4 kB / 280.2 MB, free: 2.984 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.1183, allocations: 32.42 kB / 280.3 MB, free: 2.953 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1204, allocations: 0.9119 MB / 281.2 MB, free: 1.992 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1209, allocations: 0.7561 MB / 281.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1211, allocations: 27.42 kB / 282 MB, free: 1.184 MB / 234.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1211, allocations: 0 / 282 MB, free: 1.184 MB / 234.7 MB Notification: Performance of Templates: time 0.009102/0.1302, allocations: 3.684 MB / 285.7 MB, free: 13.49 MB / 250.7 MB