Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.556e-05, allocations: 7.938 kB / 347 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.479, allocations: 106.8 MB / 0.5036 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4792, allocations: 79.95 kB / 0.5036 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6207/1.1, allocations: 91.11 MB / 0.5926 GB, free: 47.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.1, allocations: 0 / 0.5926 GB, free: 47.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001397/1.1, allocations: 76 kB / 0.5927 GB, free: 47.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.008795/1.109, allocations: 3.891 MB / 0.5965 GB, free: 43.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.109, allocations: 8.031 kB / 0.5965 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/1.127, allocations: 3.527 MB / 0.5999 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/1.139, allocations: 4.269 MB / 0.6041 GB, free: 35.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/1.139, allocations: 320.3 kB / 0.6044 GB, free: 34.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/1.14, allocations: 415.9 kB / 0.6048 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/1.161, allocations: 10.62 MB / 0.6152 GB, free: 23.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/1.161, allocations: 23.81 kB / 0.6152 GB, free: 23.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007736/1.162, allocations: 191.9 kB / 0.6154 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/1.164, allocations: 1.216 MB / 0.6166 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/1.186, allocations: 10.12 MB / 0.6265 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06343/1.25, allocations: 36.99 MB / 0.6626 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/1.262, allocations: 4.534 MB / 0.667 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004559/1.267, allocations: 2.385 MB / 0.6693 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/1.268, allocations: 1.319 MB / 0.6706 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/1.269, allocations: 56.55 kB / 0.6707 GB, free: 13.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.648e-06/1.269, allocations: 0 / 0.6707 GB, free: 13.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.04522/1.314, allocations: 14.51 MB / 0.6848 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.314, allocations: 73.41 kB / 0.6849 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/1.319, allocations: 2.421 MB / 0.6873 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003379/1.319, allocations: 57.7 kB / 0.6873 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.322, allocations: 2.767 MB / 0.69 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.323, allocations: 0.9172 MB / 0.6909 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/1.323, allocations: 104 kB / 0.691 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005243/1.324, allocations: 0.5499 MB / 0.6916 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.329, allocations: 2.24 MB / 0.6938 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008166/1.337, allocations: 5.091 MB / 0.6987 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007282/1.344, allocations: 3.429 MB / 0.7021 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.058e-05/1.344, allocations: 32 kB / 0.7021 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01996/1.364, allocations: 7.771 MB / 0.7097 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/1.364, allocations: 48 kB / 0.7097 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.365, allocations: 104.8 kB / 0.7098 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/1.368, allocations: 0.945 MB / 0.7108 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00558/1.374, allocations: 1.217 MB / 0.7119 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3158/1.69, allocations: 4.726 MB / 0.7166 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/1.695, allocations: 296.8 kB / 0.7168 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.696, allocations: 310 kB / 0.7171 GB, free: 130.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001095/1.697, allocations: 0.5042 MB / 0.7176 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.697, allocations: 278.4 kB / 0.7179 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.709, allocations: 5.057 MB / 0.7228 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.858e-05/1.709, allocations: 52.45 kB / 0.7229 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.709, allocations: 3.219 kB / 0.7229 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/1.709, allocations: 14.66 kB / 0.7229 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.735, allocations: 11.84 MB / 0.7345 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/1.735, allocations: 9.156 kB / 0.7345 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.738, allocations: 400.9 kB / 0.7349 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/1.741, allocations: 0.7772 MB / 0.7356 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/1.741, allocations: 48.05 kB / 0.7357 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006812/1.748, allocations: 4.015 MB / 0.7396 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/1.748, allocations: 14.69 kB / 0.7396 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.763, allocations: 8.368 MB / 0.7478 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/1.763, allocations: 330.4 kB / 0.7481 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006126/1.764, allocations: 52.12 kB / 0.7481 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.766, allocations: 139.8 kB / 0.7483 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/1.766, allocations: 161.2 kB / 0.7484 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.766, allocations: 67.44 kB / 0.7485 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002997/1.769, allocations: 1.645 MB / 0.7501 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.56e-07/1.769, allocations: 2.234 kB / 0.7501 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005275/1.775, allocations: 0.993 MB / 0.7511 GB, free: 123.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005743/1.775, allocations: 202.1 kB / 0.7513 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009524/1.785, allocations: 5.341 MB / 0.7565 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.785, allocations: 1.75 kB / 0.7565 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003933/1.789, allocations: 2.097 MB / 0.7585 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.791, allocations: 352.8 kB / 0.7589 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.809, allocations: 8.992 MB / 0.7676 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005088/1.814, allocations: 3.468 MB / 0.771 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.816, allocations: 259.9 kB / 0.7713 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.632e-06/1.816, allocations: 0 / 0.7713 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.141/1.957, allocations: 71.58 MB / 0.8412 GB, free: 52.19 MB / 0.5105 GB