Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.146/1.146, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.557e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05642/0.05647, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002824/0.05936, allocations: 1.62 MB / 181.3 MB, free: 8 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.06044, allocations: 447.7 kB / 181.7 MB, free: 7.559 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.06059, allocations: 4 kB / 181.7 MB, free: 7.555 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.06066, allocations: 19.84 kB / 181.8 MB, free: 7.535 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.06092, allocations: 79.75 kB / 181.8 MB, free: 7.457 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.06113, allocations: 31.97 kB / 181.9 MB, free: 7.426 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.06143, allocations: 131.7 kB / 182 MB, free: 7.297 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.06162, allocations: 52.73 kB / 182 MB, free: 7.246 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.06181, allocations: 67.78 kB / 182.1 MB, free: 7.18 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.062, allocations: 75.75 kB / 182.2 MB, free: 7.105 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.06207, allocations: 8 kB / 182.2 MB, free: 7.098 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.06211, allocations: 8 kB / 182.2 MB, free: 7.09 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.06217, allocations: 39.83 kB / 182.2 MB, free: 7.051 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.06224, allocations: 20 kB / 182.3 MB, free: 7.031 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.06253, allocations: 163.8 kB / 182.4 MB, free: 6.871 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.06254, allocations: 0 / 182.4 MB, free: 6.871 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.06256, allocations: 0 / 182.4 MB, free: 6.871 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.06258, allocations: 3.938 kB / 182.4 MB, free: 6.867 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009662/0.06355, allocations: 471.2 kB / 182.9 MB, free: 6.359 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.06362, allocations: 12.03 kB / 182.9 MB, free: 6.348 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.06371, allocations: 27.7 kB / 182.9 MB, free: 6.32 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.0641, allocations: 223.4 kB / 183.1 MB, free: 6.059 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.06414, allocations: 12.44 kB / 183.2 MB, free: 6.047 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.06422, allocations: 20 kB / 183.2 MB, free: 6.027 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.06478, allocations: 209.8 kB / 183.4 MB, free: 5.812 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.06483, allocations: 11.86 kB / 183.4 MB, free: 5.801 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.06487, allocations: 7.938 kB / 183.4 MB, free: 5.793 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.06489, allocations: 8 kB / 183.4 MB, free: 5.785 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.06532, allocations: 125.7 kB / 183.5 MB, free: 5.664 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.06688, allocations: 0.6977 MB / 184.2 MB, free: 4.91 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.06732, allocations: 142.5 kB / 184.4 MB, free: 4.762 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.06736, allocations: 0 / 184.4 MB, free: 4.762 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.06741, allocations: 38.55 kB / 184.4 MB, free: 4.715 MB / 154.7 MB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.06743, allocations: 4 kB / 184.4 MB, free: 4.711 MB / 154.7 MB Notification: Performance of matching and sorting (n=23): time 0.002354/0.06979, allocations: 0.8654 MB / 185.3 MB, free: 3.758 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.06988, allocations: 59.41 kB / 185.3 MB, free: 3.688 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.07012, allocations: 161.7 kB / 185.5 MB, free: 3.52 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.07017, allocations: 33.7 kB / 185.5 MB, free: 3.48 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.07032, allocations: 206.6 kB / 185.7 MB, free: 3.277 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.07042, allocations: 82.8 kB / 185.8 MB, free: 3.195 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.07045, allocations: 4 kB / 185.8 MB, free: 3.191 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.07062, allocations: 318.8 kB / 186.1 MB, free: 2.871 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.07083, allocations: 55.97 kB / 186.2 MB, free: 2.816 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.07108, allocations: 100.2 kB / 186.3 MB, free: 2.703 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.07137, allocations: 67.94 kB / 186.3 MB, free: 2.637 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.07139, allocations: 0 / 186.3 MB, free: 2.637 MB / 154.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007139/0.07211, allocations: 246.1 kB / 186.6 MB, free: 2.387 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.07215, allocations: 4 kB / 186.6 MB, free: 2.383 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.07217, allocations: 4 kB / 186.6 MB, free: 2.379 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.07242, allocations: 32.83 kB / 186.6 MB, free: 2.344 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.07281, allocations: 47.92 kB / 186.7 MB, free: 2.297 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.07454, allocations: 1.383 MB / 188.1 MB, free: 0.7812 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.07473, allocations: 8 kB / 188.1 MB, free: 0.7734 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.07477, allocations: 11.98 kB / 188.1 MB, free: 0.7617 MB / 154.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 (27): * Single equations (assignments): 26 * 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.0001847/0.07497, allocations: 150.8 kB / 188.2 MB, free: 0.6055 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.07504, allocations: 15.81 kB / 188.2 MB, free: 0.5898 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.07512, allocations: 25.88 kB / 188.3 MB, free: 0.5625 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.07513, allocations: 4 kB / 188.3 MB, free: 0.5586 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.07515, allocations: 4 kB / 188.3 MB, free: 0.5547 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.07517, allocations: 7.922 kB / 188.3 MB, free: 0.5469 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.0766, allocations: 0.6371 MB / 188.9 MB, free: 15.84 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.07662, allocations: 3.938 kB / 188.9 MB, free: 15.83 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.07703, allocations: 43.97 kB / 189 MB, free: 15.79 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.07725, allocations: 36.91 kB / 189 MB, free: 15.75 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.07729, allocations: 8 kB / 189 MB, free: 15.74 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.07894, allocations: 1.382 MB / 190.4 MB, free: 14.22 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.07896, allocations: 0 / 190.4 MB, free: 14.22 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.07995, allocations: 417.9 kB / 190.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.0801, allocations: 104.9 kB / 190.9 MB, free: 13.66 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.08016, allocations: 7.953 kB / 190.9 MB, free: 13.65 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.08035, allocations: 8 kB / 190.9 MB, free: 13.64 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.08044, allocations: 23.98 kB / 190.9 MB, free: 13.62 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.08047, allocations: 12 kB / 190.9 MB, free: 13.61 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.08064, allocations: 124.3 kB / 191.1 MB, free: 13.48 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.08065, allocations: 0 / 191.1 MB, free: 13.48 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.08111, allocations: 56 kB / 191.1 MB, free: 13.43 MB / 170.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 (20): * Single equations (assignments): 19 * 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.0001584/0.08128, allocations: 103.2 kB / 191.2 MB, free: 13.32 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.08213, allocations: 298.4 kB / 191.5 MB, free: 13.02 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.08215, allocations: 3.938 kB / 191.5 MB, free: 13.01 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.08263, allocations: 202.6 kB / 191.7 MB, free: 12.8 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.08312, allocations: 40.34 kB / 191.8 MB, free: 12.76 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.08499, allocations: 0.8044 MB / 192.6 MB, free: 11.92 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.08548, allocations: 0.7446 MB / 193.3 MB, free: 11.15 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.08563, allocations: 27.42 kB / 193.3 MB, free: 11.12 MB / 170.7 MB Notification: Performance of SimCode: time 1.734e-06/0.08565, allocations: 0 / 193.3 MB, free: 11.12 MB / 170.7 MB Notification: Performance of Templates: time 0.01334/0.09901, allocations: 3.198 MB / 196.5 MB, free: 7.914 MB / 170.7 MB