Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.649/2.649, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.32e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1436, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3975/0.5412, allocations: 33.87 MB / 444.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03086/0.5721, allocations: 8.178 MB / 453 MB, free: 5.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01009/0.5823, allocations: 178.2 kB / 453.1 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007442/0.5897, allocations: 1.735 MB / 454.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02197/0.6118, allocations: 4.93 MB / 459.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.6154, allocations: 0.5316 MB / 460.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06007/0.6755, allocations: 23.9 MB / 484.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007297/0.6829, allocations: 3.22 MB / 487.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.6849, allocations: 0.6779 MB / 488.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.6873, allocations: 1.048 MB / 489.2 MB, free: 9.219 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.69, allocations: 0.8739 MB / 490.1 MB, free: 8.344 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000902/0.691, allocations: 116 kB / 490.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.693, allocations: 1.262 MB / 491.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000993/0.694, allocations: 224 kB / 491.7 MB, free: 6.746 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.7023, allocations: 4.959 MB / 496.6 MB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7023, allocations: 0 / 496.6 MB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7024, allocations: 0 / 496.6 MB, free: 1.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002002/0.7026, allocations: 0 / 496.6 MB, free: 1.777 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01154/0.7141, allocations: 3.518 MB / 0.4884 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7142, allocations: 8.031 kB / 0.4884 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06425/0.7784, allocations: 6.742 MB / 0.495 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/0.7864, allocations: 2.381 MB / 0.4973 GB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.7867, allocations: 197 kB / 0.4975 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.7881, allocations: 259.8 kB / 0.4978 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/0.8113, allocations: 8.778 MB / 0.5063 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/0.8115, allocations: 43.64 kB / 0.5064 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006752/0.8122, allocations: 123.9 kB / 0.5065 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005709/0.8179, allocations: 1.797 MB / 0.5083 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.8417, allocations: 7.665 MB / 0.5157 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/0.9045, allocations: 34.5 MB / 0.5494 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.9167, allocations: 3.124 MB / 0.5525 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.9174, allocations: 327.8 kB / 0.5528 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.9175, allocations: 43.22 kB / 0.5528 GB, free: 10.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.26e-06/0.9175, allocations: 0 / 0.5528 GB, free: 10.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.06598/0.9835, allocations: 15.09 MB / 0.5676 GB, free: 11.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.9836, allocations: 171.2 kB / 0.5677 GB, free: 10.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007781/0.9914, allocations: 3.292 MB / 0.5709 GB, free: 7.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000456/0.9919, allocations: 53.61 kB / 0.571 GB, free: 7.473 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002831/0.9948, allocations: 2.644 MB / 0.5736 GB, free: 4.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.9959, allocations: 0.6094 MB / 0.5742 GB, free: 4.176 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/0.9965, allocations: 100 kB / 0.5743 GB, free: 4.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004723/0.997, allocations: 0.5376 MB / 0.5748 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005692/1.003, allocations: 2.001 MB / 0.5767 GB, free: 1.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008683/1.011, allocations: 5.224 MB / 0.5818 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00806/1.02, allocations: 3.188 MB / 0.585 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.02, allocations: 36 kB / 0.585 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.023/1.043, allocations: 7.706 MB / 0.5925 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.043, allocations: 56 kB / 0.5926 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.043, allocations: 112.9 kB / 0.5927 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/1.047, allocations: 0.9843 MB / 0.5936 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/1.055, allocations: 1.193 MB / 0.5948 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.071, allocations: 6.641 MB / 0.6013 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005843/1.076, allocations: 311.5 kB / 0.6016 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.078, allocations: 324 kB / 0.6019 GB, free: 5.977 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.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 (636): * Single equations (assignments): 632 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005106/1.083, allocations: 1.844 MB / 0.6037 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/1.084, allocations: 308 kB / 0.604 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.094, allocations: 3.198 MB / 0.6071 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-05/1.094, allocations: 23.98 kB / 0.6071 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.094, allocations: 4 kB / 0.6071 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/1.094, allocations: 11.97 kB / 0.6072 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.389/1.483, allocations: 7.962 MB / 0.6149 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/1.483, allocations: 4.516 kB / 0.6149 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.486, allocations: 227.1 kB / 0.6152 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/1.489, allocations: 0.8034 MB / 0.6159 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/1.49, allocations: 25.5 kB / 0.616 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.504, allocations: 6.156 MB / 0.622 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.504, allocations: 0 / 0.622 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.519, allocations: 5.875 MB / 0.6277 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.52, allocations: 375 kB / 0.6281 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.522, allocations: 27.19 kB / 0.6281 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.524, allocations: 96.77 kB / 0.6282 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/1.525, allocations: 86.94 kB / 0.6283 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.525, allocations: 37.41 kB / 0.6283 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006781/1.532, allocations: 2.313 MB / 0.6306 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.092e-06/1.532, allocations: 0 / 0.6306 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006131/1.538, allocations: 0.9018 MB / 0.6314 GB, free: 157.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (115): * Single equations (assignments): 111 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007842/1.539, allocations: 182.3 kB / 0.6316 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.55, allocations: 4.856 MB / 0.6364 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.55, allocations: 0 / 0.6364 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/1.554, allocations: 1.769 MB / 0.6381 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.557, allocations: 359.8 kB / 0.6384 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.578, allocations: 10.12 MB / 0.6483 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004224/1.582, allocations: 3.004 MB / 0.6512 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.584, allocations: 258 kB / 0.6515 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/1.584, allocations: 0 / 0.6515 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1147/1.699, allocations: 65.95 MB / 0.7159 GB, free: 81.68 MB / 0.5105 GB