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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") 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.572e-05/2.583e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.08455, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4625, allocations: 103.4 MB / 420.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4628, allocations: 88.52 kB / 420.4 MB, free: 1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6941/1.157, allocations: 111.2 MB / 0.5191 GB, free: 90.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.92e-06/1.157, allocations: 0 / 0.5191 GB, free: 90.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003568/1.157, allocations: 106.6 kB / 0.5192 GB, free: 90.84 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01684/1.174, allocations: 4.928 MB / 0.5241 GB, free: 88.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.174, allocations: 8.406 kB / 0.5241 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/1.21, allocations: 6.902 MB / 0.5308 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.23, allocations: 6.779 MB / 0.5374 GB, free: 87.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004667/1.231, allocations: 397.8 kB / 0.5378 GB, free: 87.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/1.233, allocations: 0.5117 MB / 0.5383 GB, free: 87.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03173/1.265, allocations: 12.5 MB / 0.5505 GB, free: 85.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/1.265, allocations: 60.53 kB / 0.5506 GB, free: 85.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/1.266, allocations: 243.1 kB / 0.5508 GB, free: 85.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/1.268, allocations: 1.042 MB / 0.5518 GB, free: 85.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/1.295, allocations: 10.2 MB / 0.5618 GB, free: 85.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/1.356, allocations: 50.21 MB / 0.6108 GB, free: 48.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/1.373, allocations: 4.753 MB / 0.6155 GB, free: 46.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/1.376, allocations: 1.88 MB / 0.6173 GB, free: 44.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/1.389, allocations: 7.04 MB / 0.6242 GB, free: 38.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.39, allocations: 55.5 kB / 0.6242 GB, free: 38.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 6.354e-06/1.39, allocations: 0 / 0.6242 GB, free: 38.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.1055/1.495, allocations: 17.12 MB / 0.641 GB, free: 24.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.495, allocations: 205.9 kB / 0.6411 GB, free: 24.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009144/1.504, allocations: 3.918 MB / 0.645 GB, free: 20.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/1.505, allocations: 56.8 kB / 0.645 GB, free: 20.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002572/1.507, allocations: 3.574 MB / 0.6485 GB, free: 17.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009381/1.508, allocations: 0.8443 MB / 0.6493 GB, free: 16.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/1.509, allocations: 124 kB / 0.6495 GB, free: 16.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003641/1.509, allocations: 0.571 MB / 0.65 GB, free: 16.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.513, allocations: 2.118 MB / 0.6521 GB, free: 14.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006152/1.52, allocations: 5.825 MB / 0.6578 GB, free: 7.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/1.526, allocations: 3.515 MB / 0.6612 GB, free: 4.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-05/1.526, allocations: 40 kB / 0.6612 GB, free: 3.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02157/1.547, allocations: 8.319 MB / 0.6694 GB, free: 11.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.548, allocations: 60 kB / 0.6694 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.548, allocations: 132 kB / 0.6696 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004344/1.552, allocations: 1.039 MB / 0.6706 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/1.559, allocations: 1.415 MB / 0.6719 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.574, allocations: 6.886 MB / 0.6787 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/1.58, allocations: 331.5 kB / 0.679 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.581, allocations: 380 kB / 0.6794 GB, free: 1.344 MB / 442.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.001536/1.583, allocations: 0.5953 MB / 0.6799 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.584, allocations: 406.7 kB / 0.6803 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2594/1.843, allocations: 3.609 MB / 0.6838 GB, free: 94.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.587e-05/1.844, allocations: 23.59 kB / 0.6839 GB, free: 94.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/1.844, allocations: 8.266 kB / 0.6839 GB, free: 94.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.844, allocations: 10.27 kB / 0.6839 GB, free: 94.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.869, allocations: 9.81 MB / 0.6935 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.869, allocations: 6.562 kB / 0.6935 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.871, allocations: 349.5 kB / 0.6938 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/1.875, allocations: 0.8049 MB / 0.6946 GB, free: 93.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003555/1.875, allocations: 51.5 kB / 0.6946 GB, free: 93.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009711/1.885, allocations: 5.588 MB / 0.7001 GB, free: 92.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-06/1.885, allocations: 10.75 kB / 0.7001 GB, free: 92.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.898, allocations: 6.95 MB / 0.7069 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.9, allocations: 0.7157 MB / 0.7076 GB, free: 91.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008279/1.901, allocations: 52.61 kB / 0.7076 GB, free: 91.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.903, allocations: 93.22 kB / 0.7077 GB, free: 91.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004707/1.904, allocations: 146 kB / 0.7079 GB, free: 91.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.904, allocations: 63.33 kB / 0.7079 GB, free: 91.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007708/1.912, allocations: 2.75 MB / 0.7106 GB, free: 90.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.651e-06/1.912, allocations: 0 / 0.7106 GB, free: 90.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009987/1.922, allocations: 1.178 MB / 0.7118 GB, free: 90.89 MB / 442.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.0007639/1.922, allocations: 222.4 kB / 0.712 GB, free: 90.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01224/1.935, allocations: 5.124 MB / 0.717 GB, free: 90.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.935, allocations: 0 / 0.717 GB, free: 90.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.94, allocations: 1.743 MB / 0.7187 GB, free: 89.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.943, allocations: 0.5148 MB / 0.7192 GB, free: 89.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.964, allocations: 8.981 MB / 0.728 GB, free: 86.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007439/1.972, allocations: 3.994 MB / 0.7319 GB, free: 84.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007004/1.979, allocations: 1.946 MB / 0.7338 GB, free: 84.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.98, allocations: 273.5 kB / 0.734 GB, free: 84.71 MB / 442.7 MB Notification: Performance of SimCode: time 2.154e-06/1.98, allocations: 0 / 0.734 GB, free: 84.71 MB / 442.7 MB Notification: Performance of Templates: time 0.1338/2.114, allocations: 40.94 MB / 0.774 GB, free: 69.31 MB / 442.7 MB