Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.02e-05/5.995e-05, allocations: 11.98 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3748, allocations: 54.86 MB / 362.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.05931/0.4341, allocations: 38.11 MB / 401 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02761/0.4618, allocations: 9.322 MB / 410.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009201/0.4711, allocations: 203.5 kB / 410.5 MB, free: 14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.479, allocations: 1.975 MB / 412.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02124/0.5003, allocations: 5.442 MB / 417.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.5051, allocations: 0.9204 MB / 418.8 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02851/0.5337, allocations: 9.442 MB / 428.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.5458, allocations: 5.689 MB / 434 MB, free: 6.441 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.5489, allocations: 1.111 MB / 435.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.5532, allocations: 1.757 MB / 436.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.5578, allocations: 1.186 MB / 438 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.5599, allocations: 184 kB / 438.2 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004293/0.5642, allocations: 2.022 MB / 440.2 MB, free: 176 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.5664, allocations: 348 kB / 440.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5794, allocations: 7.922 MB / 448.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5795, allocations: 0 / 448.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5795, allocations: 0 / 448.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003644/0.5799, allocations: 4 kB / 448.5 MB, free: 7.887 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.02027/0.6001, allocations: 5.438 MB / 453.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.6002, allocations: 12.03 kB / 454 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1816/0.7818, allocations: 10.8 MB / 464.8 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.7955, allocations: 4.127 MB / 468.9 MB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005434/0.7961, allocations: 349.9 kB / 469.2 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.7985, allocations: 431.7 kB / 469.6 MB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/0.8399, allocations: 13.99 MB / 483.6 MB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/0.8402, allocations: 47.53 kB / 483.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/0.8416, allocations: 203.8 kB / 483.9 MB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006027/0.8476, allocations: 2.347 MB / 486.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04539/0.8931, allocations: 11.82 MB / 498 MB, free: 5.309 MB / 426.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.4172/1.31, allocations: 51.57 MB / 0.5367 GB, free: 80.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03154/1.342, allocations: 4.684 MB / 0.5413 GB, free: 75.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04172/1.384, allocations: 12.48 MB / 0.5535 GB, free: 62.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/1.384, allocations: 59.81 kB / 0.5535 GB, free: 62.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 9.207e-06/1.384, allocations: 0 / 0.5535 GB, free: 62.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.2784/1.662, allocations: 42.66 MB / 0.5952 GB, free: 19.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.663, allocations: 235.6 kB / 0.5954 GB, free: 19.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008159/1.671, allocations: 4.486 MB / 0.5998 GB, free: 14.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006278/1.671, allocations: 61.7 kB / 0.5999 GB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.674, allocations: 3.896 MB / 0.6037 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/1.676, allocations: 0.9117 MB / 0.6046 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/1.676, allocations: 144 kB / 0.6047 GB, free: 9.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004057/1.677, allocations: 0.6116 MB / 0.6053 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007607/1.684, allocations: 3.223 MB / 0.6085 GB, free: 5.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.695, allocations: 7.467 MB / 0.6157 GB, free: 12.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.707, allocations: 4.756 MB / 0.6204 GB, free: 7.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.707, allocations: 40 kB / 0.6204 GB, free: 7.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.05088/1.758, allocations: 13.78 MB / 0.6339 GB, free: 9.691 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.758, allocations: 73.16 kB / 0.634 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002748/1.758, allocations: 152 kB / 0.6341 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/1.78, allocations: 3.798 MB / 0.6378 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/1.791, allocations: 1.591 MB / 0.6394 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05148/1.842, allocations: 18.59 MB / 0.6575 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008485/1.851, allocations: 447.4 kB / 0.6579 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.852, allocations: 427.9 kB / 0.6584 GB, free: 0.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (854): * Single equations (assignments): 850 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007557/1.86, allocations: 2.621 MB / 0.6609 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.861, allocations: 434.3 kB / 0.6613 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0338/1.895, allocations: 8.122 MB / 0.6693 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/1.895, allocations: 27.95 kB / 0.6693 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/1.895, allocations: 15.98 kB / 0.6693 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-05/1.895, allocations: 19.34 kB / 0.6693 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3944/2.29, allocations: 17.51 MB / 0.6864 GB, free: 162.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/2.29, allocations: 1.438 kB / 0.6864 GB, free: 162.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003621/2.294, allocations: 389.3 kB / 0.6868 GB, free: 162.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/2.314, allocations: 3.829 MB / 0.6905 GB, free: 162 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005674/2.315, allocations: 44.39 kB / 0.6906 GB, free: 162 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04035/2.355, allocations: 17.03 MB / 0.7072 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.355, allocations: 0 / 0.7072 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05159/2.407, allocations: 12.63 MB / 0.7195 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005208/2.412, allocations: 0.9432 MB / 0.7204 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/2.414, allocations: 43.64 kB / 0.7205 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00587/2.42, allocations: 206.3 kB / 0.7207 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009612/2.421, allocations: 146.2 kB / 0.7208 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004688/2.422, allocations: 64 kB / 0.7209 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009053/2.431, allocations: 3.167 MB / 0.724 GB, free: 135.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.093e-06/2.431, allocations: 1.875 kB / 0.724 GB, free: 135.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01196/2.443, allocations: 1.46 MB / 0.7254 GB, free: 133.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/2.444, allocations: 219.2 kB / 0.7256 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01844/2.462, allocations: 7.844 MB / 0.7333 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.463, allocations: 0 / 0.7333 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008977/2.472, allocations: 2.966 MB / 0.7362 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/2.477, allocations: 0.4927 MB / 0.7367 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/2.519, allocations: 14.77 MB / 0.7511 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00793/2.527, allocations: 4.208 MB / 0.7552 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009044/2.536, allocations: 2.178 MB / 0.7573 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.537, allocations: 287.4 kB / 0.7576 GB, free: 101 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/2.537, allocations: 0 / 0.7576 GB, free: 101 MB / 490.7 MB Notification: Performance of Templates: time 0.1486/2.686, allocations: 59.27 MB / 0.8155 GB, free: 41.78 MB / 490.7 MB