Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.231e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6012, allocations: 109 MB / 0.5071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.6015, allocations: 75.97 kB / 0.5072 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4749/1.076, allocations: 105 MB / 0.6098 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.225e-06/1.076, allocations: 0 / 0.6098 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003194/1.077, allocations: 100 kB / 0.6099 GB, free: 1.375 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.3133/1.39, allocations: 5.186 MB / 0.6149 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.39, allocations: 10.47 kB / 0.6149 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0373/1.427, allocations: 6.887 MB / 0.6217 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/1.449, allocations: 7.179 MB / 0.6287 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/1.45, allocations: 373.4 kB / 0.629 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/1.452, allocations: 0.4911 MB / 0.6295 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/1.481, allocations: 12.19 MB / 0.6414 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/1.482, allocations: 77.33 kB / 0.6415 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/1.483, allocations: 243.6 kB / 0.6417 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/1.485, allocations: 1.14 MB / 0.6428 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/1.51, allocations: 9.926 MB / 0.6525 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0664/1.577, allocations: 55.66 MB / 0.7069 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.596, allocations: 5.647 MB / 0.7124 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/1.6, allocations: 2.83 MB / 0.7152 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/1.617, allocations: 8.777 MB / 0.7237 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.617, allocations: 55.31 kB / 0.7238 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=206): time 6.428e-06/1.617, allocations: 0 / 0.7238 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=265): time 0.1182/1.735, allocations: 29.3 MB / 0.7524 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/1.736, allocations: 215.5 kB / 0.7526 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/1.743, allocations: 4.158 MB / 0.7567 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005441/1.744, allocations: 61.7 kB / 0.7567 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.746, allocations: 3.595 MB / 0.7602 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.748, allocations: 0.9784 MB / 0.7612 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/1.748, allocations: 132 kB / 0.7613 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003625/1.749, allocations: 0.5872 MB / 0.7619 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01132/1.76, allocations: 2.95 MB / 0.7648 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/1.775, allocations: 6.722 MB / 0.7713 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/1.791, allocations: 4.422 MB / 0.7757 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/1.791, allocations: 44 kB / 0.7757 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.04294/1.834, allocations: 12.57 MB / 0.788 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/1.834, allocations: 67.95 kB / 0.788 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/1.834, allocations: 132 kB / 0.7882 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/1.85, allocations: 4.087 MB / 0.7922 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.856, allocations: 1.423 MB / 0.7936 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05244/1.909, allocations: 25.82 MB / 0.8188 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006961/1.916, allocations: 395.2 kB / 0.8191 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/1.917, allocations: 400 kB / 0.8195 GB, free: 0.6992 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (763): * Single equations (assignments): 757 * Array equations: 3 * 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 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.919, allocations: 0.6136 MB / 0.8201 GB, free: 80 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3108/2.23, allocations: 440.6 kB / 0.8205 GB, free: 131.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02364/2.253, allocations: 8.061 MB / 0.8284 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/2.254, allocations: 28.77 kB / 0.8284 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/2.254, allocations: 13.12 kB / 0.8285 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-05/2.254, allocations: 12.11 kB / 0.8285 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04285/2.297, allocations: 16.63 MB / 0.8447 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/2.297, allocations: 9.078 kB / 0.8447 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/2.299, allocations: 300 kB / 0.845 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0141/2.313, allocations: 3.771 MB / 0.8487 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005436/2.313, allocations: 45.59 kB / 0.8487 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04254/2.356, allocations: 24.56 MB / 0.8727 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-06/2.356, allocations: 11.62 kB / 0.8727 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/2.383, allocations: 12.55 MB / 0.885 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/2.384, allocations: 498.4 kB / 0.8855 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/2.386, allocations: 45.59 kB / 0.8855 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/2.389, allocations: 169.1 kB / 0.8857 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009341/2.39, allocations: 199 kB / 0.8859 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/2.39, allocations: 72.53 kB / 0.8859 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006456/2.396, allocations: 2.926 MB / 0.8888 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.213e-06/2.396, allocations: 2.906 kB / 0.8888 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008439/2.405, allocations: 1.428 MB / 0.8902 GB, free: 113.3 MB / 0.5417 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 (161): * Single equations (assignments): 155 * Array equations: 3 * 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 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008351/2.406, allocations: 194 kB / 0.8904 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02504/2.431, allocations: 7.786 MB / 0.898 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/2.431, allocations: 3.906 kB / 0.898 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0151/2.446, allocations: 3.349 MB / 0.9012 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009899/2.456, allocations: 0.5551 MB / 0.9018 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04468/2.501, allocations: 10.33 MB / 0.9119 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007318/2.508, allocations: 4.035 MB / 0.9158 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006999/2.515, allocations: 2.029 MB / 0.9178 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.516, allocations: 279.6 kB / 0.9181 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.701e-06/2.516, allocations: 0 / 0.9181 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1492/2.666, allocations: 65.26 MB / 0.9818 GB, free: 44.51 MB / 0.5417 GB