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.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.942e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08131, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.3665/0.4478, allocations: 87.34 MB / 354.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.06346/0.5114, allocations: 19.21 MB / 373.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02201/0.5334, allocations: 474.9 kB / 373.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01674/0.5502, allocations: 4.596 MB / 378.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04574/0.596, allocations: 11.83 MB / 390.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.6063, allocations: 1.986 MB / 392.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.618, allocations: 3.978 MB / 396.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03515/0.6532, allocations: 16.9 MB / 413.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005874/0.6591, allocations: 2.373 MB / 415.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00811/0.6673, allocations: 3.55 MB / 419.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00544/0.6728, allocations: 1.451 MB / 420.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002764/0.6756, allocations: 332 kB / 420.9 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007194/0.6828, allocations: 4.177 MB / 425.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.6866, allocations: 0.7109 MB / 425.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5921/1.279, allocations: 18.5 MB / 444.3 MB, free: 22.23 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.279, allocations: 0.8438 kB / 444.3 MB, free: 22.23 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.045e-06/1.279, allocations: 0.8438 kB / 444.3 MB, free: 22.23 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0007353/1.28, allocations: 0 / 444.3 MB, free: 22.23 MB / 362.8 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.04808/1.328, allocations: 11.94 MB / 456.2 MB, free: 18.2 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.328, allocations: 8.25 kB / 456.2 MB, free: 18.2 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02839/1.356, allocations: 3.729 MB / 460 MB, free: 17.44 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02432/1.381, allocations: 7.864 MB / 467.8 MB, free: 16.33 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009498/1.382, allocations: 0.7451 MB / 468.6 MB, free: 16.31 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006469/1.388, allocations: 1.101 MB / 469.7 MB, free: 16.29 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1184/1.506, allocations: 34.93 MB / 0.4928 GB, free: 2.363 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005787/1.507, allocations: 78.34 kB / 0.4929 GB, free: 2.328 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005026/1.512, allocations: 453.6 kB / 0.4933 GB, free: 2.211 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009525/1.522, allocations: 4.305 MB / 0.4975 GB, free: 14.77 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1223/1.644, allocations: 32.92 MB / 0.5296 GB, free: 8.129 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5004/2.145, allocations: 113.9 MB / 0.6409 GB, free: 140.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09238/2.237, allocations: 18.68 MB / 0.6592 GB, free: 139.8 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06633/2.303, allocations: 32.72 MB / 0.6911 GB, free: 115.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/2.304, allocations: 91.73 kB / 0.6912 GB, free: 115.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=489): time 9.488e-06/2.304, allocations: 0 / 0.6912 GB, free: 115.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=726): time 1.416/3.72, allocations: 171.6 MB / 0.8588 GB, free: 168.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/3.72, allocations: 205 kB / 0.859 GB, free: 168.7 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0164/3.737, allocations: 7.497 MB / 0.8663 GB, free: 162.3 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002426/3.739, allocations: 144.8 kB / 0.8664 GB, free: 162.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005449/3.744, allocations: 7.046 MB / 0.8733 GB, free: 155.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004589/3.749, allocations: 2.58 MB / 0.8758 GB, free: 153.2 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/3.752, allocations: 285.8 kB / 0.8761 GB, free: 152.9 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0011/3.753, allocations: 0.9054 MB / 0.877 GB, free: 152 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02483/3.778, allocations: 10.53 MB / 0.8873 GB, free: 141.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02852/3.807, allocations: 17.06 MB / 0.9039 GB, free: 121.5 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02989/3.837, allocations: 13.19 MB / 0.9168 GB, free: 108.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/3.837, allocations: 68 kB / 0.9169 GB, free: 108.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=1862) (initialization): time 0.06871/3.905, allocations: 28.05 MB / 0.9443 GB, free: 80.25 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/3.906, allocations: 102.8 kB / 0.9444 GB, free: 80.16 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004053/3.906, allocations: 224.8 kB / 0.9446 GB, free: 79.94 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/3.907, allocations: 344 kB / 0.9449 GB, free: 79.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05029/3.957, allocations: 4.461 MB / 0.9493 GB, free: 75.13 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/3.958, allocations: 462.2 kB / 0.9497 GB, free: 74.68 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02608/3.984, allocations: 1.143 MB / 0.9508 GB, free: 73.54 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003759/3.988, allocations: 0.7343 MB / 0.9515 GB, free: 72.8 MB / 458.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.01565/4.003, allocations: 5.384 MB / 0.9568 GB, free: 67.39 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003331/4.007, allocations: 0.7945 MB / 0.9576 GB, free: 66.59 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0508/4.057, allocations: 19.92 MB / 0.977 GB, free: 46.59 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/4.058, allocations: 72 kB / 0.9771 GB, free: 46.52 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/4.058, allocations: 0 / 0.9771 GB, free: 46.52 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001481/4.058, allocations: 35.81 kB / 0.9771 GB, free: 46.48 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4073/4.465, allocations: 43.03 MB / 1.019 GB, free: 165.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/4.465, allocations: 3.688 kB / 1.019 GB, free: 165.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02644/4.492, allocations: 2.405 MB / 1.021 GB, free: 165 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/4.492, allocations: 30.31 kB / 1.022 GB, free: 165 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002173/4.494, allocations: 134.8 kB / 1.022 GB, free: 165 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.834e-05/4.494, allocations: 30.97 kB / 1.022 GB, free: 164.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/4.494, allocations: 7.781 kB / 1.022 GB, free: 164.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07819/4.572, allocations: 34.42 MB / 1.055 GB, free: 140.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009789/4.582, allocations: 2.745 MB / 1.058 GB, free: 138 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005105/4.587, allocations: 120 kB / 1.058 GB, free: 137.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01447/4.602, allocations: 0.7449 MB / 1.059 GB, free: 137.5 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003039/4.605, allocations: 389 kB / 1.059 GB, free: 137.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002426/4.607, allocations: 184.2 kB / 1.059 GB, free: 137.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01554/4.623, allocations: 5.275 MB / 1.065 GB, free: 132.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.963e-06/4.623, allocations: 4 kB / 1.065 GB, free: 132.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.02629/4.649, allocations: 3.189 MB / 1.068 GB, free: 129.5 MB / 458.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.004436/4.654, allocations: 403.4 kB / 1.068 GB, free: 129.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.06472/4.719, allocations: 23.56 MB / 1.091 GB, free: 105.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/4.719, allocations: 0 / 1.091 GB, free: 105.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02321/4.742, allocations: 9.97 MB / 1.101 GB, free: 95.75 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008548/4.75, allocations: 0.8562 MB / 1.102 GB, free: 94.92 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09076/4.841, allocations: 37.61 MB / 1.138 GB, free: 57.44 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01802/4.859, allocations: 8.259 MB / 1.146 GB, free: 49.14 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.02775/4.887, allocations: 5.051 MB / 1.151 GB, free: 44.08 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01055/4.898, allocations: 0.6126 MB / 1.152 GB, free: 43.47 MB / 458.8 MB Notification: Performance of SimCode: time 1.452e-06/4.898, allocations: 0 / 1.152 GB, free: 43.47 MB / 458.8 MB Notification: Performance of Templates: time 0.5741/5.472, allocations: 123.9 MB / 1.273 GB, free: 87.95 MB / 458.8 MB