Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.045e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3814/0.5147, allocations: 34.11 MB / 445 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.5405, allocations: 7.99 MB / 453 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009814/0.5504, allocations: 171.4 kB / 453.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007547/0.558, allocations: 1.802 MB / 455 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02196/0.58, allocations: 5.076 MB / 460.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.5833, allocations: 445.8 kB / 460.5 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005337/0.5887, allocations: 1.527 MB / 462 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00645/0.5952, allocations: 2.748 MB / 464.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.5977, allocations: 0.7773 MB / 465.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.6009, allocations: 1.262 MB / 466.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.6039, allocations: 0.7458 MB / 467.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.6053, allocations: 121.8 kB / 467.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.6081, allocations: 1.51 MB / 469.2 MB, free: 13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.6097, allocations: 254.2 kB / 469.4 MB, free: 13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.6199, allocations: 5.629 MB / 475.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.62, allocations: 0 / 475.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.62, allocations: 0 / 475.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002582/0.6202, allocations: 0 / 475.1 MB, free: 7.418 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01345/0.6337, allocations: 4.184 MB / 479.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6338, allocations: 8.031 kB / 479.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0238/0.6576, allocations: 3.784 MB / 483 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.6645, allocations: 2.258 MB / 485.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.665, allocations: 233.9 kB / 485.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.6668, allocations: 311.8 kB / 485.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03319/0.7001, allocations: 12.17 MB / 498 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.7003, allocations: 27.72 kB / 498 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001589/0.7019, allocations: 155.8 kB / 498.2 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008946/0.7109, allocations: 2.831 MB / 0.4893 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/0.7473, allocations: 11.44 MB / 0.5004 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09025/0.8376, allocations: 41.36 MB / 0.5408 GB, free: 6.961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/0.8585, allocations: 6.161 MB / 0.5469 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/0.8614, allocations: 1.888 MB / 0.5487 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/0.8616, allocations: 60.5 kB / 0.5488 GB, free: 14.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 6.642e-06/0.8616, allocations: 0 / 0.5488 GB, free: 14.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.0923/0.9539, allocations: 21.01 MB / 0.5693 GB, free: 8.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.9541, allocations: 85.33 kB / 0.5694 GB, free: 8.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/0.9614, allocations: 2.803 MB / 0.5721 GB, free: 6.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007353/0.9622, allocations: 61.7 kB / 0.5722 GB, free: 5.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003075/0.9653, allocations: 2.972 MB / 0.5751 GB, free: 2.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.9672, allocations: 1.021 MB / 0.5761 GB, free: 1.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006516/0.9679, allocations: 116 kB / 0.5762 GB, free: 1.832 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005274/0.9684, allocations: 0.5708 MB / 0.5767 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007879/0.9763, allocations: 2.823 MB / 0.5795 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/0.9881, allocations: 5.971 MB / 0.5853 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.9993, allocations: 4.091 MB / 0.5893 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/0.9995, allocations: 32 kB / 0.5893 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.03232/1.032, allocations: 9.898 MB / 0.599 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.032, allocations: 52 kB / 0.599 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.032, allocations: 108 kB / 0.5992 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006883/1.039, allocations: 1.376 MB / 0.6005 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009933/1.049, allocations: 1.365 MB / 0.6018 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3607/1.41, allocations: 7.681 MB / 0.6093 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/1.416, allocations: 370.4 kB / 0.6097 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.418, allocations: 341.3 kB / 0.61 GB, free: 158.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006465/1.425, allocations: 2.273 MB / 0.6122 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/1.425, allocations: 304.4 kB / 0.6125 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/1.447, allocations: 6.608 MB / 0.619 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001255/1.447, allocations: 50.3 kB / 0.619 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/1.447, allocations: 4.125 kB / 0.619 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.884e-05/1.447, allocations: 15 kB / 0.619 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04112/1.488, allocations: 14 MB / 0.6327 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/1.488, allocations: 7.25 kB / 0.6327 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004126/1.492, allocations: 454.8 kB / 0.6331 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/1.498, allocations: 1.212 MB / 0.6343 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007818/1.499, allocations: 52.98 kB / 0.6344 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/1.518, allocations: 6.727 MB / 0.6409 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/1.518, allocations: 12.28 kB / 0.641 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03371/1.552, allocations: 10.43 MB / 0.6511 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.553, allocations: 363 kB / 0.6515 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/1.555, allocations: 46.38 kB / 0.6515 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004604/1.56, allocations: 199.4 kB / 0.6517 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.561, allocations: 159.8 kB / 0.6519 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004971/1.562, allocations: 82.05 kB / 0.652 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006036/1.568, allocations: 1.932 MB / 0.6538 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.583e-06/1.568, allocations: 0 / 0.6538 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01016/1.578, allocations: 1.152 MB / 0.655 GB, free: 141.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/1.579, allocations: 216.8 kB / 0.6552 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.594, allocations: 6.843 MB / 0.6619 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.594, allocations: 7.938 kB / 0.6619 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00708/1.601, allocations: 2.839 MB / 0.6646 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.605, allocations: 369.8 kB / 0.665 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/1.634, allocations: 13.89 MB / 0.6786 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006821/1.641, allocations: 3.688 MB / 0.6822 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/1.643, allocations: 287.4 kB / 0.6824 GB, free: 113 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/1.643, allocations: 3.938 kB / 0.6824 GB, free: 113 MB / 0.5105 GB Notification: Performance of Templates: time 0.1408/1.784, allocations: 80.83 MB / 0.7614 GB, free: 32.23 MB / 0.5105 GB