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_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.16e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3593, allocations: 48.71 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.117/0.4764, allocations: 65.73 MB / 390.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04615/0.5226, allocations: 14.38 MB / 405 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01775/0.5404, allocations: 371.1 kB / 405.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.5535, allocations: 3.484 MB / 408.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03849/0.592, allocations: 9.56 MB / 418.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006858/0.5989, allocations: 1.116 MB / 419.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.09609/0.6951, allocations: 32.03 MB / 451.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.7089, allocations: 6.5 MB / 458 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.7128, allocations: 1.442 MB / 459.5 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.7174, allocations: 1.89 MB / 461.4 MB, free: 6.672 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.721, allocations: 0.8116 MB / 462.2 MB, free: 5.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.7226, allocations: 176 kB / 462.4 MB, free: 5.688 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004376/0.727, allocations: 2.233 MB / 464.6 MB, free: 3.449 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.7292, allocations: 400 kB / 465 MB, free: 3.059 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.7416, allocations: 7.384 MB / 472.4 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7417, allocations: 3.938 kB / 472.4 MB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.7417, allocations: 0 / 472.4 MB, free: 11.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003565/0.742, allocations: 0 / 472.4 MB, free: 11.65 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.02435/0.7664, allocations: 6.065 MB / 478.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7665, allocations: 12.03 kB / 478.5 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5193/1.286, allocations: 19.5 MB / 497.9 MB, free: 129.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.306, allocations: 6.358 MB / 0.4925 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/1.306, allocations: 318.3 kB / 0.4928 GB, free: 126.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/1.308, allocations: 412.7 kB / 0.4932 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03406/1.342, allocations: 11.1 MB / 0.504 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/1.342, allocations: 55.55 kB / 0.5041 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/1.343, allocations: 176.4 kB / 0.5042 GB, free: 115.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/1.346, allocations: 1.495 MB / 0.5057 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/1.379, allocations: 9.309 MB / 0.5148 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07903/1.458, allocations: 44.65 MB / 0.5584 GB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03744/1.495, allocations: 7.945 MB / 0.5662 GB, free: 51.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0291/1.524, allocations: 12.87 MB / 0.5787 GB, free: 38.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/1.524, allocations: 60.8 kB / 0.5788 GB, free: 38.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.442e-06/1.524, allocations: 0 / 0.5788 GB, free: 38.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.7437/2.268, allocations: 77.14 MB / 0.6541 GB, free: 129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02676/2.295, allocations: 11.38 MB / 0.6652 GB, free: 123.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/2.305, allocations: 4.348 MB / 0.6695 GB, free: 121.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001416/2.307, allocations: 86.77 kB / 0.6696 GB, free: 121.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/2.31, allocations: 2.956 MB / 0.6725 GB, free: 118.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002563/2.312, allocations: 1.41 MB / 0.6738 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/2.313, allocations: 109.9 kB / 0.6739 GB, free: 117.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003605/2.314, allocations: 0.5295 MB / 0.6745 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/2.324, allocations: 4.627 MB / 0.679 GB, free: 114.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/2.336, allocations: 6.621 MB / 0.6854 GB, free: 106.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/2.349, allocations: 5.575 MB / 0.6909 GB, free: 101.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/2.349, allocations: 20 kB / 0.6909 GB, free: 101.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.06397/2.413, allocations: 18.99 MB / 0.7094 GB, free: 82.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/2.413, allocations: 35.59 kB / 0.7095 GB, free: 82.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-05/2.413, allocations: 64 kB / 0.7095 GB, free: 82.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04292/2.456, allocations: 8.808 MB / 0.7181 GB, free: 73.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007211/2.464, allocations: 1.006 MB / 0.7191 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1248/2.588, allocations: 52.25 MB / 0.7702 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009928/2.598, allocations: 0.5007 MB / 0.7706 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/2.6, allocations: 280.7 kB / 0.7709 GB, free: 19.04 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.006428/2.607, allocations: 2.245 MB / 0.7731 GB, free: 16.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/2.608, allocations: 481.9 kB / 0.7736 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3558/2.964, allocations: 17.96 MB / 0.7911 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06368/3.028, allocations: 16.47 MB / 0.8072 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.716e-05/3.028, allocations: 30.38 kB / 0.8072 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.359e-05/3.028, allocations: 19.36 kB / 0.8072 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1085/3.137, allocations: 35.34 MB / 0.8417 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.577e-05/3.137, allocations: 7.953 kB / 0.8418 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004405/3.141, allocations: 451.3 kB / 0.8422 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04415/3.185, allocations: 8.805 MB / 0.8508 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001368/3.187, allocations: 75.92 kB / 0.8509 GB, free: 91.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1167/3.303, allocations: 50.79 MB / 0.9005 GB, free: 40.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02407/3.328, allocations: 10.17 MB / 0.9104 GB, free: 30.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07306/3.401, allocations: 24.52 MB / 0.9343 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005373/3.406, allocations: 1.459 MB / 0.9358 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00265/3.409, allocations: 72 kB / 0.9358 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007529/3.416, allocations: 388.1 kB / 0.9362 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/3.419, allocations: 327.9 kB / 0.9365 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009617/3.42, allocations: 103.9 kB / 0.9366 GB, free: 3.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00722/3.427, allocations: 3.235 MB / 0.9398 GB, free: 384 kB / 426.7 MB Notification: Performance of sort global known variables: time 9.72e-07/3.427, allocations: 0 / 0.9398 GB, free: 384 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.01087/3.438, allocations: 2.012 MB / 0.9417 GB, free: 14.36 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.001926/3.44, allocations: 214.2 kB / 0.9419 GB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3344/3.774, allocations: 12.6 MB / 0.9542 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/3.774, allocations: 0 / 0.9542 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02713/3.802, allocations: 7.205 MB / 0.9613 GB, free: 137.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/3.809, allocations: 0.7284 MB / 0.962 GB, free: 137.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/3.852, allocations: 17.99 MB / 0.9796 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009437/3.862, allocations: 4.271 MB / 0.9837 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007753/3.869, allocations: 1.628 MB / 0.9853 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/3.872, allocations: 311 kB / 0.9856 GB, free: 127.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/3.872, allocations: 0 / 0.9856 GB, free: 127.1 MB / 442.7 MB Notification: Performance of Templates: time 0.2875/4.16, allocations: 113.7 MB / 1.097 GB, free: 18.73 MB / 442.7 MB