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_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.422e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4186, allocations: 54.87 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.07346/0.4922, allocations: 38.1 MB / 401 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0275/0.5197, allocations: 9.318 MB / 410.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0086/0.5284, allocations: 211.4 kB / 410.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007526/0.536, allocations: 1.967 MB / 412.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.5567, allocations: 5.45 MB / 417.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.5613, allocations: 0.9243 MB / 418.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.028/0.5894, allocations: 9.438 MB / 428.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.6014, allocations: 5.689 MB / 434 MB, free: 6.523 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.6043, allocations: 1.111 MB / 435.1 MB, free: 5.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003962/0.6083, allocations: 1.753 MB / 436.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.6119, allocations: 1.178 MB / 438 MB, free: 2.473 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.6134, allocations: 184 kB / 438.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003407/0.6169, allocations: 2.034 MB / 440.2 MB, free: 260 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.6184, allocations: 348 kB / 440.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.631, allocations: 7.922 MB / 448.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6311, allocations: 4 kB / 448.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6311, allocations: 0 / 448.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002844/0.6314, allocations: 0 / 448.5 MB, free: 7.969 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.01939/0.6508, allocations: 5.434 MB / 453.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6509, allocations: 8.031 kB / 453.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1833/0.8342, allocations: 10.8 MB / 464.7 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.8486, allocations: 4.131 MB / 468.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007498/0.8494, allocations: 353.8 kB / 469.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/0.8521, allocations: 423.7 kB / 469.6 MB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07633/0.9285, allocations: 13.98 MB / 483.6 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003155/0.9289, allocations: 55.53 kB / 483.6 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/0.9308, allocations: 199.8 kB / 483.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02038/0.9512, allocations: 2.347 MB / 486.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06327/1.015, allocations: 11.81 MB / 498 MB, free: 5.406 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.4379/1.452, allocations: 51.57 MB / 0.5367 GB, free: 80.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.473, allocations: 4.688 MB / 0.5413 GB, free: 75.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02819/1.501, allocations: 12.48 MB / 0.5535 GB, free: 62.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.501, allocations: 59.88 kB / 0.5535 GB, free: 62.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.821e-06/1.501, allocations: 0 / 0.5535 GB, free: 62.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.2968/1.798, allocations: 42.66 MB / 0.5952 GB, free: 19.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.798, allocations: 243.5 kB / 0.5954 GB, free: 19.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009183/1.807, allocations: 4.486 MB / 0.5998 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006386/1.808, allocations: 60.33 kB / 0.5999 GB, free: 14.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002965/1.811, allocations: 3.784 MB / 0.6035 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.813, allocations: 0.9089 MB / 0.6044 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008312/1.813, allocations: 144 kB / 0.6046 GB, free: 9.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004347/1.814, allocations: 0.6165 MB / 0.6052 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00779/1.822, allocations: 3.223 MB / 0.6083 GB, free: 6.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.833, allocations: 7.467 MB / 0.6156 GB, free: 12.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.846, allocations: 4.757 MB / 0.6203 GB, free: 7.793 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/1.846, allocations: 44 kB / 0.6203 GB, free: 7.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.05/1.896, allocations: 13.62 MB / 0.6336 GB, free: 10.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/1.896, allocations: 72 kB / 0.6337 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.896, allocations: 148 kB / 0.6338 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/1.918, allocations: 3.799 MB / 0.6375 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.928, allocations: 1.591 MB / 0.6391 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05175/1.98, allocations: 18.59 MB / 0.6572 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/1.989, allocations: 447.4 kB / 0.6577 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.99, allocations: 428 kB / 0.6581 GB, free: 0.9219 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.007464/1.998, allocations: 2.614 MB / 0.6606 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.999, allocations: 434.3 kB / 0.661 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03402/2.033, allocations: 8.13 MB / 0.669 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/2.033, allocations: 31.95 kB / 0.669 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/2.033, allocations: 16 kB / 0.669 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/2.034, allocations: 15.89 kB / 0.669 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4051/2.439, allocations: 17.51 MB / 0.6861 GB, free: 162.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/2.439, allocations: 5.297 kB / 0.6861 GB, free: 162.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/2.442, allocations: 392.7 kB / 0.6865 GB, free: 162.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02094/2.463, allocations: 3.827 MB / 0.6902 GB, free: 162.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005892/2.464, allocations: 40.56 kB / 0.6903 GB, free: 162.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04017/2.504, allocations: 17.02 MB / 0.7069 GB, free: 152.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.504, allocations: 4 kB / 0.7069 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03917/2.543, allocations: 12.63 MB / 0.7192 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003472/2.547, allocations: 0.941 MB / 0.7202 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/2.549, allocations: 40 kB / 0.7202 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004712/2.553, allocations: 211.4 kB / 0.7204 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.554, allocations: 150.2 kB / 0.7205 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003465/2.555, allocations: 57.64 kB / 0.7206 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007391/2.562, allocations: 3.17 MB / 0.7237 GB, free: 135.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.152e-06/2.562, allocations: 0 / 0.7237 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008645/2.571, allocations: 1.463 MB / 0.7251 GB, free: 134.1 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.001244/2.572, allocations: 224.7 kB / 0.7253 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01775/2.59, allocations: 7.837 MB / 0.733 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/2.59, allocations: 4 kB / 0.733 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006769/2.597, allocations: 2.966 MB / 0.7359 GB, free: 123.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/2.601, allocations: 499.4 kB / 0.7364 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/2.634, allocations: 15.41 MB / 0.7514 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008486/2.643, allocations: 4.218 MB / 0.7555 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/2.645, allocations: 335.4 kB / 0.7559 GB, free: 102.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.532e-06/2.645, allocations: 0 / 0.7559 GB, free: 102.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1769/2.822, allocations: 96.92 MB / 0.8505 GB, free: 5.781 MB / 490.7 MB