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_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.43e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4729, allocations: 54.87 MB / 362.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.05255/0.5255, allocations: 33.31 MB / 396.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.5484, allocations: 7.774 MB / 403.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008008/0.5564, allocations: 167.6 kB / 404.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006479/0.563, allocations: 1.781 MB / 405.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01856/0.5816, allocations: 4.909 MB / 410.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5847, allocations: 439.2 kB / 411.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.5896, allocations: 1.551 MB / 412.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005859/0.5955, allocations: 2.753 MB / 415.5 MB, free: 9 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.5974, allocations: 0.787 MB / 416.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.6002, allocations: 1.278 MB / 417.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.6028, allocations: 0.7841 MB / 418.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000929/0.6038, allocations: 124 kB / 418.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002323/0.6061, allocations: 1.508 MB / 420 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.6073, allocations: 255.9 kB / 420.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.6168, allocations: 5.656 MB / 425.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6169, allocations: 0 / 425.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.6169, allocations: 0 / 425.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002619/0.6172, allocations: 8 kB / 425.9 MB, free: 14.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01488/0.6321, allocations: 4.274 MB / 430.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6322, allocations: 11.97 kB / 430.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02377/0.6559, allocations: 3.78 MB / 434 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007549/0.6635, allocations: 2.418 MB / 436.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.664, allocations: 233.9 kB / 436.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.666, allocations: 307.8 kB / 436.9 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03354/0.6995, allocations: 12.24 MB / 449.2 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.6998, allocations: 27.75 kB / 449.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.701, allocations: 143.8 kB / 449.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00774/0.7088, allocations: 2.718 MB / 452.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/0.7455, allocations: 11.46 MB / 463.5 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4068/1.152, allocations: 41.15 MB / 0.4928 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/1.172, allocations: 6.154 MB / 0.4988 GB, free: 108.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/1.175, allocations: 1.881 MB / 0.5007 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/1.175, allocations: 55.75 kB / 0.5007 GB, free: 106.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.794e-06/1.175, allocations: 1.219 kB / 0.5007 GB, free: 106.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.08611/1.261, allocations: 21.08 MB / 0.5213 GB, free: 98.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.261, allocations: 73.41 kB / 0.5214 GB, free: 98.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/1.267, allocations: 2.808 MB / 0.5241 GB, free: 96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007439/1.268, allocations: 62.95 kB / 0.5242 GB, free: 95.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.27, allocations: 2.977 MB / 0.5271 GB, free: 92.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.272, allocations: 1.023 MB / 0.5281 GB, free: 91.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007814/1.272, allocations: 120.1 kB / 0.5282 GB, free: 91.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/1.273, allocations: 0.5631 MB / 0.5288 GB, free: 91.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006977/1.28, allocations: 2.819 MB / 0.5315 GB, free: 88.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008945/1.289, allocations: 5.997 MB / 0.5374 GB, free: 81.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009308/1.298, allocations: 4.099 MB / 0.5414 GB, free: 77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.298, allocations: 32 kB / 0.5414 GB, free: 76.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02777/1.326, allocations: 9.916 MB / 0.5511 GB, free: 67.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-05/1.326, allocations: 57.66 kB / 0.5512 GB, free: 66.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.327, allocations: 111.9 kB / 0.5513 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/1.333, allocations: 1.37 MB / 0.5526 GB, free: 65.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008883/1.342, allocations: 1.376 MB / 0.5539 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/1.357, allocations: 7.673 MB / 0.5614 GB, free: 56.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.364, allocations: 376.8 kB / 0.5618 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/1.365, allocations: 349.3 kB / 0.5621 GB, free: 55.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (721): * Single equations (assignments): 714 * 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.005789/1.371, allocations: 2.261 MB / 0.5643 GB, free: 53.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/1.372, allocations: 308 kB / 0.5646 GB, free: 53.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.391, allocations: 6.61 MB / 0.5711 GB, free: 46.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/1.391, allocations: 56.78 kB / 0.5711 GB, free: 46.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.391, allocations: 4 kB / 0.5711 GB, free: 46.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.975e-05/1.391, allocations: 11.95 kB / 0.5712 GB, free: 46.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03838/1.43, allocations: 14 MB / 0.5848 GB, free: 32.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/1.43, allocations: 4 kB / 0.5848 GB, free: 32.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004129/1.434, allocations: 460.1 kB / 0.5853 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005987/1.44, allocations: 1.211 MB / 0.5864 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008367/1.441, allocations: 53.31 kB / 0.5865 GB, free: 30.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.454, allocations: 6.723 MB / 0.5931 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.454, allocations: 11.94 kB / 0.5931 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/1.479, allocations: 10.44 MB / 0.6033 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002947/1.482, allocations: 0.8251 MB / 0.6041 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.483, allocations: 55.36 kB / 0.6041 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/1.487, allocations: 191.5 kB / 0.6043 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.488, allocations: 165.6 kB / 0.6045 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/1.488, allocations: 75.98 kB / 0.6045 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004417/1.493, allocations: 1.933 MB / 0.6064 GB, free: 9.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.493, allocations: 0 / 0.6064 GB, free: 9.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007041/1.5, allocations: 1.146 MB / 0.6076 GB, free: 8.371 MB / 426.7 MB 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.001319/1.501, allocations: 207.4 kB / 0.6077 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01566/1.517, allocations: 6.851 MB / 0.6144 GB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.517, allocations: 0 / 0.6144 GB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007629/1.524, allocations: 2.853 MB / 0.6172 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/1.528, allocations: 362.7 kB / 0.6176 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/1.563, allocations: 13.89 MB / 0.6311 GB, free: 100 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008825/1.572, allocations: 3.679 MB / 0.6347 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/1.574, allocations: 291.4 kB / 0.635 GB, free: 12.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.174e-06/1.574, allocations: 0 / 0.635 GB, free: 12.1 MB / 458.7 MB Notification: Performance of Templates: time 0.533/2.108, allocations: 80.78 MB / 0.7139 GB, free: 137.7 MB / 490.7 MB