Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 283.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.651e-05/4.673e-05, allocations: 4 kB / 348.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3805, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5798, allocations: 108.4 MB / 0.5065 GB, free: 14.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5801, allocations: 75.95 kB / 0.5066 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6669/1.247, allocations: 96.41 MB / 0.6007 GB, free: 41.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.429e-06/1.247, allocations: 0 / 0.6007 GB, free: 41.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002689/1.247, allocations: 92 kB / 0.6008 GB, free: 41.02 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01333/1.261, allocations: 4.593 MB / 0.6053 GB, free: 36.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.261, allocations: 15.91 kB / 0.6053 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03355/1.294, allocations: 6.733 MB / 0.6119 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/1.312, allocations: 6.004 MB / 0.6178 GB, free: 23.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/1.312, allocations: 324.6 kB / 0.6181 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/1.314, allocations: 443.6 kB / 0.6185 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/1.339, allocations: 10.92 MB / 0.6292 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/1.34, allocations: 67.39 kB / 0.6292 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/1.341, allocations: 211.9 kB / 0.6294 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001723/1.343, allocations: 1.022 MB / 0.6304 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/1.364, allocations: 8.977 MB / 0.6392 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07365/1.438, allocations: 47.6 MB / 0.6857 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.453, allocations: 4.091 MB / 0.6897 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/1.457, allocations: 1.799 MB / 0.6914 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.473, allocations: 7.482 MB / 0.6987 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/1.474, allocations: 55.48 kB / 0.6988 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 6.804e-06/1.474, allocations: 4 kB / 0.6988 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.4126/1.886, allocations: 25.57 MB / 0.7238 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/1.886, allocations: 210.8 kB / 0.724 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008656/1.895, allocations: 3.745 MB / 0.7276 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005416/1.896, allocations: 59.92 kB / 0.7277 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.898, allocations: 3.231 MB / 0.7308 GB, free: 128 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.9, allocations: 0.8805 MB / 0.7317 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008832/1.9, allocations: 121.6 kB / 0.7318 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004952/1.901, allocations: 0.5709 MB / 0.7324 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006737/1.908, allocations: 3.368 MB / 0.7357 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008548/1.916, allocations: 6.956 MB / 0.7424 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/1.925, allocations: 4.744 MB / 0.7471 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/1.925, allocations: 38.5 kB / 0.7471 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.04582/1.971, allocations: 14.99 MB / 0.7618 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.971, allocations: 62.2 kB / 0.7618 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.971, allocations: 132.5 kB / 0.7619 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04694/2.018, allocations: 5.926 MB / 0.7677 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01151/2.03, allocations: 1.433 MB / 0.7691 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06655/2.097, allocations: 24.96 MB / 0.7935 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006999/2.104, allocations: 390.9 kB / 0.7939 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/2.105, allocations: 382.7 kB / 0.7942 GB, free: 101 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001367/2.106, allocations: 0.5829 MB / 0.7948 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/2.107, allocations: 398.8 kB / 0.7952 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03261/2.14, allocations: 10.76 MB / 0.8057 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.047e-05/2.14, allocations: 28.81 kB / 0.8057 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/2.14, allocations: 8 kB / 0.8057 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-05/2.14, allocations: 15.02 kB / 0.8057 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05114/2.191, allocations: 20.13 MB / 0.8254 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/2.191, allocations: 11.47 kB / 0.8254 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/2.194, allocations: 383.4 kB / 0.8258 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02353/2.218, allocations: 4.994 MB / 0.8307 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005679/2.218, allocations: 44 kB / 0.8307 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03257/2.251, allocations: 20.14 MB / 0.8504 GB, free: 46.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.509e-06/2.251, allocations: 11.89 kB / 0.8504 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03569/2.286, allocations: 14.5 MB / 0.8645 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/2.288, allocations: 443.8 kB / 0.865 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/2.289, allocations: 47.98 kB / 0.865 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/2.292, allocations: 168.8 kB / 0.8652 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006987/2.292, allocations: 153.1 kB / 0.8653 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/2.293, allocations: 68.89 kB / 0.8654 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005176/2.298, allocations: 2.631 MB / 0.868 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.001e-06/2.298, allocations: 0 / 0.868 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007618/2.306, allocations: 1.325 MB / 0.8692 GB, free: 27.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007497/2.306, allocations: 201.4 kB / 0.8694 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01382/2.32, allocations: 7.654 MB / 0.8769 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.761e-06/2.32, allocations: 2.734 kB / 0.8769 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005664/2.326, allocations: 3.031 MB / 0.8799 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/2.329, allocations: 490.8 kB / 0.8803 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/2.35, allocations: 9.873 MB / 0.89 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00624/2.356, allocations: 3.604 MB / 0.8935 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006848/2.363, allocations: 1.969 MB / 0.8954 GB, free: 376 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/2.364, allocations: 271.4 kB / 0.8957 GB, free: 104 kB / 0.5105 GB Notification: Performance of SimCode: time 1.761e-06/2.364, allocations: 0 / 0.8957 GB, free: 104 kB / 0.5105 GB Notification: Performance of Templates: time 0.4586/2.823, allocations: 63.01 MB / 0.9572 GB, free: 132.4 MB / 0.5261 GB