Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.763/1.763, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.107e-05, allocations: 3.984 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.1255/0.4112, allocations: 80.13 MB / 383.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04744/0.4587, allocations: 17.42 MB / 400.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01716/0.4759, allocations: 470.8 kB / 401.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01385/0.4898, allocations: 4.301 MB / 405.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03967/0.5295, allocations: 11.17 MB / 416.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007511/0.5371, allocations: 1.244 MB / 418.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008566/0.5457, allocations: 2.982 MB / 421 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.318/0.8637, allocations: 9.72 MB / 430.8 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.8675, allocations: 1.48 MB / 432.2 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/0.8715, allocations: 2.04 MB / 434.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.8754, allocations: 1.293 MB / 435.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.8771, allocations: 200.2 kB / 435.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.8808, allocations: 2.715 MB / 438.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.883, allocations: 491.5 kB / 439 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.8967, allocations: 10.61 MB / 449.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8967, allocations: 0 / 449.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8967, allocations: 0 / 449.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004852/0.8972, allocations: 0 / 449.6 MB, free: 4.641 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.0319/0.9291, allocations: 7.707 MB / 457.3 MB, free: 324 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9292, allocations: 12.75 kB / 457.3 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.9466, allocations: 2.709 MB / 460 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.9615, allocations: 4.952 MB / 465 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/0.9621, allocations: 485 kB / 465.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003549/0.9656, allocations: 0.6382 MB / 466.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05861/1.024, allocations: 18.89 MB / 485 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003759/1.025, allocations: 66.88 kB / 485 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002661/1.027, allocations: 292.6 kB / 485.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00753/1.035, allocations: 2.864 MB / 488.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05694/1.092, allocations: 16.28 MB / 0.4926 GB, free: 7.426 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1413/1.233, allocations: 70.33 MB / 0.5613 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0474/1.281, allocations: 8.975 MB / 0.5701 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04771/1.328, allocations: 19.77 MB / 0.5894 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/1.329, allocations: 68.55 kB / 0.5894 GB, free: 3.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=308): time 7.253e-06/1.329, allocations: 2.719 kB / 0.5895 GB, free: 3.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=366): time 0.4555/1.784, allocations: 45.18 MB / 0.6336 GB, free: 180.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02268/1.807, allocations: 12.92 MB / 0.6462 GB, free: 167.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.819, allocations: 5.634 MB / 0.6517 GB, free: 162 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001174/1.82, allocations: 79.5 kB / 0.6518 GB, free: 162 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004022/1.824, allocations: 5.111 MB / 0.6568 GB, free: 156.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/1.826, allocations: 1.37 MB / 0.6581 GB, free: 155.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.828, allocations: 188 kB / 0.6583 GB, free: 155.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006408/1.828, allocations: 0.7072 MB / 0.659 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/1.839, allocations: 4.403 MB / 0.6633 GB, free: 150.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/1.853, allocations: 9.757 MB / 0.6728 GB, free: 137.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.868, allocations: 6.423 MB / 0.6791 GB, free: 131.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/1.868, allocations: 52 kB / 0.6791 GB, free: 131.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.0611/1.929, allocations: 17.46 MB / 0.6962 GB, free: 113.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.929, allocations: 84.09 kB / 0.6962 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/1.93, allocations: 192.8 kB / 0.6964 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02693/1.957, allocations: 3.567 MB / 0.6999 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02023/1.977, allocations: 2.215 MB / 0.7021 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06642/2.043, allocations: 27.84 MB / 0.7293 GB, free: 79.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.055, allocations: 0.6138 MB / 0.7299 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/2.058, allocations: 0.5752 MB / 0.7304 GB, free: 77.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1144): * Single equations (assignments): 1127 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.008913/2.067, allocations: 3.486 MB / 0.7338 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/2.068, allocations: 0.5592 MB / 0.7344 GB, free: 73.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03361/2.102, allocations: 10.32 MB / 0.7444 GB, free: 63.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03001/2.132, allocations: 9.021 MB / 0.7533 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02794/2.16, allocations: 8.88 MB / 0.7619 GB, free: 45.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/2.16, allocations: 23.92 kB / 0.7619 GB, free: 45.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06481/2.225, allocations: 24.37 MB / 0.7857 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/2.225, allocations: 4 kB / 0.7857 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006079/2.231, allocations: 0.6129 MB / 0.7863 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01569/2.247, allocations: 2.983 MB / 0.7893 GB, free: 17.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008795/2.248, allocations: 71.98 kB / 0.7893 GB, free: 16.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.321/2.569, allocations: 21.68 MB / 0.8105 GB, free: 172.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01086/2.579, allocations: 6.023 MB / 0.8164 GB, free: 168.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04187/2.621, allocations: 15.82 MB / 0.8318 GB, free: 161.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004457/2.626, allocations: 1.267 MB / 0.8331 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.628, allocations: 63.53 kB / 0.8331 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006213/2.634, allocations: 271 kB / 0.8334 GB, free: 161.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.635, allocations: 236.4 kB / 0.8336 GB, free: 161.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004845/2.636, allocations: 100.1 kB / 0.8337 GB, free: 161.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008504/2.644, allocations: 3.973 MB / 0.8376 GB, free: 159.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.644, allocations: 0 / 0.8376 GB, free: 159.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01185/2.656, allocations: 2.086 MB / 0.8396 GB, free: 159.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/2.658, allocations: 285.5 kB / 0.8399 GB, free: 159.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02498/2.683, allocations: 11.35 MB / 0.851 GB, free: 150.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/2.683, allocations: 0 / 0.851 GB, free: 150.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.696, allocations: 4.74 MB / 0.8556 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006624/2.702, allocations: 0.7923 MB / 0.8564 GB, free: 145.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/2.744, allocations: 20.8 MB / 0.8767 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.755, allocations: 5.558 MB / 0.8821 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01402/2.769, allocations: 3.09 MB / 0.8851 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/2.772, allocations: 407.3 kB / 0.8855 GB, free: 117.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.392e-06/2.772, allocations: 2.844 kB / 0.8855 GB, free: 117.8 MB / 474.7 MB Notification: Performance of Templates: time 0.2016/2.974, allocations: 81.09 MB / 0.9647 GB, free: 36.71 MB / 474.7 MB