Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.909e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4069, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.1052/0.5122, allocations: 65.73 MB / 390.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05267/0.5649, allocations: 14.38 MB / 405 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.017/0.582, allocations: 367.1 kB / 405.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.5954, allocations: 3.492 MB / 408.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04013/0.6356, allocations: 9.56 MB / 418.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0069/0.6425, allocations: 1.116 MB / 419.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1121/0.7547, allocations: 32.04 MB / 451.5 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/0.7688, allocations: 6.496 MB / 458 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.7728, allocations: 1.434 MB / 459.5 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.7774, allocations: 1.898 MB / 461.4 MB, free: 6.758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.7806, allocations: 0.8154 MB / 462.2 MB, free: 5.941 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.7823, allocations: 172 kB / 462.3 MB, free: 5.773 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004166/0.7866, allocations: 2.237 MB / 464.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.7888, allocations: 396 kB / 465 MB, free: 3.145 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.8008, allocations: 7.38 MB / 472.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8008, allocations: 3.938 kB / 472.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.8009, allocations: 0 / 472.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003078/0.8012, allocations: 0 / 472.3 MB, free: 11.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.04347/0.8447, allocations: 6.069 MB / 478.4 MB, free: 5.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.8447, allocations: 8.031 kB / 478.4 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5475/1.392, allocations: 19.5 MB / 497.9 MB, free: 129.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.413, allocations: 6.365 MB / 0.4925 GB, free: 126.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/1.413, allocations: 326.6 kB / 0.4928 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/1.415, allocations: 405.7 kB / 0.4932 GB, free: 125.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/1.45, allocations: 11.1 MB / 0.504 GB, free: 116.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000276/1.45, allocations: 59.55 kB / 0.5041 GB, free: 116.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/1.451, allocations: 174.3 kB / 0.5042 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/1.454, allocations: 1.494 MB / 0.5057 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03275/1.487, allocations: 9.299 MB / 0.5148 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08234/1.57, allocations: 44.66 MB / 0.5584 GB, free: 59.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04217/1.612, allocations: 7.95 MB / 0.5661 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/1.641, allocations: 12.86 MB / 0.5787 GB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/1.641, allocations: 68.73 kB / 0.5788 GB, free: 38.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.542e-06/1.641, allocations: 6.344 kB / 0.5788 GB, free: 38.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.9095/2.55, allocations: 77.14 MB / 0.6541 GB, free: 128.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03845/2.589, allocations: 11.39 MB / 0.6652 GB, free: 123.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/2.6, allocations: 4.346 MB / 0.6695 GB, free: 121.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001372/2.601, allocations: 88.92 kB / 0.6695 GB, free: 121.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/2.604, allocations: 2.709 MB / 0.6722 GB, free: 118.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002645/2.606, allocations: 1.403 MB / 0.6736 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/2.608, allocations: 112.3 kB / 0.6737 GB, free: 117.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004755/2.608, allocations: 0.5438 MB / 0.6742 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/2.62, allocations: 4.623 MB / 0.6787 GB, free: 114.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/2.632, allocations: 6.618 MB / 0.6852 GB, free: 107.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/2.645, allocations: 5.58 MB / 0.6906 GB, free: 101.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/2.645, allocations: 16 kB / 0.6906 GB, free: 101.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.06702/2.712, allocations: 18.74 MB / 0.7089 GB, free: 82.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/2.713, allocations: 32 kB / 0.709 GB, free: 82.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-05/2.713, allocations: 64 kB / 0.709 GB, free: 82.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04398/2.757, allocations: 8.806 MB / 0.7176 GB, free: 74.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007539/2.764, allocations: 1.01 MB / 0.7186 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1195/2.884, allocations: 52.24 MB / 0.7696 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.894, allocations: 0.503 MB / 0.7701 GB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.896, allocations: 284.8 kB / 0.7704 GB, free: 19.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 291 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (512): * Single equations (assignments): 503 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006924/2.903, allocations: 2.243 MB / 0.7726 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.905, allocations: 485.8 kB / 0.7731 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3681/3.273, allocations: 17.96 MB / 0.7906 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06572/3.339, allocations: 16.46 MB / 0.8067 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.673e-05/3.339, allocations: 26.69 kB / 0.8067 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/3.339, allocations: 22.94 kB / 0.8067 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1077/3.447, allocations: 35.35 MB / 0.8412 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/3.447, allocations: 10.2 kB / 0.8412 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004437/3.451, allocations: 462.6 kB / 0.8417 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0438/3.495, allocations: 8.792 MB / 0.8503 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001481/3.497, allocations: 79.92 kB / 0.8503 GB, free: 92.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1219/3.619, allocations: 50.79 MB / 0.9 GB, free: 41.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02455/3.643, allocations: 10.16 MB / 0.9099 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07371/3.717, allocations: 24.52 MB / 0.9338 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005301/3.722, allocations: 1.457 MB / 0.9352 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00232/3.725, allocations: 79.98 kB / 0.9353 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007377/3.732, allocations: 391.3 kB / 0.9357 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002183/3.734, allocations: 324 kB / 0.936 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000973/3.735, allocations: 103.9 kB / 0.9361 GB, free: 4.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006981/3.742, allocations: 3.239 MB / 0.9393 GB, free: 1.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/3.742, allocations: 0 / 0.9393 GB, free: 1.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01024/3.753, allocations: 2.018 MB / 0.9412 GB, free: 15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/3.754, allocations: 210.2 kB / 0.9414 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3886/4.143, allocations: 12.6 MB / 0.9537 GB, free: 137.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/4.143, allocations: 5.031 kB / 0.9537 GB, free: 137.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02418/4.167, allocations: 7.191 MB / 0.9608 GB, free: 136.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007419/4.175, allocations: 0.7329 MB / 0.9615 GB, free: 136.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/4.219, allocations: 18.59 MB / 0.9796 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008421/4.228, allocations: 4.276 MB / 0.9838 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/4.231, allocations: 329.7 kB / 0.9841 GB, free: 126.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/4.231, allocations: 0 / 0.9841 GB, free: 126.2 MB / 442.7 MB Notification: Performance of Templates: time 0.5842/4.815, allocations: 146.9 MB / 1.128 GB, free: 128 MB / 442.7 MB