Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.717e-05, allocations: 7.938 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.0902, allocations: 50.41 MB / 343.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4876, allocations: 105.1 MB / 448.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4878, allocations: 98.41 kB / 448.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4304/0.9183, allocations: 112.7 MB / 0.5478 GB, free: 7.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.683e-06/0.9183, allocations: 0 / 0.5478 GB, free: 7.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003418/0.9187, allocations: 104 kB / 0.5479 GB, free: 7.355 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01659/0.9353, allocations: 4.925 MB / 0.5527 GB, free: 2.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.9354, allocations: 12.03 kB / 0.5527 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3004/1.236, allocations: 6.9 MB / 0.5594 GB, free: 86.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/1.256, allocations: 6.448 MB / 0.5657 GB, free: 85.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/1.256, allocations: 392.8 kB / 0.5661 GB, free: 85.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/1.258, allocations: 0.5128 MB / 0.5666 GB, free: 85.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/1.288, allocations: 12.5 MB / 0.5788 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/1.289, allocations: 56.59 kB / 0.5789 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008548/1.29, allocations: 249.5 kB / 0.5791 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/1.291, allocations: 1.045 MB / 0.5801 GB, free: 83.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/1.317, allocations: 10.2 MB / 0.5901 GB, free: 83.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06242/1.379, allocations: 50.15 MB / 0.6391 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.396, allocations: 4.754 MB / 0.6437 GB, free: 47.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/1.399, allocations: 1.894 MB / 0.6456 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/1.413, allocations: 7.012 MB / 0.6524 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.414, allocations: 55.31 kB / 0.6525 GB, free: 42.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.149e-06/1.414, allocations: 0 / 0.6525 GB, free: 42.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.07294/1.487, allocations: 17.02 MB / 0.6691 GB, free: 33.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.487, allocations: 209 kB / 0.6693 GB, free: 32.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00805/1.495, allocations: 3.878 MB / 0.6731 GB, free: 29.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003694/1.495, allocations: 58.41 kB / 0.6731 GB, free: 29.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00248/1.498, allocations: 3.567 MB / 0.6766 GB, free: 26.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009585/1.499, allocations: 0.8415 MB / 0.6774 GB, free: 25.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/1.499, allocations: 124 kB / 0.6776 GB, free: 25.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004095/1.5, allocations: 0.5778 MB / 0.6781 GB, free: 24.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/1.504, allocations: 2.108 MB / 0.6802 GB, free: 22.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/1.51, allocations: 5.825 MB / 0.6859 GB, free: 15.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006572/1.517, allocations: 3.514 MB / 0.6893 GB, free: 12.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.687e-05/1.517, allocations: 40 kB / 0.6893 GB, free: 12.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02/1.537, allocations: 8.322 MB / 0.6975 GB, free: 5.207 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/1.537, allocations: 60 kB / 0.6975 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.537, allocations: 132 kB / 0.6976 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003972/1.541, allocations: 1.036 MB / 0.6987 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006029/1.547, allocations: 1.416 MB / 0.7 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/1.562, allocations: 6.967 MB / 0.7068 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006558/1.568, allocations: 335 kB / 0.7072 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.57, allocations: 386 kB / 0.7075 GB, free: 12.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001912/1.572, allocations: 0.5982 MB / 0.7081 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.573, allocations: 410.7 kB / 0.7085 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.583, allocations: 3.609 MB / 0.712 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.013e-05/1.583, allocations: 25.02 kB / 0.7121 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/1.583, allocations: 8 kB / 0.7121 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/1.583, allocations: 9.984 kB / 0.7121 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2993/1.882, allocations: 9.793 MB / 0.7216 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/1.882, allocations: 5.875 kB / 0.7216 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.885, allocations: 354.4 kB / 0.722 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004459/1.889, allocations: 0.8002 MB / 0.7228 GB, free: 88.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/1.89, allocations: 42.64 kB / 0.7228 GB, free: 88.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.9, allocations: 5.591 MB / 0.7283 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.9, allocations: 9.531 kB / 0.7283 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.914, allocations: 6.951 MB / 0.7351 GB, free: 85.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.915, allocations: 458.3 kB / 0.7355 GB, free: 85.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000812/1.916, allocations: 43.3 kB / 0.7355 GB, free: 85.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/1.918, allocations: 99.42 kB / 0.7356 GB, free: 85.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/1.919, allocations: 142.3 kB / 0.7358 GB, free: 85.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.919, allocations: 69.5 kB / 0.7358 GB, free: 85.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006236/1.925, allocations: 2.728 MB / 0.7385 GB, free: 85.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.175e-06/1.925, allocations: 1.531 kB / 0.7385 GB, free: 85.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007163/1.933, allocations: 1.172 MB / 0.7396 GB, free: 85.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (176): * Single equations (assignments): 172 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006703/1.933, allocations: 234.8 kB / 0.7399 GB, free: 85.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009915/1.943, allocations: 5.119 MB / 0.7449 GB, free: 85.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.851e-06/1.943, allocations: 0 / 0.7449 GB, free: 85.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.947, allocations: 1.742 MB / 0.7466 GB, free: 84.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/1.95, allocations: 0.509 MB / 0.7471 GB, free: 84.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.97, allocations: 8.968 MB / 0.7558 GB, free: 83.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007235/1.977, allocations: 3.975 MB / 0.7597 GB, free: 82.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006701/1.984, allocations: 1.949 MB / 0.7616 GB, free: 82.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.985, allocations: 273.6 kB / 0.7619 GB, free: 82.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.648e-06/1.985, allocations: 0 / 0.7619 GB, free: 82.16 MB / 458.7 MB Notification: Performance of Templates: time 0.1129/2.098, allocations: 40.87 MB / 0.8018 GB, free: 79.35 MB / 458.7 MB