Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.732e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.3485, allocations: 88.41 MB / 352.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.3488, allocations: 83.95 kB / 352.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6189/0.9677, allocations: 126.2 MB / 478.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.748e-06/0.9678, allocations: 4 kB / 478.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003688/0.9682, allocations: 115.9 kB / 478.6 MB, free: 10.79 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02358/0.9918, allocations: 6.325 MB / 484.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.9919, allocations: 12.03 kB / 484.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05369/1.046, allocations: 8.306 MB / 493.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/1.069, allocations: 7.264 MB / 0.4887 GB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/1.07, allocations: 455.7 kB / 0.4892 GB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003013/1.073, allocations: 0.5934 MB / 0.4898 GB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3325/1.405, allocations: 15.5 MB / 0.5049 GB, free: 50.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/1.406, allocations: 73.2 kB / 0.505 GB, free: 50.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00157/1.407, allocations: 282.7 kB / 0.5052 GB, free: 50.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/1.41, allocations: 1.615 MB / 0.5068 GB, free: 50.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03301/1.443, allocations: 13.52 MB / 0.52 GB, free: 50.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08227/1.525, allocations: 63.95 MB / 0.5825 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/1.544, allocations: 6.369 MB / 0.5887 GB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005443/1.549, allocations: 3.464 MB / 0.5921 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03341/1.583, allocations: 14.33 MB / 0.6061 GB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.626e-05/1.583, allocations: 63.47 kB / 0.6061 GB, free: 7.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 1.144e-05/1.583, allocations: 0 / 0.6061 GB, free: 7.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=336): time 0.1246/1.707, allocations: 29.73 MB / 0.6352 GB, free: 1.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.708, allocations: 218.5 kB / 0.6354 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2301/1.938, allocations: 4.903 MB / 0.6402 GB, free: 83.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006936/1.938, allocations: 72.77 kB / 0.6402 GB, free: 83.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003318/1.942, allocations: 4.42 MB / 0.6445 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.943, allocations: 1.246 MB / 0.6458 GB, free: 81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009859/1.944, allocations: 170.1 kB / 0.6459 GB, free: 81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000615/1.945, allocations: 0.6786 MB / 0.6466 GB, free: 80.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008669/1.954, allocations: 4.455 MB / 0.6509 GB, free: 80.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.965, allocations: 9.354 MB / 0.6601 GB, free: 74.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.977, allocations: 6.385 MB / 0.6663 GB, free: 74.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/1.977, allocations: 49.81 kB / 0.6664 GB, free: 74.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.05212/2.029, allocations: 18.02 MB / 0.684 GB, free: 71.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/2.029, allocations: 81.28 kB / 0.684 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/2.029, allocations: 173.2 kB / 0.6842 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02766/2.057, allocations: 5.627 MB / 0.6897 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009609/2.067, allocations: 2.039 MB / 0.6917 GB, free: 70.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03902/2.106, allocations: 23.62 MB / 0.7148 GB, free: 57.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009257/2.115, allocations: 0.5336 MB / 0.7153 GB, free: 57.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.117, allocations: 0.5042 MB / 0.7158 GB, free: 56.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1049 * 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.002413/2.119, allocations: 0.7473 MB / 0.7165 GB, free: 55.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/2.121, allocations: 0.4975 MB / 0.717 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03465/2.155, allocations: 12.26 MB / 0.729 GB, free: 46.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.751e-05/2.155, allocations: 61.92 kB / 0.729 GB, free: 46.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/2.155, allocations: 8 kB / 0.729 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.592e-05/2.156, allocations: 21.14 kB / 0.729 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0584/2.214, allocations: 23.83 MB / 0.7523 GB, free: 26.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/2.214, allocations: 4 kB / 0.7523 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003726/2.218, allocations: 0.5616 MB / 0.7529 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02245/2.24, allocations: 4.642 MB / 0.7574 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/2.241, allocations: 59.83 kB / 0.7575 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2583/2.499, allocations: 18.92 MB / 0.7759 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.072e-06/2.499, allocations: 10.34 kB / 0.7759 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04159/2.541, allocations: 17.25 MB / 0.7928 GB, free: 69.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/2.545, allocations: 1.212 MB / 0.794 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.546, allocations: 57.16 kB / 0.794 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00421/2.551, allocations: 248.3 kB / 0.7943 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/2.552, allocations: 195.4 kB / 0.7944 GB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/2.552, allocations: 85.83 kB / 0.7945 GB, free: 68.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007514/2.56, allocations: 3.303 MB / 0.7978 GB, free: 68.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.069e-06/2.56, allocations: 0 / 0.7978 GB, free: 68.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0101/2.57, allocations: 1.707 MB / 0.7994 GB, free: 68.7 MB / 378.7 MB 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 (251): * Single equations (assignments): 243 * 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.001029/2.571, allocations: 209.6 kB / 0.7996 GB, free: 68.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0188/2.59, allocations: 10.03 MB / 0.8094 GB, free: 67.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/2.59, allocations: 0.9844 kB / 0.8094 GB, free: 67.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008577/2.598, allocations: 3.857 MB / 0.8132 GB, free: 66.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/2.602, allocations: 0.5764 MB / 0.8137 GB, free: 65.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/2.632, allocations: 13.42 MB / 0.8269 GB, free: 60.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009165/2.641, allocations: 4.748 MB / 0.8315 GB, free: 59.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009921/2.651, allocations: 2.981 MB / 0.8344 GB, free: 59.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.653, allocations: 351.5 kB / 0.8347 GB, free: 59.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.978e-06/2.653, allocations: 2.719 kB / 0.8347 GB, free: 59.24 MB / 378.7 MB Notification: Performance of Templates: time 0.1613/2.815, allocations: 72.32 MB / 0.9054 GB, free: 15.15 MB / 394.7 MB