Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.672/1.672, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.636e-05, allocations: 2.188 kB / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08615, allocations: 38.77 MB / 266.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003147/0.08936, allocations: 1.823 MB / 268.7 MB, free: 15.3 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.09058, allocations: 0.507 MB / 269.2 MB, free: 14.79 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.09073, allocations: 11.94 kB / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.329e-05/0.09081, allocations: 23.78 kB / 269.3 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.09107, allocations: 75.75 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.09126, allocations: 39.95 kB / 269.4 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.09157, allocations: 135.7 kB / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.09176, allocations: 56.2 kB / 269.6 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.09195, allocations: 79.77 kB / 269.6 MB, free: 14.37 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.09214, allocations: 75.75 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.0922, allocations: 8 kB / 269.7 MB, free: 14.29 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.09225, allocations: 8 kB / 269.7 MB, free: 14.28 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.09231, allocations: 39.83 kB / 269.8 MB, free: 14.24 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.09239, allocations: 20 kB / 269.8 MB, free: 14.22 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.09266, allocations: 167.8 kB / 269.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.09268, allocations: 0 / 269.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.0927, allocations: 0 / 269.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.09271, allocations: 3.938 kB / 269.9 MB, free: 14.05 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008604/0.09359, allocations: 479.1 kB / 270.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.09364, allocations: 12.03 kB / 270.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.09373, allocations: 23.72 kB / 270.4 MB, free: 13.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.09412, allocations: 223.4 kB / 270.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.09416, allocations: 20.39 kB / 270.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/0.09423, allocations: 24 kB / 270.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.0948, allocations: 217.7 kB / 270.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.09484, allocations: 3.906 kB / 270.9 MB, free: 12.97 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.09487, allocations: 8 kB / 270.9 MB, free: 12.96 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.09489, allocations: 4 kB / 270.9 MB, free: 12.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.09533, allocations: 133.7 kB / 271.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.09683, allocations: 0.7132 MB / 271.8 MB, free: 12.06 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.09726, allocations: 154.5 kB / 271.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.0973, allocations: 0 / 271.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.09735, allocations: 38.56 kB / 272 MB, free: 11.86 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.09736, allocations: 0 / 272 MB, free: 11.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.002367/0.09974, allocations: 0.891 MB / 272.9 MB, free: 10.88 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.09981, allocations: 55.27 kB / 272.9 MB, free: 10.81 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1, allocations: 162.6 kB / 273.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1001, allocations: 29.64 kB / 273.1 MB, free: 10.61 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.1002, allocations: 206.6 kB / 273.3 MB, free: 10.4 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1003, allocations: 90.73 kB / 273.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.1004, allocations: 8 kB / 273.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1005, allocations: 322.8 kB / 273.7 MB, free: 9.98 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1007, allocations: 63.97 kB / 273.8 MB, free: 9.918 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.101, allocations: 104.2 kB / 273.9 MB, free: 9.801 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1012, allocations: 68 kB / 273.9 MB, free: 9.734 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1012, allocations: 0 / 273.9 MB, free: 9.734 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006914/0.1019, allocations: 238.2 kB / 274.2 MB, free: 9.492 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.102, allocations: 5.25 kB / 274.2 MB, free: 9.488 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.102, allocations: 4 kB / 274.2 MB, free: 9.484 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/0.1023, allocations: 40.95 kB / 274.2 MB, free: 9.441 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1027, allocations: 47.92 kB / 274.3 MB, free: 9.395 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.1043, allocations: 1.39 MB / 275.7 MB, free: 7.867 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.1045, allocations: 11.98 kB / 275.7 MB, free: 7.855 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1046, allocations: 8 kB / 275.7 MB, free: 7.848 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001759/0.1048, allocations: 133.8 kB / 275.8 MB, free: 7.707 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.1048, allocations: 19.72 kB / 275.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.1049, allocations: 25.86 kB / 275.9 MB, free: 7.664 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1049, allocations: 4 kB / 275.9 MB, free: 7.66 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1049, allocations: 8.016 kB / 275.9 MB, free: 7.652 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1049, allocations: 0 / 275.9 MB, free: 7.652 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.1064, allocations: 0.6631 MB / 276.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.1064, allocations: 4 kB / 276.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.1068, allocations: 47.91 kB / 276.6 MB, free: 6.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.107, allocations: 28.84 kB / 276.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1071, allocations: 8 kB / 276.6 MB, free: 6.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.1087, allocations: 1.386 MB / 278 MB, free: 5.312 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1087, allocations: 3.938 kB / 278 MB, free: 5.309 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.1097, allocations: 441.5 kB / 278.4 MB, free: 4.84 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1098, allocations: 100.9 kB / 278.5 MB, free: 4.723 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1099, allocations: 8 kB / 278.6 MB, free: 4.715 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.1101, allocations: 12 kB / 278.6 MB, free: 4.703 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.1102, allocations: 23.84 kB / 278.6 MB, free: 4.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1102, allocations: 12 kB / 278.6 MB, free: 4.668 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1104, allocations: 125.2 kB / 278.7 MB, free: 4.547 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1104, allocations: 0 / 278.7 MB, free: 4.547 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.1109, allocations: 60 kB / 278.8 MB, free: 4.488 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001512/0.111, allocations: 107.2 kB / 278.9 MB, free: 4.371 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.1118, allocations: 286.7 kB / 279.2 MB, free: 4.078 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1118, allocations: 0 / 279.2 MB, free: 4.078 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.1123, allocations: 222.9 kB / 279.4 MB, free: 3.848 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1128, allocations: 35.94 kB / 279.4 MB, free: 3.812 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1147, allocations: 0.8418 MB / 280.3 MB, free: 2.938 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1152, allocations: 0.7518 MB / 281 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.1153, allocations: 19.44 kB / 281 MB, free: 2.141 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1153, allocations: 0 / 281 MB, free: 2.141 MB / 234.7 MB Notification: Performance of Templates: time 0.007874/0.1232, allocations: 3.313 MB / 284.3 MB, free: 14.82 MB / 250.7 MB