Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.805e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3907, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.04391/0.4347, allocations: 27.07 MB / 389.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02016/0.4549, allocations: 6.681 MB / 396.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006536/0.4615, allocations: 143.6 kB / 396.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.4669, allocations: 1.443 MB / 398.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01566/0.4826, allocations: 4.052 MB / 402.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.4854, allocations: 411.2 kB / 402.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004765/0.4902, allocations: 1.485 MB / 404.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006894/0.4971, allocations: 2.918 MB / 407.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.499, allocations: 0.7286 MB / 407.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.5016, allocations: 1.219 MB / 409 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.5045, allocations: 0.8348 MB / 409.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009271/0.5054, allocations: 120 kB / 410 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.5078, allocations: 1.488 MB / 411.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.5089, allocations: 236 kB / 411.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008944/0.5179, allocations: 5.678 MB / 417.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5179, allocations: 0 / 417.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5179, allocations: 0 / 417.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.5182, allocations: 0 / 417.4 MB, free: 7.129 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01465/0.5328, allocations: 4.176 MB / 421.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5329, allocations: 8.031 kB / 421.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0239/0.5568, allocations: 3.804 MB / 425.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.5642, allocations: 2.325 MB / 427.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.5646, allocations: 229.6 kB / 427.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.5664, allocations: 295.7 kB / 428.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/0.6216, allocations: 11.96 MB / 440.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.6218, allocations: 27.75 kB / 440.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.6233, allocations: 139.8 kB / 440.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02445/0.6478, allocations: 2.703 MB / 443 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04106/0.6889, allocations: 11.15 MB / 454.2 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09668/0.7857, allocations: 37.11 MB / 491.3 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.8015, allocations: 4.686 MB / 496 MB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/0.8036, allocations: 1.327 MB / 497.3 MB, free: 5.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.32e-05/0.8037, allocations: 56.55 kB / 497.3 MB, free: 5.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.933e-06/0.8037, allocations: 0 / 497.3 MB, free: 5.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.3932/1.197, allocations: 14.08 MB / 0.4994 GB, free: 117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/1.197, allocations: 75.53 kB / 0.4995 GB, free: 116.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/1.202, allocations: 2.604 MB / 0.502 GB, free: 115.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000594/1.203, allocations: 66.61 kB / 0.5021 GB, free: 115.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/1.205, allocations: 2.953 MB / 0.505 GB, free: 113.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.207, allocations: 0.943 MB / 0.5059 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005621/1.208, allocations: 112.2 kB / 0.506 GB, free: 112.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004262/1.208, allocations: 0.5541 MB / 0.5066 GB, free: 112.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.214, allocations: 2.275 MB / 0.5088 GB, free: 111.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00766/1.221, allocations: 5.407 MB / 0.5141 GB, free: 106.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007864/1.229, allocations: 3.521 MB / 0.5175 GB, free: 104.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.229, allocations: 32 kB / 0.5175 GB, free: 104.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02379/1.253, allocations: 8.384 MB / 0.5257 GB, free: 96.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/1.253, allocations: 55.98 kB / 0.5258 GB, free: 95.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.253, allocations: 112 kB / 0.5259 GB, free: 95.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/1.26, allocations: 1.033 MB / 0.5269 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007942/1.268, allocations: 1.318 MB / 0.5282 GB, free: 93.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/1.272, allocations: 2.501 MB / 0.5306 GB, free: 90.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.277, allocations: 315.8 kB / 0.5309 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.278, allocations: 329.6 kB / 0.5312 GB, free: 90.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (711): * Single equations (assignments): 702 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006152/1.284, allocations: 2.245 MB / 0.5334 GB, free: 87.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000846/1.285, allocations: 280.3 kB / 0.5337 GB, free: 87.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/1.3, allocations: 4.902 MB / 0.5385 GB, free: 82.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.945e-05/1.301, allocations: 52.94 kB / 0.5385 GB, free: 82.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.301, allocations: 4 kB / 0.5385 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-05/1.301, allocations: 7.969 kB / 0.5385 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03078/1.331, allocations: 11.46 MB / 0.5497 GB, free: 71.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.332, allocations: 8 kB / 0.5497 GB, free: 71.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.335, allocations: 415.4 kB / 0.5501 GB, free: 70.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005171/1.34, allocations: 0.6151 MB / 0.5507 GB, free: 70.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005519/1.341, allocations: 65.23 kB / 0.5508 GB, free: 69.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/1.344, allocations: 2.077 MB / 0.5528 GB, free: 67.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.344, allocations: 15.89 kB / 0.5529 GB, free: 67.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.362, allocations: 7.718 MB / 0.5604 GB, free: 59.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/1.363, allocations: 337.4 kB / 0.5607 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009744/1.364, allocations: 44.94 kB / 0.5608 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.366, allocations: 129.1 kB / 0.5609 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/1.367, allocations: 161.6 kB / 0.561 GB, free: 58.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.367, allocations: 77.7 kB / 0.5611 GB, free: 58.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003491/1.371, allocations: 1.784 MB / 0.5628 GB, free: 57.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.371, allocations: 0 / 0.5628 GB, free: 57.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006119/1.377, allocations: 1.018 MB / 0.5638 GB, free: 56.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008177/1.378, allocations: 198.2 kB / 0.564 GB, free: 55.89 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1955:5-1957:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01451/1.392, allocations: 5.971 MB / 0.5699 GB, free: 49.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.392, allocations: 8 kB / 0.5699 GB, free: 49.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006756/1.399, allocations: 2.377 MB / 0.5722 GB, free: 47.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.402, allocations: 395.2 kB / 0.5726 GB, free: 47.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03459/1.437, allocations: 12.88 MB / 0.5851 GB, free: 34.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007596/1.445, allocations: 3.6 MB / 0.5887 GB, free: 30.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007954/1.453, allocations: 2.065 MB / 0.5907 GB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.454, allocations: 235.4 kB / 0.5909 GB, free: 28.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.454, allocations: 0 / 0.5909 GB, free: 28.11 MB / 426.7 MB Notification: Performance of Templates: time 0.09128/1.545, allocations: 31.18 MB / 0.6213 GB, free: 13.07 MB / 442.7 MB