Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.978e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.4077/0.5377, allocations: 39.72 MB / 450.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03201/0.5698, allocations: 9.594 MB / 460.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.5818, allocations: 212.4 kB / 460.4 MB, free: 484 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008864/0.5907, allocations: 2.015 MB / 462.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02655/0.6173, allocations: 5.658 MB / 468.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.6227, allocations: 0.9103 MB / 469 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06378/0.6865, allocations: 24.66 MB / 493.7 MB, free: 4.824 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.6988, allocations: 5.692 MB / 499.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.7021, allocations: 1.111 MB / 0.4888 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004394/0.7066, allocations: 1.753 MB / 0.4905 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.7109, allocations: 1.135 MB / 0.4916 GB, free: 11.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.7127, allocations: 184 kB / 0.4918 GB, free: 10.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003583/0.7163, allocations: 2.018 MB / 0.4937 GB, free: 8.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.7182, allocations: 348 kB / 0.4941 GB, free: 8.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.7312, allocations: 7.891 MB / 0.5018 GB, free: 0.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7312, allocations: 0 / 0.5018 GB, free: 0.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7312, allocations: 0 / 0.5018 GB, free: 0.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003595/0.7316, allocations: 0 / 0.5018 GB, free: 0.625 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01888/0.7505, allocations: 5.406 MB / 0.507 GB, free: 11.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.7505, allocations: 8.031 kB / 0.507 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1853/0.9358, allocations: 10.8 MB / 0.5176 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/0.9489, allocations: 3.822 MB / 0.5213 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.9494, allocations: 349.8 kB / 0.5217 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.9514, allocations: 427.7 kB / 0.5221 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.9931, allocations: 13.97 MB / 0.5357 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002442/0.9934, allocations: 47.53 kB / 0.5358 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00163/0.995, allocations: 207.8 kB / 0.536 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006709/1.002, allocations: 2.402 MB / 0.5383 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04086/1.043, allocations: 11.82 MB / 0.5499 GB, free: 14.34 MB / 474.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.09873/1.141, allocations: 51.64 MB / 0.6003 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.163, allocations: 4.68 MB / 0.6049 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3727/1.536, allocations: 12.47 MB / 0.617 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/1.536, allocations: 56.33 kB / 0.6171 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 6.061e-06/1.536, allocations: 0 / 0.6171 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.2725/1.809, allocations: 42.55 MB / 0.6586 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/1.809, allocations: 239.6 kB / 0.6589 GB, free: 143 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008351/1.817, allocations: 4.49 MB / 0.6633 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006197/1.818, allocations: 63.5 kB / 0.6633 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002652/1.821, allocations: 3.778 MB / 0.667 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.822, allocations: 0.9139 MB / 0.6679 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006903/1.823, allocations: 144 kB / 0.668 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003923/1.823, allocations: 0.6125 MB / 0.6686 GB, free: 133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007455/1.83, allocations: 3.231 MB / 0.6718 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009981/1.84, allocations: 7.497 MB / 0.6791 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.851, allocations: 4.76 MB / 0.6838 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/1.851, allocations: 44 kB / 0.6838 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.04398/1.895, allocations: 13.65 MB / 0.6971 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.895, allocations: 68.22 kB / 0.6972 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.895, allocations: 156 kB / 0.6973 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02041/1.916, allocations: 3.802 MB / 0.7011 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00947/1.925, allocations: 1.595 MB / 0.7026 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04213/1.967, allocations: 18.59 MB / 0.7208 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008373/1.976, allocations: 447.4 kB / 0.7212 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.977, allocations: 436.8 kB / 0.7216 GB, free: 76.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (857): * Single equations (assignments): 853 * 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.006205/1.983, allocations: 2.607 MB / 0.7242 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.985, allocations: 438.4 kB / 0.7246 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/2.015, allocations: 8.126 MB / 0.7325 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/2.015, allocations: 24.94 kB / 0.7325 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/2.015, allocations: 15.95 kB / 0.7325 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/2.015, allocations: 19.95 kB / 0.7326 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0511/2.066, allocations: 17.52 MB / 0.7497 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/2.066, allocations: 0 / 0.7497 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/2.07, allocations: 391.4 kB / 0.75 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02079/2.091, allocations: 3.827 MB / 0.7538 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005861/2.091, allocations: 39.98 kB / 0.7538 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03896/2.13, allocations: 17.03 MB / 0.7705 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.13, allocations: 3.984 kB / 0.7705 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03902/2.169, allocations: 12.61 MB / 0.7828 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/2.171, allocations: 483.4 kB / 0.7832 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/2.173, allocations: 36 kB / 0.7833 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004772/2.177, allocations: 207.7 kB / 0.7835 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009789/2.178, allocations: 154.9 kB / 0.7836 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003585/2.179, allocations: 63.98 kB / 0.7837 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007285/2.186, allocations: 3.159 MB / 0.7868 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/2.186, allocations: 4 kB / 0.7868 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008567/2.195, allocations: 1.473 MB / 0.7882 GB, free: 7.98 MB / 0.5105 GB 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.001207/2.196, allocations: 215.2 kB / 0.7884 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01803/2.214, allocations: 7.854 MB / 0.7961 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.214, allocations: 4 kB / 0.7961 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008004/2.222, allocations: 2.964 MB / 0.799 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/2.226, allocations: 0.4889 MB / 0.7995 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3858/2.612, allocations: 15.4 MB / 0.8145 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/2.623, allocations: 4.211 MB / 0.8186 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/2.625, allocations: 340.4 kB / 0.8189 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/2.625, allocations: 0 / 0.8189 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1812/2.806, allocations: 96.96 MB / 0.9136 GB, free: 85.86 MB / 0.5261 GB