Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.851e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5333, allocations: 94.92 MB / 416.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5336, allocations: 71.97 kB / 416.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7529/1.287, allocations: 97.9 MB / 0.5027 GB, free: 95.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.287, allocations: 1.188 kB / 0.5027 GB, free: 95.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002549/1.287, allocations: 90.19 kB / 0.5028 GB, free: 95.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.02569/1.313, allocations: 4.657 MB / 0.5073 GB, free: 94.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.313, allocations: 9.719 kB / 0.5074 GB, free: 94.03 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004989/1.318, allocations: 0.9523 MB / 0.5083 GB, free: 93.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02909/1.347, allocations: 3.619 MB / 0.5118 GB, free: 93.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02104/1.368, allocations: 4.904 MB / 0.5166 GB, free: 93.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006778/1.369, allocations: 381.4 kB / 0.517 GB, free: 93.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/1.372, allocations: 500 kB / 0.5174 GB, free: 93.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0381/1.41, allocations: 12.08 MB / 0.5292 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/1.411, allocations: 35.69 kB / 0.5293 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002945/1.414, allocations: 225.5 kB / 0.5295 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/1.417, allocations: 1.325 MB / 0.5308 GB, free: 91.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0329/1.449, allocations: 11.23 MB / 0.5418 GB, free: 90.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08484/1.534, allocations: 41.98 MB / 0.5827 GB, free: 64.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/1.55, allocations: 4.821 MB / 0.5875 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/1.555, allocations: 2.36 MB / 0.5898 GB, free: 58.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01583/1.571, allocations: 6.577 MB / 0.5962 GB, free: 52.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.571, allocations: 48.56 kB / 0.5962 GB, free: 52.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 7.023e-06/1.571, allocations: 0 / 0.5962 GB, free: 52.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.07111/1.642, allocations: 16.09 MB / 0.6119 GB, free: 39.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.642, allocations: 73.41 kB / 0.612 GB, free: 39.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006501/1.649, allocations: 2.819 MB / 0.6148 GB, free: 36.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005736/1.649, allocations: 64.8 kB / 0.6148 GB, free: 36.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.652, allocations: 3.282 MB / 0.618 GB, free: 33.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.653, allocations: 0.9437 MB / 0.619 GB, free: 32.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/1.654, allocations: 120 kB / 0.6191 GB, free: 32.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004413/1.655, allocations: 0.5693 MB / 0.6196 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/1.66, allocations: 2.403 MB / 0.622 GB, free: 29.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007819/1.668, allocations: 5.743 MB / 0.6276 GB, free: 22.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/1.676, allocations: 3.766 MB / 0.6313 GB, free: 18.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.015e-05/1.676, allocations: 39.92 kB / 0.6313 GB, free: 18.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.03314/1.709, allocations: 9.621 MB / 0.6407 GB, free: 9.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/1.71, allocations: 52 kB / 0.6407 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.71, allocations: 120 kB / 0.6409 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/1.726, allocations: 2.354 MB / 0.6432 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008581/1.735, allocations: 1.353 MB / 0.6445 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3372/2.072, allocations: 10.58 MB / 0.6548 GB, free: 80.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/2.079, allocations: 329.5 kB / 0.6551 GB, free: 80.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/2.08, allocations: 357.4 kB / 0.6555 GB, free: 80.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (733): * Single equations (assignments): 725 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.002117/2.082, allocations: 0.5534 MB / 0.656 GB, free: 80.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009169/2.083, allocations: 310.5 kB / 0.6563 GB, free: 80.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/2.098, allocations: 4.592 MB / 0.6608 GB, free: 80.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001387/2.099, allocations: 47.06 kB / 0.6608 GB, free: 80.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/2.099, allocations: 4.25 kB / 0.6608 GB, free: 80.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/2.099, allocations: 10.5 kB / 0.6608 GB, free: 80.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03434/2.133, allocations: 10.8 MB / 0.6714 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/2.133, allocations: 7.562 kB / 0.6714 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003977/2.137, allocations: 416.7 kB / 0.6718 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/2.141, allocations: 0.6889 MB / 0.6725 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005855/2.141, allocations: 53.27 kB / 0.6725 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/2.145, allocations: 2.414 MB / 0.6749 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/2.145, allocations: 7.75 kB / 0.6749 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/2.162, allocations: 7.393 MB / 0.6821 GB, free: 77.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/2.163, allocations: 354 kB / 0.6824 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/2.164, allocations: 46.38 kB / 0.6825 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/2.168, allocations: 142.1 kB / 0.6826 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/2.168, allocations: 138 kB / 0.6828 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/2.169, allocations: 69.39 kB / 0.6828 GB, free: 77.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004885/2.173, allocations: 1.905 MB / 0.6847 GB, free: 77.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/2.173, allocations: 2 kB / 0.6847 GB, free: 77.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007567/2.181, allocations: 1.135 MB / 0.6858 GB, free: 77.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.01736/2.198, allocations: 9.011 MB / 0.6946 GB, free: 72.66 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1990:5-1992:161:writable] Warning: Variable freeMotionScalarInit.angle_3 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.1/Mechanics/MultiBody/Joints.mo:1984:5-1986:161:writable] Warning: Variable freeMotionScalarInit.angle_1 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.1/Mechanics/MultiBody/Joints.mo:1987:5-1989:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01445/2.213, allocations: 5.864 MB / 0.7003 GB, free: 70.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/2.213, allocations: 0 / 0.7003 GB, free: 70.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007101/2.22, allocations: 2.485 MB / 0.7027 GB, free: 70.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/2.224, allocations: 413.9 kB / 0.7031 GB, free: 69.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/2.258, allocations: 11.05 MB / 0.7139 GB, free: 66.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007841/2.266, allocations: 3.882 MB / 0.7177 GB, free: 64.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008988/2.275, allocations: 2.064 MB / 0.7197 GB, free: 64.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005002/2.28, allocations: 2.129 MB / 0.7218 GB, free: 62.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/2.28, allocations: 0 / 0.7218 GB, free: 62.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1848/2.465, allocations: 81.74 MB / 0.8016 GB, free: 9.027 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/2.466, allocations: 186.4 kB / 0.8018 GB, free: 8.805 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.258/7.723, allocations: 0 / 0.8018 GB, free: 8.805 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat