Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.278e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3772/0.5127, allocations: 24.48 MB / 435.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.5311, allocations: 6.119 MB / 441.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006695/0.5379, allocations: 123 kB / 441.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.5432, allocations: 1.286 MB / 442.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01642/0.5597, allocations: 3.752 MB / 446.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.5624, allocations: 381.2 kB / 447 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004672/0.5671, allocations: 1.371 MB / 448.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004526/0.5717, allocations: 1.879 MB / 450.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.5737, allocations: 0.6716 MB / 451 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.5766, allocations: 1.14 MB / 452.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.5796, allocations: 0.7317 MB / 452.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009422/0.5806, allocations: 112.4 kB / 453 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002337/0.5829, allocations: 1.32 MB / 454.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.5841, allocations: 212.8 kB / 454.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008473/0.5926, allocations: 4.745 MB / 459.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5926, allocations: 0 / 459.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5927, allocations: 1.375 kB / 459.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002741/0.5929, allocations: 0 / 459.2 MB, free: 4.742 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01178/0.6047, allocations: 3.541 MB / 462.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6048, allocations: 8.562 kB / 462.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02348/0.6283, allocations: 3.733 MB / 466.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/0.635, allocations: 1.962 MB / 468.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.6353, allocations: 196.6 kB / 468.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.6371, allocations: 239.8 kB / 468.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/0.6653, allocations: 10.55 MB / 479.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.6655, allocations: 23.81 kB / 479.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008364/0.6664, allocations: 119.8 kB / 479.6 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007963/0.6744, allocations: 2.545 MB / 482.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03163/0.706, allocations: 9.979 MB / 492.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07846/0.7846, allocations: 34.54 MB / 0.5143 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.8012, allocations: 5.17 MB / 0.5194 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.8038, allocations: 1.881 MB / 0.5212 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.8039, allocations: 52.56 kB / 0.5212 GB, free: 10.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 6.933e-06/0.804, allocations: 0 / 0.5212 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.05861/0.8626, allocations: 14.47 MB / 0.5354 GB, free: 12.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.8627, allocations: 69.41 kB / 0.5354 GB, free: 12.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005443/0.8681, allocations: 2.451 MB / 0.5378 GB, free: 9.551 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005933/0.8688, allocations: 61.61 kB / 0.5379 GB, free: 9.488 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002691/0.8715, allocations: 2.63 MB / 0.5405 GB, free: 6.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.8732, allocations: 0.8479 MB / 0.5413 GB, free: 5.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005621/0.8737, allocations: 104 kB / 0.5414 GB, free: 5.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004851/0.8742, allocations: 0.5339 MB / 0.5419 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005711/0.88, allocations: 2.173 MB / 0.544 GB, free: 3.137 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008774/0.8888, allocations: 5.028 MB / 0.549 GB, free: 12.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/0.8973, allocations: 3.299 MB / 0.5522 GB, free: 9.398 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.592e-05/0.8975, allocations: 28 kB / 0.5522 GB, free: 9.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.02423/0.9217, allocations: 7.755 MB / 0.5598 GB, free: 1.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.9218, allocations: 48 kB / 0.5598 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.922, allocations: 100 kB / 0.5599 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/0.9262, allocations: 0.8008 MB / 0.5607 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00794/0.9342, allocations: 1.185 MB / 0.5619 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009736/0.944, allocations: 4.297 MB / 0.5661 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005307/0.9493, allocations: 295.8 kB / 0.5663 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.9506, allocations: 304 kB / 0.5666 GB, free: 10.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (631): * Single equations (assignments): 624 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005792/0.9564, allocations: 1.989 MB / 0.5686 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000696/0.9572, allocations: 264.5 kB / 0.5688 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.9711, allocations: 4.706 MB / 0.5734 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/0.9713, allocations: 47.98 kB / 0.5735 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.9713, allocations: 0 / 0.5735 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/0.9714, allocations: 15.89 kB / 0.5735 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/1.002, allocations: 10.53 MB / 0.5838 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.002, allocations: 8 kB / 0.5838 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.005, allocations: 360.3 kB / 0.5841 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/1.009, allocations: 0.656 MB / 0.5847 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/1.01, allocations: 47.98 kB / 0.5848 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008285/1.018, allocations: 3.741 MB / 0.5884 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/1.018, allocations: 11.94 kB / 0.5885 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.037, allocations: 7.678 MB / 0.596 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.038, allocations: 321.6 kB / 0.5963 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009723/1.039, allocations: 43.98 kB / 0.5963 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.042, allocations: 139.8 kB / 0.5964 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/1.042, allocations: 129.1 kB / 0.5966 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.042, allocations: 71.97 kB / 0.5966 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003936/1.046, allocations: 1.682 MB / 0.5983 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.42e-07/1.046, allocations: 4 kB / 0.5983 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006226/1.053, allocations: 0.9375 MB / 0.5992 GB, free: 8.414 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/1.054, allocations: 198.8 kB / 0.5994 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.067, allocations: 5.31 MB / 0.6046 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.067, allocations: 7.938 kB / 0.6046 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/1.072, allocations: 2.014 MB / 0.6065 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.075, allocations: 325.6 kB / 0.6069 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3557/1.431, allocations: 11.51 MB / 0.6181 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007951/1.439, allocations: 3.262 MB / 0.6213 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.441, allocations: 242.9 kB / 0.6215 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/1.441, allocations: 1.281 kB / 0.6215 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1278/1.569, allocations: 67.96 MB / 0.6879 GB, free: 111.2 MB / 0.5105 GB