Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.413e-05, allocations: 8 kB / 348.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.4902, allocations: 103.7 MB / 0.5019 GB, free: 2.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4905, allocations: 71.95 kB / 0.502 GB, free: 2.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.606/1.097, allocations: 85.95 MB / 0.5859 GB, free: 55.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.759e-06/1.097, allocations: 0 / 0.5859 GB, free: 55.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001375/1.097, allocations: 64 kB / 0.586 GB, free: 55.44 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01011/1.107, allocations: 3.599 MB / 0.5895 GB, free: 51.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.107, allocations: 8.031 kB / 0.5895 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/1.125, allocations: 3.489 MB / 0.5929 GB, free: 48.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/1.137, allocations: 3.996 MB / 0.5968 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/1.137, allocations: 287.5 kB / 0.5971 GB, free: 43.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/1.139, allocations: 375.9 kB / 0.5975 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/1.162, allocations: 10.01 MB / 0.6072 GB, free: 33.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/1.162, allocations: 19.81 kB / 0.6073 GB, free: 33.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/1.164, allocations: 175.9 kB / 0.6074 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/1.166, allocations: 1.176 MB / 0.6086 GB, free: 31.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/1.188, allocations: 9.673 MB / 0.618 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09868/1.286, allocations: 34.72 MB / 0.6519 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/1.306, allocations: 4.896 MB / 0.6567 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007336/1.313, allocations: 2.275 MB / 0.6589 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/1.317, allocations: 1.876 MB / 0.6608 GB, free: 8.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/1.317, allocations: 60.45 kB / 0.6608 GB, free: 8.852 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 9.102e-06/1.317, allocations: 3.984 kB / 0.6608 GB, free: 8.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.03743/1.354, allocations: 11.17 MB / 0.6717 GB, free: 13.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.354, allocations: 73.41 kB / 0.6718 GB, free: 13.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/1.359, allocations: 2.325 MB / 0.6741 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/1.36, allocations: 57.69 kB / 0.6741 GB, free: 11.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.362, allocations: 2.639 MB / 0.6767 GB, free: 8.461 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.363, allocations: 0.8479 MB / 0.6775 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.364, allocations: 100 kB / 0.6776 GB, free: 7.504 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005073/1.364, allocations: 0.533 MB / 0.6781 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/1.369, allocations: 2.138 MB / 0.6802 GB, free: 4.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007425/1.376, allocations: 4.945 MB / 0.6851 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006823/1.383, allocations: 3.3 MB / 0.6883 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.612e-05/1.383, allocations: 31.94 kB / 0.6883 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01868/1.402, allocations: 7.454 MB / 0.6956 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/1.402, allocations: 48 kB / 0.6956 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.402, allocations: 100 kB / 0.6957 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/1.405, allocations: 0.801 MB / 0.6965 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/1.411, allocations: 1.178 MB / 0.6977 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007954/1.419, allocations: 4.146 MB / 0.7017 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/1.423, allocations: 283.8 kB / 0.702 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009507/1.424, allocations: 308 kB / 0.7023 GB, free: 12.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (630): * Single equations (assignments): 623 * 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.001124/1.426, allocations: 489.4 kB / 0.7027 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/1.426, allocations: 256.6 kB / 0.703 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.437, allocations: 4.674 MB / 0.7076 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-05/1.437, allocations: 43.97 kB / 0.7076 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.437, allocations: 4 kB / 0.7076 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/1.437, allocations: 11.95 kB / 0.7076 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3551/1.792, allocations: 10.49 MB / 0.7179 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/1.792, allocations: 6.938 kB / 0.7179 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/1.795, allocations: 358.3 kB / 0.7182 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.798, allocations: 0.648 MB / 0.7188 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003926/1.798, allocations: 49.34 kB / 0.7189 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/1.804, allocations: 3.591 MB / 0.7224 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.804, allocations: 13 kB / 0.7224 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.817, allocations: 7.602 MB / 0.7298 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/1.818, allocations: 316.5 kB / 0.7301 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/1.819, allocations: 43.02 kB / 0.7302 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.82, allocations: 136.9 kB / 0.7303 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/1.821, allocations: 131.5 kB / 0.7304 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.821, allocations: 62.23 kB / 0.7305 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00286/1.824, allocations: 1.582 MB / 0.732 GB, free: 134 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.85e-07/1.824, allocations: 3.781 kB / 0.732 GB, free: 134 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005175/1.829, allocations: 0.929 MB / 0.7329 GB, free: 134 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.0005297/1.83, allocations: 191.3 kB / 0.7331 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009207/1.839, allocations: 5.092 MB / 0.7381 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.028e-06/1.839, allocations: 3.75 kB / 0.7381 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.842, allocations: 1.976 MB / 0.74 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.844, allocations: 321 kB / 0.7403 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.86, allocations: 7.864 MB / 0.748 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004755/1.865, allocations: 3.252 MB / 0.7512 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006018/1.871, allocations: 1.953 MB / 0.7531 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.872, allocations: 204.5 kB / 0.7533 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.719e-06/1.872, allocations: 0 / 0.7533 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.07315/1.945, allocations: 28.4 MB / 0.781 GB, free: 116.7 MB / 0.5105 GB