Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.708e-05, allocations: 5.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5753, allocations: 110.3 MB / 0.5083 GB, free: 9.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/0.5758, allocations: 79.95 kB / 0.5084 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8206/1.396, allocations: 118.2 MB / 0.6239 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.095e-06/1.397, allocations: 0 / 0.6239 GB, free: 110 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004253/1.397, allocations: 123.3 kB / 0.624 GB, free: 110 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.02/1.417, allocations: 5.844 MB / 0.6297 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.417, allocations: 9.438 kB / 0.6297 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04224/1.459, allocations: 6.977 MB / 0.6365 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03578/1.495, allocations: 7.439 MB / 0.6438 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007371/1.496, allocations: 431.8 kB / 0.6442 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003579/1.5, allocations: 0.5722 MB / 0.6448 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/1.541, allocations: 13.49 MB / 0.6579 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003667/1.542, allocations: 85.23 kB / 0.658 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003262/1.545, allocations: 281.1 kB / 0.6583 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004087/1.549, allocations: 1.281 MB / 0.6595 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05179/1.601, allocations: 11.05 MB / 0.6703 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09372/1.695, allocations: 61.27 MB / 0.7302 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/1.712, allocations: 5.582 MB / 0.7356 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004742/1.717, allocations: 3.245 MB / 0.7388 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/1.718, allocations: 0.6866 MB / 0.7395 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.718, allocations: 60.7 kB / 0.7395 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 7.334e-06/1.718, allocations: 0 / 0.7395 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.09971/1.818, allocations: 28.72 MB / 0.7676 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.818, allocations: 269.3 kB / 0.7678 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008976/1.827, allocations: 4.561 MB / 0.7723 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000663/1.827, allocations: 76.59 kB / 0.7724 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.83, allocations: 3.974 MB / 0.7762 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.832, allocations: 1.156 MB / 0.7774 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/1.832, allocations: 152 kB / 0.7775 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004378/1.833, allocations: 0.6243 MB / 0.7781 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006018/1.839, allocations: 3.201 MB / 0.7812 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008437/1.847, allocations: 7.327 MB / 0.7884 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/1.857, allocations: 4.825 MB / 0.7931 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/1.857, allocations: 47.5 kB / 0.7932 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.03318/1.89, allocations: 11.89 MB / 0.8048 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.89, allocations: 68 kB / 0.8048 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/1.891, allocations: 144 kB / 0.805 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.325/2.216, allocations: 2.123 MB / 0.807 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008854/2.225, allocations: 1.718 MB / 0.8087 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0256/2.25, allocations: 14.33 MB / 0.8227 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/2.258, allocations: 447 kB / 0.8231 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.26, allocations: 444.7 kB / 0.8236 GB, free: 109 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 904 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002329/2.262, allocations: 0.672 MB / 0.8242 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/2.264, allocations: 491.9 kB / 0.8247 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/2.28, allocations: 6.905 MB / 0.8314 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-05/2.28, allocations: 30.84 kB / 0.8315 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/2.281, allocations: 11.88 kB / 0.8315 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/2.281, allocations: 14.39 kB / 0.8315 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/2.318, allocations: 15.75 MB / 0.8469 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/2.318, allocations: 7.781 kB / 0.8469 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/2.321, allocations: 496.1 kB / 0.8474 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006278/2.328, allocations: 1.878 MB / 0.8492 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006216/2.328, allocations: 58.22 kB / 0.8492 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/2.351, allocations: 12.82 MB / 0.8618 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/2.351, allocations: 9.75 kB / 0.8618 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/2.372, allocations: 11.9 MB / 0.8734 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/2.374, allocations: 0.5317 MB / 0.8739 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/2.376, allocations: 58.34 kB / 0.874 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004138/2.38, allocations: 214.2 kB / 0.8742 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009371/2.381, allocations: 201.1 kB / 0.8744 GB, free: 92.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/2.381, allocations: 85.31 kB / 0.8744 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01057/2.392, allocations: 3.213 MB / 0.8776 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.543e-06/2.392, allocations: 2.812 kB / 0.8776 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0149/2.407, allocations: 1.468 MB / 0.879 GB, free: 91.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 244 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/2.408, allocations: 216.4 kB / 0.8792 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02499/2.433, allocations: 7.8 MB / 0.8868 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/2.433, allocations: 7.438 kB / 0.8868 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01625/2.45, allocations: 3.774 MB / 0.8905 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007396/2.457, allocations: 0.6264 MB / 0.8911 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/2.5, allocations: 11.97 MB / 0.9028 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/2.514, allocations: 4.449 MB / 0.9072 GB, free: 77.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01554/2.53, allocations: 2.453 MB / 0.9096 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003166/2.533, allocations: 348.6 kB / 0.9099 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.326e-06/2.533, allocations: 0 / 0.9099 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.1617/2.695, allocations: 59.22 MB / 0.9677 GB, free: 26.3 MB / 0.5261 GB