Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.117e-05, allocations: 7.906 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 44.49 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.1285/0.4182, allocations: 87.35 MB / 390.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05405/0.4724, allocations: 19.21 MB / 409.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01984/0.4923, allocations: 474.9 kB / 410.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01567/0.508, allocations: 4.592 MB / 414.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04386/0.5519, allocations: 11.83 MB / 426.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3068/0.8587, allocations: 1.97 MB / 428.7 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.8702, allocations: 3.972 MB / 432.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03106/0.9013, allocations: 16.9 MB / 449.6 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006872/0.9083, allocations: 2.37 MB / 452 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007737/0.9161, allocations: 3.549 MB / 455.5 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00574/0.9219, allocations: 1.455 MB / 457 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003227/0.9252, allocations: 333.8 kB / 457.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006679/0.9319, allocations: 4.173 MB / 461.5 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004301/0.9362, allocations: 0.709 MB / 462.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02567/0.9619, allocations: 18.53 MB / 480.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.962, allocations: 0 / 480.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.962, allocations: 0 / 480.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008029/0.9628, allocations: 0 / 480.7 MB, free: 7.695 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.048/1.011, allocations: 11.93 MB / 492.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.011, allocations: 12.02 kB / 492.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02878/1.04, allocations: 3.722 MB / 496.4 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02319/1.063, allocations: 7.861 MB / 0.4924 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/1.064, allocations: 0.7419 MB / 0.4931 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006228/1.07, allocations: 1.105 MB / 0.4942 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1241/1.194, allocations: 34.92 MB / 0.5283 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004977/1.195, allocations: 91.05 kB / 0.5284 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004791/1.2, allocations: 454.8 kB / 0.5288 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01041/1.21, allocations: 4.305 MB / 0.533 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1197/1.33, allocations: 32.91 MB / 0.5652 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8101/2.14, allocations: 113.9 MB / 0.6764 GB, free: 116.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09414/2.234, allocations: 18.69 MB / 0.6947 GB, free: 99.05 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06447/2.299, allocations: 32.7 MB / 0.7266 GB, free: 65.25 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.975e-05/2.299, allocations: 89.92 kB / 0.7267 GB, free: 65.16 MB / 474.8 MB Notification: Performance of pre-optimization done (n=489): time 1.038e-05/2.299, allocations: 3.938 kB / 0.7267 GB, free: 65.15 MB / 474.8 MB Notification: Performance of matching and sorting (n=726): time 1.464/3.763, allocations: 171.6 MB / 0.8943 GB, free: 104.9 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/3.763, allocations: 201.7 kB / 0.8945 GB, free: 104.7 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/3.778, allocations: 7.498 MB / 0.9018 GB, free: 97.17 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00254/3.78, allocations: 140.1 kB / 0.9019 GB, free: 97.03 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005279/3.786, allocations: 7.059 MB / 0.9088 GB, free: 89.97 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00446/3.79, allocations: 2.573 MB / 0.9114 GB, free: 87.42 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00219/3.792, allocations: 288 kB / 0.9116 GB, free: 87.14 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0007862/3.793, allocations: 0.9017 MB / 0.9125 GB, free: 86.23 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02366/3.817, allocations: 10.52 MB / 0.9228 GB, free: 75.7 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0277/3.844, allocations: 17.07 MB / 0.9395 GB, free: 55.52 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0292/3.874, allocations: 13.2 MB / 0.9523 GB, free: 42.29 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/3.874, allocations: 64 kB / 0.9524 GB, free: 42.23 MB / 474.8 MB Notification: Performance of matching and sorting (n=1862) (initialization): time 0.3597/4.234, allocations: 28.03 MB / 0.9798 GB, free: 156.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/4.234, allocations: 98.75 kB / 0.9799 GB, free: 156.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003333/4.234, allocations: 232.2 kB / 0.9801 GB, free: 156.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/4.235, allocations: 347.2 kB / 0.9804 GB, free: 156.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03793/4.273, allocations: 4.461 MB / 0.9848 GB, free: 156.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004865/4.273, allocations: 460.5 kB / 0.9852 GB, free: 156.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02021/4.293, allocations: 1.139 MB / 0.9863 GB, free: 156.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003682/4.297, allocations: 0.7343 MB / 0.9871 GB, free: 156.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1018 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1832): * Single equations (assignments): 1826 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01524/4.312, allocations: 5.389 MB / 0.9923 GB, free: 153.6 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/4.315, allocations: 0.7952 MB / 0.9931 GB, free: 153.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04747/4.363, allocations: 19.91 MB / 1.013 GB, free: 138.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.911e-05/4.363, allocations: 75.7 kB / 1.013 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/4.363, allocations: 0 / 1.013 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/4.363, allocations: 30.47 kB / 1.013 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1021/4.465, allocations: 43.04 MB / 1.055 GB, free: 96.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/4.465, allocations: 8 kB / 1.055 GB, free: 96.69 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02631/4.491, allocations: 2.406 MB / 1.057 GB, free: 94.28 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/4.492, allocations: 32 kB / 1.057 GB, free: 94.25 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001612/4.493, allocations: 132 kB / 1.057 GB, free: 94.12 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-05/4.493, allocations: 31.94 kB / 1.057 GB, free: 94.09 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/4.493, allocations: 11.94 kB / 1.057 GB, free: 94.08 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06918/4.562, allocations: 34.41 MB / 1.091 GB, free: 59.54 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009311/4.572, allocations: 2.746 MB / 1.094 GB, free: 56.76 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003803/4.576, allocations: 116 kB / 1.094 GB, free: 56.65 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01337/4.589, allocations: 0.741 MB / 1.094 GB, free: 55.91 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002278/4.591, allocations: 391.5 kB / 1.095 GB, free: 55.52 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001141/4.593, allocations: 184 kB / 1.095 GB, free: 55.34 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01126/4.604, allocations: 5.282 MB / 1.1 GB, free: 50.07 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.112e-06/4.604, allocations: 0 / 1.1 GB, free: 50.07 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01695/4.621, allocations: 3.183 MB / 1.103 GB, free: 46.91 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 707 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003141/4.624, allocations: 409 kB / 1.104 GB, free: 46.53 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.3324/4.956, allocations: 23.55 MB / 1.127 GB, free: 167.1 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/4.956, allocations: 0 / 1.127 GB, free: 167.1 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02133/4.978, allocations: 9.972 MB / 1.136 GB, free: 162.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007344/4.985, allocations: 0.8548 MB / 1.137 GB, free: 162.3 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08344/5.069, allocations: 37.61 MB / 1.174 GB, free: 138.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01726/5.086, allocations: 8.267 MB / 1.182 GB, free: 132 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02458/5.111, allocations: 5.046 MB / 1.187 GB, free: 127 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009379/5.12, allocations: 0.6106 MB / 1.187 GB, free: 126.4 MB / 474.8 MB Notification: Performance of SimCode: time 1.453e-06/5.12, allocations: 3.938 kB / 1.187 GB, free: 126.3 MB / 474.8 MB Notification: Performance of Templates: time 0.5868/5.707, allocations: 123.9 MB / 1.308 GB, free: 150.6 MB / 474.8 MB