Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.94e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08391, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4664, allocations: 102.8 MB / 419.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4667, allocations: 85.89 kB / 419.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9052/1.372, allocations: 140.2 MB / 0.5469 GB, free: 85.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.372, allocations: 3.688 kB / 0.5469 GB, free: 85.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005221/1.373, allocations: 145.1 kB / 0.547 GB, free: 85.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02327/1.396, allocations: 7.492 MB / 0.5543 GB, free: 82.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.396, allocations: 16.84 kB / 0.5543 GB, free: 82.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08335/1.479, allocations: 11.73 MB / 0.5658 GB, free: 81.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03643/1.516, allocations: 10.53 MB / 0.5761 GB, free: 80.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008318/1.517, allocations: 0.5227 MB / 0.5766 GB, free: 80.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004253/1.521, allocations: 0.6986 MB / 0.5773 GB, free: 80.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06633/1.587, allocations: 17.18 MB / 0.5941 GB, free: 73.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/1.588, allocations: 97.67 kB / 0.5941 GB, free: 73.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002592/1.59, allocations: 329.7 kB / 0.5945 GB, free: 73.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/1.594, allocations: 1.462 MB / 0.5959 GB, free: 72.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03522/1.629, allocations: 14.05 MB / 0.6096 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3784/2.007, allocations: 73.3 MB / 0.6812 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03163/2.039, allocations: 8.703 MB / 0.6897 GB, free: 33.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007465/2.047, allocations: 4.719 MB / 0.6943 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03362/2.08, allocations: 17.74 MB / 0.7116 GB, free: 31.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/2.08, allocations: 63.38 kB / 0.7117 GB, free: 31.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 9.305e-06/2.08, allocations: 0 / 0.7117 GB, free: 31.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.23/2.31, allocations: 57.59 MB / 0.7679 GB, free: 15.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.31, allocations: 372.6 kB / 0.7683 GB, free: 15.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/2.323, allocations: 5.493 MB / 0.7737 GB, free: 10.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008787/2.324, allocations: 84.52 kB / 0.7737 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003765/2.328, allocations: 4.888 MB / 0.7785 GB, free: 6.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/2.33, allocations: 1.375 MB / 0.7798 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/2.331, allocations: 176 kB / 0.78 GB, free: 4.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000562/2.331, allocations: 0.6873 MB / 0.7807 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/2.346, allocations: 5.676 MB / 0.7862 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/2.363, allocations: 10.33 MB / 0.7963 GB, free: 4.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/2.379, allocations: 7.468 MB / 0.8036 GB, free: 13.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/2.38, allocations: 52 kB / 0.8037 GB, free: 13.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.08166/2.461, allocations: 20.71 MB / 0.8239 GB, free: 9.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/2.461, allocations: 82.03 kB / 0.824 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003488/2.462, allocations: 175.9 kB / 0.8241 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02724/2.489, allocations: 6.52 MB / 0.8305 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009984/2.499, allocations: 2.051 MB / 0.8325 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3308/2.83, allocations: 32.33 MB / 0.8641 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.841, allocations: 0.6942 MB / 0.8647 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/2.843, allocations: 0.5091 MB / 0.8652 GB, free: 122.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1016 * Array equations: 4 * 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 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.002866/2.846, allocations: 0.7679 MB / 0.866 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/2.847, allocations: 0.5893 MB / 0.8666 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04127/2.889, allocations: 15.4 MB / 0.8816 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.975e-05/2.889, allocations: 50.98 kB / 0.8817 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/2.889, allocations: 14.75 kB / 0.8817 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.615e-05/2.889, allocations: 21.27 kB / 0.8817 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06799/2.957, allocations: 30.4 MB / 0.9114 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-05/2.957, allocations: 2.656 kB / 0.9114 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004183/2.961, allocations: 0.5779 MB / 0.912 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02454/2.986, allocations: 6.137 MB / 0.9179 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009172/2.987, allocations: 64.23 kB / 0.918 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05349/3.04, allocations: 30.71 MB / 0.948 GB, free: 94.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/3.04, allocations: 7.891 kB / 0.948 GB, free: 94.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04634/3.087, allocations: 22.99 MB / 0.9705 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004473/3.091, allocations: 1.578 MB / 0.972 GB, free: 74.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/3.093, allocations: 63.95 kB / 0.9721 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005406/3.098, allocations: 407.2 kB / 0.9724 GB, free: 74.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/3.1, allocations: 246.9 kB / 0.9727 GB, free: 74.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005645/3.1, allocations: 95.89 kB / 0.9728 GB, free: 74.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008129/3.109, allocations: 3.896 MB / 0.9766 GB, free: 70.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.27e-06/3.109, allocations: 0 / 0.9766 GB, free: 70.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01099/3.12, allocations: 2.175 MB / 0.9787 GB, free: 68.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 4 * 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 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/3.121, allocations: 279.6 kB / 0.979 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02391/3.145, allocations: 13.44 MB / 0.9921 GB, free: 55.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/3.145, allocations: 0 / 0.9921 GB, free: 55.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01147/3.156, allocations: 6.208 MB / 0.9982 GB, free: 49.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/3.162, allocations: 0.8397 MB / 0.999 GB, free: 48.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03414/3.196, allocations: 16.72 MB / 1.015 GB, free: 32.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3448/3.541, allocations: 5.436 MB / 1.021 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02056/3.561, allocations: 3.034 MB / 1.024 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/3.566, allocations: 384.5 kB / 1.024 GB, free: 120.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.938e-06/3.566, allocations: 0 / 1.024 GB, free: 120.8 MB / 490.7 MB Notification: Performance of Templates: time 0.2658/3.832, allocations: 98.15 MB / 1.12 GB, free: 87.24 MB / 490.7 MB