Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.102/1.102, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.43e-05, allocations: 0 / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05387/0.05393, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002717/0.0567, allocations: 1.581 MB / 181.3 MB, free: 8.031 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.05793, allocations: 431.7 kB / 181.7 MB, free: 7.605 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.05812, allocations: 4 kB / 181.7 MB, free: 7.602 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.555e-05/0.05822, allocations: 19.84 kB / 181.7 MB, free: 7.582 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.05851, allocations: 75.75 kB / 181.8 MB, free: 7.508 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.05872, allocations: 31.97 kB / 181.8 MB, free: 7.477 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.05911, allocations: 139.7 kB / 182 MB, free: 7.34 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.05934, allocations: 53.3 kB / 182 MB, free: 7.289 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.05952, allocations: 67.83 kB / 182.1 MB, free: 7.223 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.05974, allocations: 79.69 kB / 182.2 MB, free: 7.145 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.05982, allocations: 8 kB / 182.2 MB, free: 7.137 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.05987, allocations: 8 kB / 182.2 MB, free: 7.129 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.05996, allocations: 35.84 kB / 182.2 MB, free: 7.094 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.06006, allocations: 20 kB / 182.2 MB, free: 7.074 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.06043, allocations: 183.8 kB / 182.4 MB, free: 6.895 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.06045, allocations: 0 / 182.4 MB, free: 6.895 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.06047, allocations: 4 kB / 182.4 MB, free: 6.891 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.0605, allocations: 0 / 182.4 MB, free: 6.891 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001175/0.06168, allocations: 475.2 kB / 182.9 MB, free: 6.379 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.06175, allocations: 8.031 kB / 182.9 MB, free: 6.371 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.06187, allocations: 23.72 kB / 182.9 MB, free: 6.348 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.06232, allocations: 235.2 kB / 183.1 MB, free: 6.078 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.06237, allocations: 12.44 kB / 183.1 MB, free: 6.066 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.06247, allocations: 24 kB / 183.2 MB, free: 6.043 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.0633, allocations: 199.3 kB / 183.4 MB, free: 5.844 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.06334, allocations: 3.953 kB / 183.4 MB, free: 5.84 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.0634, allocations: 8 kB / 183.4 MB, free: 5.832 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.06343, allocations: 8 kB / 183.4 MB, free: 5.824 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.06424, allocations: 157.7 kB / 183.5 MB, free: 5.672 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.06613, allocations: 0.6309 MB / 184.2 MB, free: 4.988 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.06699, allocations: 183.1 kB / 184.3 MB, free: 4.801 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.06704, allocations: 8.125 kB / 184.4 MB, free: 4.793 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.0671, allocations: 34.75 kB / 184.4 MB, free: 4.75 MB / 154.7 MB Notification: Performance of pre-optimization done (n=22): time 3.827e-06/0.06712, allocations: 0 / 184.4 MB, free: 4.75 MB / 154.7 MB Notification: Performance of matching and sorting (n=24): time 0.003401/0.07053, allocations: 0.9146 MB / 185.3 MB, free: 3.746 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.07062, allocations: 55.41 kB / 185.4 MB, free: 3.68 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.0709, allocations: 149.2 kB / 185.5 MB, free: 3.527 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.07096, allocations: 33.7 kB / 185.5 MB, free: 3.488 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.07113, allocations: 194.8 kB / 185.7 MB, free: 3.297 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.07128, allocations: 94.64 kB / 185.8 MB, free: 3.203 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.07132, allocations: 4 kB / 185.8 MB, free: 3.199 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.07152, allocations: 322.8 kB / 186.1 MB, free: 2.875 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.07196, allocations: 75.95 kB / 186.2 MB, free: 2.801 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.07246, allocations: 107.4 kB / 186.3 MB, free: 2.684 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.07295, allocations: 88.8 kB / 186.4 MB, free: 2.598 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.07297, allocations: 4 kB / 186.4 MB, free: 2.594 MB / 154.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001108/0.0741, allocations: 237.3 kB / 186.6 MB, free: 2.355 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.07416, allocations: 4 kB / 186.6 MB, free: 2.352 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.07418, allocations: 0 / 186.6 MB, free: 2.352 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.07422, allocations: 4.094 kB / 186.6 MB, free: 2.348 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.07494, allocations: 75.89 kB / 186.7 MB, free: 2.273 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.07498, allocations: 4 kB / 186.7 MB, free: 2.27 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.07526, allocations: 11.98 kB / 186.7 MB, free: 2.258 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.07532, allocations: 12 kB / 186.7 MB, free: 2.246 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.07557, allocations: 137.7 kB / 186.9 MB, free: 2.102 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.07568, allocations: 15.81 kB / 186.9 MB, free: 2.086 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.0758, allocations: 29.17 kB / 186.9 MB, free: 2.059 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.07582, allocations: 4 kB / 186.9 MB, free: 2.055 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.07584, allocations: 3.984 kB / 186.9 MB, free: 2.051 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.07586, allocations: 0 / 186.9 MB, free: 2.051 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.07779, allocations: 0.6468 MB / 187.6 MB, free: 1.34 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.07781, allocations: 0 / 187.6 MB, free: 1.34 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.07863, allocations: 67.95 kB / 187.6 MB, free: 1.273 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.07866, allocations: 4 kB / 187.6 MB, free: 1.27 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.07871, allocations: 0 / 187.6 MB, free: 1.27 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.07874, allocations: 16 kB / 187.7 MB, free: 1.254 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.07875, allocations: 3.938 kB / 187.7 MB, free: 1.25 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.08019, allocations: 440.2 kB / 188.1 MB, free: 0.7852 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.08032, allocations: 92.92 kB / 188.2 MB, free: 0.6758 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.0804, allocations: 12 kB / 188.2 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.08072, allocations: 12 kB / 188.2 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.08083, allocations: 23.91 kB / 188.2 MB, free: 0.6289 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.08088, allocations: 8 kB / 188.2 MB, free: 0.6211 MB / 154.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.08105, allocations: 115.2 kB / 188.4 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of sort global known variables: time 3.917e-06/0.08107, allocations: 0 / 188.4 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0006312/0.08171, allocations: 51.94 kB / 188.4 MB, free: 468 kB / 154.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0001822/0.08191, allocations: 103.2 kB / 188.5 MB, free: 352 kB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.08288, allocations: 191.8 kB / 188.7 MB, free: 160 kB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.0829, allocations: 0 / 188.7 MB, free: 160 kB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.08335, allocations: 96.2 kB / 188.8 MB, free: 64 kB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.08399, allocations: 27.98 kB / 188.8 MB, free: 36 kB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.08695, allocations: 0.9565 MB / 189.8 MB, free: 15.04 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.08749, allocations: 0.7443 MB / 190.5 MB, free: 14.27 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.08764, allocations: 19.44 kB / 190.5 MB, free: 14.25 MB / 170.7 MB Notification: Performance of SimCode: time 1.052e-06/0.08766, allocations: 4 kB / 190.5 MB, free: 14.24 MB / 170.7 MB Notification: Performance of Templates: time 0.008257/0.09593, allocations: 2.409 MB / 192.9 MB, free: 11.83 MB / 170.7 MB