Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.292e-05/5.375e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4833, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.6832, allocations: 109 MB / 491.3 MB, free: 15.32 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.6836, allocations: 75.97 kB / 491.4 MB, free: 15.24 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7512/1.435, allocations: 99.4 MB / 0.577 GB, free: 98.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.347e-06/1.435, allocations: 4 kB / 0.577 GB, free: 98.82 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002839/1.435, allocations: 95.67 kB / 0.5771 GB, free: 98.73 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.03475/1.47, allocations: 4.705 MB / 0.5817 GB, free: 93.98 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/1.47, allocations: 11.97 kB / 0.5817 GB, free: 93.97 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006116/1.476, allocations: 0.9582 MB / 0.5826 GB, free: 93.04 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04049/1.517, allocations: 3.631 MB / 0.5862 GB, free: 89.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/1.536, allocations: 4.934 MB / 0.591 GB, free: 84.46 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004817/1.536, allocations: 387.2 kB / 0.5913 GB, free: 84.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/1.539, allocations: 499.9 kB / 0.5918 GB, free: 83.61 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/1.576, allocations: 12.22 MB / 0.6038 GB, free: 70.86 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/1.576, allocations: 35.75 kB / 0.6038 GB, free: 70.82 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002649/1.579, allocations: 227.8 kB / 0.604 GB, free: 70.6 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/1.582, allocations: 1.334 MB / 0.6053 GB, free: 69.27 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0334/1.615, allocations: 11.34 MB / 0.6164 GB, free: 57.91 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08658/1.702, allocations: 42.41 MB / 0.6578 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.718, allocations: 4.937 MB / 0.6626 GB, free: 9.289 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/1.724, allocations: 2.39 MB / 0.665 GB, free: 6.891 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/1.74, allocations: 6.945 MB / 0.6717 GB, free: 15.57 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/1.74, allocations: 56.56 kB / 0.6718 GB, free: 15.51 MB / 474.8 MB Notification: Performance of pre-optimization done (n=238): time 6.582e-06/1.74, allocations: 0 / 0.6718 GB, free: 15.51 MB / 474.8 MB Notification: Performance of matching and sorting (n=259): time 0.08187/1.822, allocations: 16.29 MB / 0.6877 GB, free: 15.1 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.822, allocations: 73.41 kB / 0.6878 GB, free: 15.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00757/1.83, allocations: 2.838 MB / 0.6906 GB, free: 12.17 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005793/1.83, allocations: 61.7 kB / 0.6906 GB, free: 12.11 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/1.834, allocations: 3.309 MB / 0.6938 GB, free: 8.746 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.836, allocations: 0.9714 MB / 0.6948 GB, free: 7.762 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.837, allocations: 124 kB / 0.6949 GB, free: 7.641 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001262/1.838, allocations: 0.5745 MB / 0.6955 GB, free: 7.059 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007503/1.846, allocations: 2.425 MB / 0.6978 GB, free: 4.629 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.857, allocations: 5.779 MB / 0.7035 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009938/1.867, allocations: 3.789 MB / 0.7072 GB, free: 9.383 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.867, allocations: 40 kB / 0.7072 GB, free: 9.344 MB / 0.4949 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.4395/2.307, allocations: 9.648 MB / 0.7166 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/2.307, allocations: 59.47 kB / 0.7167 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003262/2.307, allocations: 120.2 kB / 0.7168 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01693/2.324, allocations: 2.333 MB / 0.7191 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008952/2.333, allocations: 1.37 MB / 0.7204 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/2.36, allocations: 10.61 MB / 0.7308 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/2.367, allocations: 340.7 kB / 0.7311 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/2.369, allocations: 358.9 kB / 0.7315 GB, free: 125.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (742): * Single equations (assignments): 734 * 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 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.00253/2.371, allocations: 0.5456 MB / 0.732 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008457/2.372, allocations: 321.8 kB / 0.7323 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/2.386, allocations: 4.632 MB / 0.7368 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/2.386, allocations: 43.47 kB / 0.7369 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/2.386, allocations: 7.172 kB / 0.7369 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/2.386, allocations: 6.938 kB / 0.7369 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/2.418, allocations: 10.97 MB / 0.7476 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/2.418, allocations: 2.844 kB / 0.7476 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004097/2.423, allocations: 432 kB / 0.748 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/2.426, allocations: 0.6928 MB / 0.7487 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006098/2.427, allocations: 60.34 kB / 0.7487 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/2.431, allocations: 2.413 MB / 0.7511 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.431, allocations: 3.781 kB / 0.7511 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/2.448, allocations: 7.538 MB / 0.7585 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/2.449, allocations: 368.6 kB / 0.7588 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.45, allocations: 48.8 kB / 0.7589 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/2.454, allocations: 144.3 kB / 0.759 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/2.454, allocations: 144.9 kB / 0.7591 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/2.455, allocations: 75.58 kB / 0.7592 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004717/2.459, allocations: 1.921 MB / 0.7611 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.012e-06/2.459, allocations: 0 / 0.7611 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007685/2.467, allocations: 1.151 MB / 0.7622 GB, free: 118.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (212): * Single equations (assignments): 203 * 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.01923/2.486, allocations: 9.316 MB / 0.7713 GB, free: 113.5 MB / 0.4949 GB [/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 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.3/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable 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:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.02169/2.508, allocations: 5.922 MB / 0.7771 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/2.508, allocations: 3.469 kB / 0.7771 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007123/2.515, allocations: 2.499 MB / 0.7795 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/2.519, allocations: 427.9 kB / 0.7799 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/2.555, allocations: 11.17 MB / 0.7908 GB, free: 98.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009273/2.564, allocations: 3.896 MB / 0.7946 GB, free: 95.14 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009955/2.574, allocations: 2.08 MB / 0.7967 GB, free: 93.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005539/2.58, allocations: 2.175 MB / 0.7988 GB, free: 91.8 MB / 0.4949 GB Notification: Performance of SimCode: time 2.415e-06/2.58, allocations: 0 / 0.7988 GB, free: 91.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/2.789, allocations: 82.56 MB / 0.8794 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/2.79, allocations: 190.4 kB / 0.8796 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.455/8.245, allocations: 0 / 0.8796 GB, free: 14.17 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat