Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.927e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3834/0.5163, allocations: 35.75 MB / 446.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.5425, allocations: 8.652 MB / 455.3 MB, free: 3.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.5528, allocations: 187.2 kB / 455.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007574/0.5604, allocations: 1.811 MB / 457.3 MB, free: 3.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02262/0.5831, allocations: 5.162 MB / 462.5 MB, free: 52 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004427/0.5876, allocations: 0.8001 MB / 463.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06234/0.65, allocations: 24.52 MB / 487.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007706/0.6577, allocations: 3.675 MB / 491.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.6603, allocations: 0.9702 MB / 492.4 MB, free: 6.023 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.6639, allocations: 1.578 MB / 494 MB, free: 4.441 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.6674, allocations: 1.038 MB / 495.1 MB, free: 3.402 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.6687, allocations: 164 kB / 495.2 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.6716, allocations: 1.753 MB / 497 MB, free: 1.484 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.6731, allocations: 304 kB / 497.3 MB, free: 1.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.6835, allocations: 6.315 MB / 0.4918 GB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6836, allocations: 0 / 0.4918 GB, free: 10.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.6836, allocations: 0 / 0.4918 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002497/0.6839, allocations: 3.938 kB / 0.4918 GB, free: 10.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0168/0.7007, allocations: 4.875 MB / 0.4965 GB, free: 5.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7007, allocations: 8.031 kB / 0.4965 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1796/0.8803, allocations: 10.62 MB / 0.5069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.8913, allocations: 3.288 MB / 0.5101 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/0.8918, allocations: 258.4 kB / 0.5104 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.8937, allocations: 351.7 kB / 0.5107 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/0.9302, allocations: 12.45 MB / 0.5229 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/0.9305, allocations: 55.44 kB / 0.5229 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/0.9317, allocations: 163.8 kB / 0.5231 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007104/0.9388, allocations: 2.377 MB / 0.5254 GB, free: 7.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0365/0.9753, allocations: 10.87 MB / 0.536 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09078/1.066, allocations: 48.92 MB / 0.5838 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/1.094, allocations: 5.958 MB / 0.5896 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03236/1.126, allocations: 13.13 MB / 0.6024 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.126, allocations: 55.81 kB / 0.6025 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 6.853e-06/1.126, allocations: 0 / 0.6025 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.5401/1.666, allocations: 39.52 MB / 0.6411 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/1.666, allocations: 206.9 kB / 0.6413 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007827/1.674, allocations: 4.122 MB / 0.6453 GB, free: 159 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007354/1.675, allocations: 60.77 kB / 0.6454 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.677, allocations: 3.331 MB / 0.6486 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.679, allocations: 0.9408 MB / 0.6495 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/1.679, allocations: 136 kB / 0.6497 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003605/1.68, allocations: 0.596 MB / 0.6502 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006896/1.687, allocations: 3.094 MB / 0.6533 GB, free: 151 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009104/1.696, allocations: 7.001 MB / 0.6601 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009707/1.706, allocations: 4.525 MB / 0.6645 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.968e-05/1.706, allocations: 43.94 kB / 0.6646 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03705/1.743, allocations: 12.46 MB / 0.6767 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/1.743, allocations: 67.94 kB / 0.6768 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.743, allocations: 144 kB / 0.6769 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/1.759, allocations: 3.256 MB / 0.6801 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009433/1.768, allocations: 1.536 MB / 0.6816 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/1.805, allocations: 16.07 MB / 0.6973 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008235/1.813, allocations: 428.3 kB / 0.6977 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.815, allocations: 412 kB / 0.6981 GB, free: 103 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005563/1.82, allocations: 2.303 MB / 0.7004 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.821, allocations: 406.8 kB / 0.7007 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0252/1.847, allocations: 7.508 MB / 0.7081 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/1.847, allocations: 27.95 kB / 0.7081 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.847, allocations: 12 kB / 0.7081 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/1.847, allocations: 15.89 kB / 0.7081 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04477/1.892, allocations: 15.21 MB / 0.723 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/1.892, allocations: 0 / 0.723 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/1.895, allocations: 379.4 kB / 0.7233 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/1.911, allocations: 2.937 MB / 0.7262 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006721/1.911, allocations: 43.94 kB / 0.7262 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03238/1.944, allocations: 14.27 MB / 0.7402 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.944, allocations: 0 / 0.7402 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03216/1.976, allocations: 11.54 MB / 0.7515 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.977, allocations: 467.7 kB / 0.7519 GB, free: 47.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/1.979, allocations: 44 kB / 0.7519 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004394/1.984, allocations: 188.6 kB / 0.7521 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009786/1.985, allocations: 149.8 kB / 0.7523 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.985, allocations: 65 kB / 0.7523 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006618/1.992, allocations: 2.907 MB / 0.7552 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/1.992, allocations: 0 / 0.7552 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00779/2, allocations: 1.338 MB / 0.7565 GB, free: 42.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/2.001, allocations: 195.6 kB / 0.7567 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01871/2.02, allocations: 7.793 MB / 0.7643 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.475e-06/2.02, allocations: 0 / 0.7643 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007964/2.028, allocations: 3.115 MB / 0.7673 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/2.031, allocations: 465.9 kB / 0.7678 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/2.06, allocations: 14.11 MB / 0.7815 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006556/2.067, allocations: 3.771 MB / 0.7852 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/2.069, allocations: 335.3 kB / 0.7855 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.069, allocations: 0 / 0.7855 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.5148/2.584, allocations: 88.59 MB / 0.872 GB, free: 119.4 MB / 0.5261 GB