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.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/4.979e-05, allocations: 8 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4592, allocations: 54.84 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.1125/0.5718, allocations: 65.76 MB / 428.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05108/0.6229, allocations: 14.41 MB / 443 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01907/0.642, allocations: 367.1 kB / 443.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.6544, allocations: 3.492 MB / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03719/0.6917, allocations: 9.552 MB / 456.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006591/0.6983, allocations: 1.112 MB / 457.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.09726/0.7956, allocations: 32.03 MB / 489.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.8094, allocations: 6.494 MB / 496.1 MB, free: 8.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.8135, allocations: 1.438 MB / 497.5 MB, free: 6.777 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/0.8182, allocations: 1.89 MB / 499.4 MB, free: 4.883 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.8215, allocations: 0.8194 MB / 0.4885 GB, free: 4.062 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.8231, allocations: 176 kB / 0.4887 GB, free: 3.891 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004276/0.8274, allocations: 2.237 MB / 0.4909 GB, free: 1.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.8302, allocations: 396 kB / 0.4912 GB, free: 1.262 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3786/1.209, allocations: 7.389 MB / 0.4985 GB, free: 38.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.209, allocations: 0 / 0.4985 GB, free: 38.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.516e-06/1.209, allocations: 1.594 kB / 0.4985 GB, free: 38.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004615/1.209, allocations: 0 / 0.4985 GB, free: 38.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.0286/1.238, allocations: 6.076 MB / 0.5044 GB, free: 36.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.238, allocations: 8.312 kB / 0.5044 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.244/1.482, allocations: 19.5 MB / 0.5234 GB, free: 30.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.503, allocations: 6.354 MB / 0.5296 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/1.504, allocations: 322.8 kB / 0.5299 GB, free: 28.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/1.507, allocations: 419.4 kB / 0.5303 GB, free: 28.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.549, allocations: 11.11 MB / 0.5412 GB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004913/1.549, allocations: 56.64 kB / 0.5413 GB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002372/1.552, allocations: 174.6 kB / 0.5414 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/1.555, allocations: 1.491 MB / 0.5429 GB, free: 20.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03679/1.592, allocations: 9.32 MB / 0.552 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09525/1.687, allocations: 44.69 MB / 0.5956 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0462/1.734, allocations: 7.951 MB / 0.6034 GB, free: 3.848 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03483/1.768, allocations: 12.87 MB / 0.616 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.115e-05/1.769, allocations: 66.02 kB / 0.616 GB, free: 10.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=283): time 6.453e-06/1.769, allocations: 4 kB / 0.616 GB, free: 10.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=406): time 0.841/2.61, allocations: 77.14 MB / 0.6913 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03054/2.64, allocations: 11.38 MB / 0.7025 GB, free: 214.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/2.651, allocations: 4.338 MB / 0.7067 GB, free: 213.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/2.652, allocations: 94.98 kB / 0.7068 GB, free: 213 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003495/2.656, allocations: 2.959 MB / 0.7097 GB, free: 211.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002968/2.659, allocations: 1.405 MB / 0.711 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/2.661, allocations: 111.6 kB / 0.7112 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005376/2.661, allocations: 0.5377 MB / 0.7117 GB, free: 209.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01229/2.674, allocations: 4.623 MB / 0.7162 GB, free: 208.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/2.688, allocations: 6.621 MB / 0.7227 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/2.701, allocations: 5.581 MB / 0.7281 GB, free: 201.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.901e-05/2.702, allocations: 21.94 kB / 0.7281 GB, free: 201.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=722) (initialization): time 0.07179/2.773, allocations: 18.97 MB / 0.7467 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/2.774, allocations: 35.95 kB / 0.7467 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/2.774, allocations: 67.94 kB / 0.7468 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04502/2.819, allocations: 8.811 MB / 0.7554 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/2.827, allocations: 1.01 MB / 0.7563 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1296/2.957, allocations: 52.23 MB / 0.8074 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.968, allocations: 0.506 MB / 0.8078 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/2.97, allocations: 279.9 kB / 0.8081 GB, free: 121.6 MB / 0.5261 GB 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.01074/2.981, allocations: 2.253 MB / 0.8103 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003247/2.984, allocations: 481 kB / 0.8108 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09561/3.08, allocations: 17.96 MB / 0.8283 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09174/3.172, allocations: 16.47 MB / 0.8444 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/3.172, allocations: 28 kB / 0.8444 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/3.172, allocations: 23.91 kB / 0.8444 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1758/3.348, allocations: 35.35 MB / 0.879 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.079e-05/3.348, allocations: 4 kB / 0.879 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004456/3.353, allocations: 459.7 kB / 0.8794 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04486/3.398, allocations: 8.793 MB / 0.888 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001567/3.399, allocations: 71.98 kB / 0.8881 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4704/3.87, allocations: 50.8 MB / 0.9377 GB, free: 202 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02603/3.896, allocations: 10.18 MB / 0.9476 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07697/3.973, allocations: 24.51 MB / 0.9715 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005779/3.979, allocations: 1.461 MB / 0.973 GB, free: 179 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003143/3.982, allocations: 71.89 kB / 0.973 GB, free: 179 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008416/3.99, allocations: 386.3 kB / 0.9734 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003471/3.994, allocations: 327.5 kB / 0.9737 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002007/3.996, allocations: 103.7 kB / 0.9738 GB, free: 178.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009461/4.005, allocations: 3.232 MB / 0.977 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.443e-06/4.005, allocations: 3.5 kB / 0.977 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01186/4.017, allocations: 2.011 MB / 0.9789 GB, free: 173.4 MB / 0.5261 GB 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.001863/4.019, allocations: 216.9 kB / 0.9792 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03499/4.054, allocations: 12.6 MB / 0.9915 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/4.054, allocations: 7.969 kB / 0.9915 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02306/4.077, allocations: 7.192 MB / 0.9985 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008509/4.086, allocations: 0.7311 MB / 0.9992 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04605/4.132, allocations: 18 MB / 1.017 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/4.143, allocations: 4.278 MB / 1.021 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008094/4.151, allocations: 1.621 MB / 1.023 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/4.154, allocations: 311.3 kB / 1.023 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/4.154, allocations: 0 / 1.023 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.3183/4.472, allocations: 113.7 MB / 1.134 GB, free: 14.86 MB / 0.5261 GB