Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.633e-05, allocations: 0 / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08823, allocations: 50.4 MB / 342.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4828, allocations: 104.1 MB / 446.7 MB, free: 6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4832, allocations: 87.64 kB / 446.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7513/1.234, allocations: 141.8 MB / 0.5747 GB, free: 93.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.53e-06/1.235, allocations: 0 / 0.5747 GB, free: 93.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005006/1.235, allocations: 154.4 kB / 0.5749 GB, free: 93.55 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02243/1.258, allocations: 7.465 MB / 0.5822 GB, free: 90.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.258, allocations: 10.66 kB / 0.5822 GB, free: 90.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05711/1.315, allocations: 11.73 MB / 0.5936 GB, free: 90.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02747/1.342, allocations: 9.883 MB / 0.6033 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005472/1.343, allocations: 0.5152 MB / 0.6038 GB, free: 84.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/1.346, allocations: 0.7079 MB / 0.6045 GB, free: 84.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03911/1.385, allocations: 17.17 MB / 0.6212 GB, free: 66.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/1.385, allocations: 99.14 kB / 0.6213 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/1.387, allocations: 329.6 kB / 0.6216 GB, free: 65.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/1.389, allocations: 1.461 MB / 0.6231 GB, free: 64.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03383/1.423, allocations: 14.05 MB / 0.6368 GB, free: 50.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4832/1.906, allocations: 73.12 MB / 0.7082 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03058/1.937, allocations: 8.702 MB / 0.7167 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007135/1.944, allocations: 4.724 MB / 0.7213 GB, free: 40.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03385/1.978, allocations: 17.68 MB / 0.7386 GB, free: 38.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.978, allocations: 70.34 kB / 0.7386 GB, free: 38.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=281): time 7.602e-06/1.978, allocations: 0 / 0.7386 GB, free: 38.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=374): time 0.2255/2.203, allocations: 57.36 MB / 0.7947 GB, free: 18.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/2.203, allocations: 379.5 kB / 0.795 GB, free: 17.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/2.214, allocations: 5.421 MB / 0.8003 GB, free: 13.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009143/2.215, allocations: 86.41 kB / 0.8004 GB, free: 13.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003527/2.219, allocations: 4.873 MB / 0.8052 GB, free: 8.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/2.221, allocations: 1.378 MB / 0.8065 GB, free: 7.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/2.222, allocations: 180 kB / 0.8067 GB, free: 7.309 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005223/2.222, allocations: 0.6818 MB / 0.8073 GB, free: 6.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009366/2.232, allocations: 5.409 MB / 0.8126 GB, free: 1.809 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01828/2.25, allocations: 10.45 MB / 0.8228 GB, free: 5.664 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/2.265, allocations: 7.381 MB / 0.83 GB, free: 14.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/2.266, allocations: 52 kB / 0.8301 GB, free: 14.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.05908/2.325, allocations: 20.71 MB / 0.8503 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/2.325, allocations: 80 kB / 0.8504 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/2.325, allocations: 173.3 kB / 0.8506 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0267/2.352, allocations: 6.524 MB / 0.8569 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009824/2.362, allocations: 2.047 MB / 0.8589 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3568/2.719, allocations: 32.32 MB / 0.8905 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/2.729, allocations: 0.697 MB / 0.8912 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/2.731, allocations: 0.5152 MB / 0.8917 GB, free: 130.9 MB / 0.4948 GB 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.002356/2.734, allocations: 0.7648 MB / 0.8924 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/2.735, allocations: 0.5886 MB / 0.893 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04066/2.776, allocations: 15.39 MB / 0.908 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-05/2.776, allocations: 51.92 kB / 0.9081 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/2.776, allocations: 19.91 kB / 0.9081 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-05/2.776, allocations: 17.86 kB / 0.9081 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0703/2.847, allocations: 30.38 MB / 0.9378 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/2.847, allocations: 0 / 0.9378 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004225/2.851, allocations: 0.5764 MB / 0.9383 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02625/2.877, allocations: 6.145 MB / 0.9443 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009135/2.878, allocations: 64.19 kB / 0.9444 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05411/2.932, allocations: 30.7 MB / 0.9744 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/2.932, allocations: 7.75 kB / 0.9744 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04616/2.978, allocations: 22.99 MB / 0.9968 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/2.98, allocations: 0.5982 MB / 0.9974 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/2.982, allocations: 61.97 kB / 0.9975 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005527/2.988, allocations: 404.6 kB / 0.9979 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/2.989, allocations: 254.8 kB / 0.9981 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005641/2.99, allocations: 97.16 kB / 0.9982 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008529/2.999, allocations: 3.848 MB / 1.002 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.179e-06/2.999, allocations: 0 / 1.002 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01164/3.01, allocations: 2.168 MB / 1.004 GB, free: 73.33 MB / 0.4948 GB 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.001504/3.012, allocations: 280.1 kB / 1.004 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02504/3.037, allocations: 13.45 MB / 1.017 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/3.037, allocations: 0 / 1.017 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/3.049, allocations: 6.206 MB / 1.024 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005486/3.054, allocations: 0.8337 MB / 1.024 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0351/3.089, allocations: 16.67 MB / 1.041 GB, free: 36.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/3.1, allocations: 5.417 MB / 1.046 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01062/3.111, allocations: 3.037 MB / 1.049 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/3.114, allocations: 386.3 kB / 1.049 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of SimCode: time 2.242e-06/3.114, allocations: 0 / 1.049 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.4998/3.613, allocations: 97.91 MB / 1.145 GB, free: 95.41 MB / 0.4948 GB