Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 270.1 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.738e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 61.9 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5509, allocations: 111.2 MB / 0.5093 GB, free: 8.891 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5512, allocations: 71.97 kB / 0.5093 GB, free: 8.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7856/1.337, allocations: 128.6 MB / 0.6349 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.305e-06/1.337, allocations: 0 / 0.6349 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003685/1.337, allocations: 119.4 kB / 0.635 GB, free: 111.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02306/1.36, allocations: 6.316 MB / 0.6412 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.36, allocations: 11.53 kB / 0.6412 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04541/1.406, allocations: 8.323 MB / 0.6493 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/1.428, allocations: 7.05 MB / 0.6562 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005281/1.429, allocations: 452.9 kB / 0.6566 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/1.432, allocations: 0.597 MB / 0.6572 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03969/1.472, allocations: 15.54 MB / 0.6724 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003281/1.472, allocations: 67.38 kB / 0.6725 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00266/1.475, allocations: 285.9 kB / 0.6727 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002879/1.478, allocations: 1.623 MB / 0.6743 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0334/1.511, allocations: 13.58 MB / 0.6876 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0865/1.598, allocations: 64.04 MB / 0.7501 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/1.615, allocations: 6.385 MB / 0.7564 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/1.621, allocations: 3.522 MB / 0.7598 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03744/1.658, allocations: 14.39 MB / 0.7738 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.534e-05/1.659, allocations: 72.5 kB / 0.7739 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 1.431e-05/1.659, allocations: 0 / 0.7739 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1499/1.809, allocations: 29.66 MB / 0.8029 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.809, allocations: 218 kB / 0.8031 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.82, allocations: 4.769 MB / 0.8077 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007344/1.82, allocations: 77.53 kB / 0.8078 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3207/2.141, allocations: 4.416 MB / 0.8121 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003079/2.144, allocations: 1.255 MB / 0.8134 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/2.146, allocations: 171.8 kB / 0.8135 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001375/2.147, allocations: 0.6805 MB / 0.8142 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01695/2.164, allocations: 4.491 MB / 0.8186 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02073/2.185, allocations: 9.392 MB / 0.8277 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02369/2.209, allocations: 6.426 MB / 0.834 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004857/2.21, allocations: 50.62 kB / 0.8341 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.06137/2.271, allocations: 18.08 MB / 0.8517 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/2.271, allocations: 81.72 kB / 0.8518 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/2.271, allocations: 175 kB / 0.852 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02775/2.299, allocations: 5.632 MB / 0.8575 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009978/2.309, allocations: 2.066 MB / 0.8595 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03972/2.349, allocations: 23.61 MB / 0.8825 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009622/2.359, allocations: 0.5458 MB / 0.8831 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/2.361, allocations: 0.5044 MB / 0.8836 GB, free: 96.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00298/2.364, allocations: 0.7612 MB / 0.8843 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/2.365, allocations: 0.492 MB / 0.8848 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03975/2.405, allocations: 12.34 MB / 0.8969 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/2.405, allocations: 54.41 kB / 0.8969 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/2.405, allocations: 11.41 kB / 0.8969 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/2.405, allocations: 17.97 kB / 0.8969 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06172/2.467, allocations: 23.95 MB / 0.9203 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/2.467, allocations: 4 kB / 0.9203 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/2.471, allocations: 0.5721 MB / 0.9209 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0231/2.494, allocations: 4.644 MB / 0.9254 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007615/2.495, allocations: 60.22 kB / 0.9255 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02943/2.524, allocations: 18.93 MB / 0.944 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-06/2.524, allocations: 8.484 kB / 0.944 GB, free: 57.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0404/2.565, allocations: 17.38 MB / 0.9609 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/2.566, allocations: 0.5346 MB / 0.9615 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/2.568, allocations: 60.14 kB / 0.9615 GB, free: 39.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/2.572, allocations: 248.2 kB / 0.9618 GB, free: 39.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.573, allocations: 194.3 kB / 0.9619 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005267/2.574, allocations: 84.61 kB / 0.962 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007516/2.582, allocations: 3.31 MB / 0.9653 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.16e-06/2.582, allocations: 0 / 0.9653 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0116/2.593, allocations: 1.706 MB / 0.9669 GB, free: 34.14 MB / 0.5261 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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/2.594, allocations: 222 kB / 0.9671 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01901/2.613, allocations: 10.11 MB / 0.977 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.885e-06/2.613, allocations: 0 / 0.977 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007194/2.621, allocations: 3.912 MB / 0.9808 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/2.625, allocations: 0.5685 MB / 0.9814 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/2.655, allocations: 13.49 MB / 0.9946 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/2.666, allocations: 4.75 MB / 0.9992 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01194/2.678, allocations: 2.997 MB / 1.002 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/2.681, allocations: 355.3 kB / 1.002 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.825e-06/2.681, allocations: 0 / 1.002 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.4938/3.174, allocations: 72.71 MB / 1.073 GB, free: 114.2 MB / 0.5417 GB