Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.036e-05, allocations: 7.984 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3723, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.06361/0.436, allocations: 38.09 MB / 362.9 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03299/0.4691, allocations: 9.305 MB / 372.2 MB, free: 92 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.4805, allocations: 203.6 kB / 372.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008413/0.489, allocations: 1.964 MB / 374.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02308/0.5122, allocations: 5.45 MB / 379.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.5175, allocations: 0.9399 MB / 380.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02863/0.5461, allocations: 9.44 MB / 390.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.5588, allocations: 5.684 MB / 395.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.5625, allocations: 1.11 MB / 397 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.5666, allocations: 1.753 MB / 398.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00386/0.5706, allocations: 1.182 MB / 400 MB, free: 4.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.5722, allocations: 184 kB / 400.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0035/0.5758, allocations: 2.03 MB / 402.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.5776, allocations: 352 kB / 402.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.5914, allocations: 7.918 MB / 410.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5914, allocations: 3.938 kB / 410.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.5914, allocations: 0 / 410.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003463/0.5918, allocations: 0 / 410.4 MB, free: 9.777 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02093/0.6127, allocations: 5.438 MB / 415.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.6128, allocations: 8.031 kB / 415.9 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1843/0.7972, allocations: 10.81 MB / 426.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.8112, allocations: 4.123 MB / 430.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005604/0.8118, allocations: 353.8 kB / 431.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.8141, allocations: 427.6 kB / 431.6 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04385/0.858, allocations: 13.98 MB / 445.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.8583, allocations: 59.47 kB / 445.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.86, allocations: 199.8 kB / 445.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006349/0.8664, allocations: 2.351 MB / 448.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04229/0.9087, allocations: 11.81 MB / 460 MB, free: 7.207 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.3958/1.305, allocations: 51.54 MB / 0.4995 GB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/1.327, allocations: 4.683 MB / 0.5041 GB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03018/1.358, allocations: 12.49 MB / 0.5163 GB, free: 85.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/1.358, allocations: 61.66 kB / 0.5164 GB, free: 85.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 6.863e-06/1.358, allocations: 0 / 0.5164 GB, free: 85.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=242): time 0.2817/1.639, allocations: 42.65 MB / 0.558 GB, free: 50.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.64, allocations: 231.6 kB / 0.5582 GB, free: 50.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01321/1.653, allocations: 4.483 MB / 0.5626 GB, free: 45.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000842/1.654, allocations: 65.98 kB / 0.5627 GB, free: 45.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004222/1.658, allocations: 3.771 MB / 0.5664 GB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.66, allocations: 0.9179 MB / 0.5672 GB, free: 41.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.661, allocations: 147.9 kB / 0.5674 GB, free: 40.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006909/1.662, allocations: 0.6087 MB / 0.568 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0112/1.673, allocations: 3.223 MB / 0.5711 GB, free: 37.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01468/1.688, allocations: 7.471 MB / 0.5784 GB, free: 27.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/1.703, allocations: 4.756 MB / 0.5831 GB, free: 22.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/1.703, allocations: 51.95 kB / 0.5831 GB, free: 22.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.06553/1.769, allocations: 13.61 MB / 0.5964 GB, free: 9.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.769, allocations: 68 kB / 0.5965 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000331/1.769, allocations: 152 kB / 0.5966 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02987/1.799, allocations: 3.8 MB / 0.6003 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01353/1.813, allocations: 1.591 MB / 0.6019 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07349/1.886, allocations: 18.6 MB / 0.6201 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/1.9, allocations: 447.3 kB / 0.6205 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/1.902, allocations: 428 kB / 0.6209 GB, free: 15.8 MB / 442.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.01093/1.913, allocations: 2.615 MB / 0.6234 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/1.916, allocations: 434.4 kB / 0.6239 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04975/1.966, allocations: 8.128 MB / 0.6318 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.344e-05/1.966, allocations: 24 kB / 0.6318 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.966, allocations: 12 kB / 0.6318 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.416e-05/1.966, allocations: 11.97 kB / 0.6318 GB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4202/2.386, allocations: 17.51 MB / 0.6489 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/2.386, allocations: 1.312 kB / 0.6489 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00386/2.39, allocations: 392.9 kB / 0.6493 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02192/2.412, allocations: 3.827 MB / 0.6531 GB, free: 139.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006448/2.413, allocations: 40.27 kB / 0.6531 GB, free: 139.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04229/2.455, allocations: 17.03 MB / 0.6697 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/2.455, allocations: 7.891 kB / 0.6697 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03951/2.495, allocations: 12.63 MB / 0.6821 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/2.498, allocations: 0.9416 MB / 0.683 GB, free: 122 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/2.5, allocations: 41.59 kB / 0.683 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005184/2.505, allocations: 213.3 kB / 0.6832 GB, free: 121.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/2.506, allocations: 148.8 kB / 0.6834 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003756/2.507, allocations: 59.98 kB / 0.6834 GB, free: 121.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007975/2.515, allocations: 3.163 MB / 0.6865 GB, free: 118.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.61e-07/2.515, allocations: 0 / 0.6865 GB, free: 118.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008531/2.523, allocations: 1.465 MB / 0.6879 GB, free: 116.9 MB / 442.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.001189/2.525, allocations: 213.8 kB / 0.6881 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01773/2.542, allocations: 7.845 MB / 0.6958 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.542, allocations: 0 / 0.6958 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007273/2.55, allocations: 2.969 MB / 0.6987 GB, free: 106 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/2.554, allocations: 491.4 kB / 0.6992 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/2.587, allocations: 15.42 MB / 0.7142 GB, free: 90.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008167/2.595, allocations: 4.208 MB / 0.7183 GB, free: 86.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/2.597, allocations: 339.4 kB / 0.7187 GB, free: 85.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/2.597, allocations: 0 / 0.7187 GB, free: 85.7 MB / 442.7 MB Notification: Performance of Templates: time 0.4729/3.07, allocations: 96.91 MB / 0.8133 GB, free: 132 MB / 442.7 MB