Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.771e-05, allocations: 7.938 kB / 347 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 61.86 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.4912, allocations: 106.4 MB / 0.5031 GB, free: 296 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4914, allocations: 79.94 kB / 0.5032 GB, free: 216 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6596/1.151, allocations: 112.5 MB / 0.6131 GB, free: 26.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.467e-06/1.151, allocations: 0 / 0.6131 GB, free: 26.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004331/1.152, allocations: 112 kB / 0.6132 GB, free: 26.85 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01914/1.171, allocations: 6.096 MB / 0.6192 GB, free: 20.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.171, allocations: 8.031 kB / 0.6192 GB, free: 20.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05043/1.221, allocations: 10.15 MB / 0.6291 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02502/1.246, allocations: 9.198 MB / 0.6381 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/1.247, allocations: 362.6 kB / 0.6384 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/1.248, allocations: 475.6 kB / 0.6389 GB, free: 412 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/1.28, allocations: 10.62 MB / 0.6492 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/1.281, allocations: 55.55 kB / 0.6493 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.282, allocations: 207.9 kB / 0.6495 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/1.284, allocations: 0.9918 MB / 0.6504 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/1.312, allocations: 8.814 MB / 0.659 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08172/1.394, allocations: 43.99 MB / 0.702 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03156/1.425, allocations: 7.85 MB / 0.7097 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008912/1.434, allocations: 4.941 MB / 0.7145 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3064/1.741, allocations: 1.118 MB / 0.7156 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.554e-05/1.741, allocations: 64.69 kB / 0.7156 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 7.868e-06/1.741, allocations: 0.75 kB / 0.7156 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.2506/1.991, allocations: 64.79 MB / 0.7789 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01935/2.011, allocations: 10.9 MB / 0.7896 GB, free: 103 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007683/2.019, allocations: 3.643 MB / 0.7931 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/2.02, allocations: 93.7 kB / 0.7932 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/2.022, allocations: 2.745 MB / 0.7959 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/2.024, allocations: 1.439 MB / 0.7973 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000693/2.025, allocations: 108 kB / 0.7974 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003326/2.025, allocations: 0.5401 MB / 0.7979 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008139/2.033, allocations: 4.417 MB / 0.8022 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009594/2.043, allocations: 6.433 MB / 0.8085 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009816/2.053, allocations: 5.418 MB / 0.8138 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.292e-05/2.053, allocations: 20.66 kB / 0.8138 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.04588/2.099, allocations: 18.03 MB / 0.8314 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/2.099, allocations: 35.81 kB / 0.8315 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.712e-05/2.099, allocations: 68 kB / 0.8315 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0294/2.128, allocations: 8.605 MB / 0.8399 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/2.134, allocations: 1.035 MB / 0.841 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08295/2.217, allocations: 48.47 MB / 0.8883 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006907/2.224, allocations: 491.4 kB / 0.8888 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/2.225, allocations: 283.9 kB / 0.889 GB, free: 5.387 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (531): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001519/2.227, allocations: 0.4912 MB / 0.8895 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/2.228, allocations: 489.8 kB / 0.89 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04728/2.275, allocations: 17.49 MB / 0.9071 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3933/2.669, allocations: 16 MB / 0.9227 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/2.669, allocations: 28.41 kB / 0.9227 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/2.669, allocations: 17.16 kB / 0.9227 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08251/2.751, allocations: 34.57 MB / 0.9565 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-05/2.752, allocations: 5.5 kB / 0.9565 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/2.755, allocations: 449 kB / 0.9569 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03047/2.785, allocations: 8.042 MB / 0.9648 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/2.786, allocations: 77.33 kB / 0.9648 GB, free: 131.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08454/2.871, allocations: 47.53 MB / 1.011 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01669/2.888, allocations: 9.674 MB / 1.021 GB, free: 96.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04931/2.937, allocations: 23.78 MB / 1.044 GB, free: 76.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.938, allocations: 0.5117 MB / 1.044 GB, free: 75.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/2.94, allocations: 76 kB / 1.045 GB, free: 75.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004887/2.945, allocations: 362.6 kB / 1.045 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001948/2.947, allocations: 337.8 kB / 1.045 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009141/2.948, allocations: 108 kB / 1.045 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005897/2.954, allocations: 2.695 MB / 1.048 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.204e-06/2.954, allocations: 0 / 1.048 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008915/2.963, allocations: 1.969 MB / 1.05 GB, free: 70.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/2.964, allocations: 204.9 kB / 1.05 GB, free: 70.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02367/2.988, allocations: 11.97 MB / 1.062 GB, free: 58.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.988, allocations: 6.438 kB / 1.062 GB, free: 58.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01522/3.003, allocations: 6.903 MB / 1.068 GB, free: 51.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/3.008, allocations: 0.742 MB / 1.069 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/3.039, allocations: 14.21 MB / 1.083 GB, free: 36.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008396/3.048, allocations: 4.289 MB / 1.087 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/3.05, allocations: 324.8 kB / 1.088 GB, free: 32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.131e-06/3.05, allocations: 0 / 1.088 GB, free: 32 MB / 0.5417 GB Notification: Performance of Templates: time 0.5258/3.576, allocations: 145.4 MB / 1.23 GB, free: 68.89 MB / 0.5417 GB