Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.687/2.687, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.757e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4729, allocations: 58.83 MB / 382.3 MB, free: 10.24 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.67, allocations: 104.3 MB / 486.6 MB, free: 4.078 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.6703, allocations: 83.95 kB / 486.7 MB, free: 3.996 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7964/1.467, allocations: 91.9 MB / 0.565 GB, free: 108 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.124e-06/1.467, allocations: 0 / 0.565 GB, free: 108 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001904/1.467, allocations: 76.89 kB / 0.5651 GB, free: 108 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.03081/1.498, allocations: 4.32 MB / 0.5693 GB, free: 105.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.498, allocations: 9.875 kB / 0.5693 GB, free: 105.6 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004431/1.502, allocations: 0.875 MB / 0.5702 GB, free: 105.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03696/1.539, allocations: 3.581 MB / 0.5737 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/1.563, allocations: 4.71 MB / 0.5783 GB, free: 96.79 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/1.563, allocations: 341.1 kB / 0.5786 GB, free: 96.49 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003118/1.567, allocations: 445.3 kB / 0.579 GB, free: 96.09 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03545/1.602, allocations: 11.36 MB / 0.5901 GB, free: 84.36 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002566/1.602, allocations: 27.75 kB / 0.5902 GB, free: 84.33 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002823/1.605, allocations: 201.8 kB / 0.5904 GB, free: 84.17 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/1.608, allocations: 1.254 MB / 0.5916 GB, free: 82.91 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.639, allocations: 10.83 MB / 0.6022 GB, free: 72.07 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07876/1.718, allocations: 38.12 MB / 0.6394 GB, free: 33.32 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/1.731, allocations: 4.632 MB / 0.6439 GB, free: 28.45 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/1.736, allocations: 2.221 MB / 0.6461 GB, free: 26.22 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.738, allocations: 1.322 MB / 0.6474 GB, free: 24.69 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.738, allocations: 56.56 kB / 0.6474 GB, free: 24.62 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 7.344e-06/1.738, allocations: 0 / 0.6474 GB, free: 24.62 MB / 458.8 MB Notification: Performance of matching and sorting (n=256): time 0.05746/1.795, allocations: 11.28 MB / 0.6584 GB, free: 13.34 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.795, allocations: 73.41 kB / 0.6585 GB, free: 13.26 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.8, allocations: 2.511 MB / 0.661 GB, free: 10.73 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005401/1.801, allocations: 53.7 kB / 0.661 GB, free: 10.67 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.803, allocations: 2.969 MB / 0.6639 GB, free: 7.695 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.804, allocations: 0.9377 MB / 0.6648 GB, free: 6.766 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/1.805, allocations: 112 kB / 0.6649 GB, free: 6.656 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003972/1.805, allocations: 0.55 MB / 0.6655 GB, free: 6.098 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005225/1.811, allocations: 2.241 MB / 0.6677 GB, free: 3.852 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008509/1.819, allocations: 5.347 MB / 0.6729 GB, free: 12.96 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009333/1.829, allocations: 3.519 MB / 0.6763 GB, free: 9.438 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/1.829, allocations: 32 kB / 0.6763 GB, free: 9.406 MB / 474.8 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.0275/1.856, allocations: 8.01 MB / 0.6842 GB, free: 1.379 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.856, allocations: 52 kB / 0.6842 GB, free: 1.328 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/1.857, allocations: 112 kB / 0.6843 GB, free: 1.219 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006825/1.863, allocations: 1.025 MB / 0.6853 GB, free: 188 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009289/1.873, allocations: 1.322 MB / 0.6866 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/1.878, allocations: 2.474 MB / 0.689 GB, free: 12.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.884, allocations: 315.7 kB / 0.6893 GB, free: 11.94 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.885, allocations: 335.7 kB / 0.6897 GB, free: 11.61 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (713): * Single equations (assignments): 704 * 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.001423/1.887, allocations: 0.5168 MB / 0.6902 GB, free: 11.09 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/1.887, allocations: 292.2 kB / 0.6904 GB, free: 10.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/1.904, allocations: 4.857 MB / 0.6952 GB, free: 5.871 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/1.904, allocations: 40 kB / 0.6952 GB, free: 5.832 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.904, allocations: 0 / 0.6952 GB, free: 5.832 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/1.904, allocations: 11.95 kB / 0.6952 GB, free: 5.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0384/1.943, allocations: 11.45 MB / 0.7064 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/1.943, allocations: 12 kB / 0.7064 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004001/1.947, allocations: 419.3 kB / 0.7068 GB, free: 9.805 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/1.952, allocations: 0.6116 MB / 0.7074 GB, free: 9.184 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005986/1.953, allocations: 51.98 kB / 0.7075 GB, free: 9.133 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/1.957, allocations: 2.073 MB / 0.7095 GB, free: 6.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/1.957, allocations: 15.94 kB / 0.7095 GB, free: 6.914 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3798/2.337, allocations: 7.665 MB / 0.717 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/2.338, allocations: 331.6 kB / 0.7173 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/2.339, allocations: 50.41 kB / 0.7174 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/2.342, allocations: 126.5 kB / 0.7175 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008468/2.343, allocations: 162.5 kB / 0.7176 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/2.343, allocations: 79.23 kB / 0.7177 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004768/2.348, allocations: 1.7 MB / 0.7194 GB, free: 136 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.62e-07/2.348, allocations: 0 / 0.7194 GB, free: 136 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007121/2.355, allocations: 0.9962 MB / 0.7203 GB, free: 136 MB / 0.4949 GB 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.01999/2.375, allocations: 10.63 MB / 0.7307 GB, free: 131.7 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1916:5-1918: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.3/Mechanics/MultiBody/Joints.mo:1913:5-1915: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.01456/2.39, allocations: 5.724 MB / 0.7363 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/2.39, allocations: 2.719 kB / 0.7363 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007022/2.397, allocations: 2.324 MB / 0.7386 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/2.4, allocations: 395.5 kB / 0.739 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/2.432, allocations: 10.75 MB / 0.7495 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00739/2.44, allocations: 3.608 MB / 0.753 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009149/2.449, allocations: 2.08 MB / 0.755 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/2.453, allocations: 1.955 MB / 0.7569 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of SimCode: time 1.744e-06/2.453, allocations: 0 / 0.7569 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/2.607, allocations: 70.42 MB / 0.8257 GB, free: 70.51 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/2.607, allocations: 175.6 kB / 0.8259 GB, free: 70.29 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.795/7.403, allocations: 0 / 0.8259 GB, free: 70.29 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat does not exist to compare? outputFormat=mat