Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.027e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4247, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.6133, allocations: 101.6 MB / 461.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6137, allocations: 71.97 kB / 461.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7558/1.369, allocations: 97.92 MB / 0.5464 GB, free: 105.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.37, allocations: 0 / 0.5464 GB, free: 105.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002816/1.37, allocations: 97.53 kB / 0.5465 GB, free: 105.2 MB / 458.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.02542/1.395, allocations: 4.657 MB / 0.551 GB, free: 103.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/1.395, allocations: 10.72 kB / 0.551 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004637/1.4, allocations: 0.9428 MB / 0.5519 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02864/1.429, allocations: 3.623 MB / 0.5555 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/1.448, allocations: 4.896 MB / 0.5603 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/1.449, allocations: 381.1 kB / 0.5606 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/1.452, allocations: 0.4935 MB / 0.5611 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/1.489, allocations: 12.14 MB / 0.573 GB, free: 98.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003477/1.49, allocations: 37.97 kB / 0.573 GB, free: 98.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/1.493, allocations: 222.5 kB / 0.5732 GB, free: 98.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00295/1.496, allocations: 1.318 MB / 0.5745 GB, free: 98.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03271/1.529, allocations: 11.38 MB / 0.5856 GB, free: 94.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0899/1.618, allocations: 41.97 MB / 0.6266 GB, free: 59.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/1.636, allocations: 4.849 MB / 0.6313 GB, free: 54.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008713/1.645, allocations: 2.362 MB / 0.6336 GB, free: 52.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02423/1.669, allocations: 6.589 MB / 0.6401 GB, free: 45.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/1.669, allocations: 56.5 kB / 0.6401 GB, free: 45.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=231): time 1.017e-05/1.669, allocations: 0 / 0.6401 GB, free: 45.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=252): time 0.1055/1.775, allocations: 16.08 MB / 0.6558 GB, free: 29.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.775, allocations: 77.41 kB / 0.6559 GB, free: 29.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006611/1.781, allocations: 2.809 MB / 0.6586 GB, free: 26.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000539/1.782, allocations: 65.45 kB / 0.6587 GB, free: 26.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.784, allocations: 3.28 MB / 0.6619 GB, free: 22.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.786, allocations: 0.9431 MB / 0.6628 GB, free: 21.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008303/1.787, allocations: 124 kB / 0.663 GB, free: 21.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006193/1.787, allocations: 0.5665 MB / 0.6635 GB, free: 21.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006274/1.794, allocations: 2.41 MB / 0.6659 GB, free: 18.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00853/1.802, allocations: 5.779 MB / 0.6715 GB, free: 11.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/1.811, allocations: 3.773 MB / 0.6752 GB, free: 7.609 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.811, allocations: 35.95 kB / 0.6752 GB, free: 7.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.0336/1.844, allocations: 9.949 MB / 0.6849 GB, free: 13.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.845, allocations: 56.19 kB / 0.685 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.845, allocations: 124 kB / 0.6851 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/1.862, allocations: 2.338 MB / 0.6874 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009079/1.871, allocations: 1.357 MB / 0.6887 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4208/2.292, allocations: 10.61 MB / 0.6991 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00659/2.298, allocations: 330.7 kB / 0.6994 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/2.3, allocations: 358.8 kB / 0.6997 GB, free: 103.9 MB / 474.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.002235/2.302, allocations: 0.5415 MB / 0.7003 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/2.303, allocations: 308.5 kB / 0.7006 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/2.318, allocations: 4.59 MB / 0.705 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001187/2.318, allocations: 46.47 kB / 0.7051 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/2.318, allocations: 2.172 kB / 0.7051 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/2.318, allocations: 13.86 kB / 0.7051 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/2.354, allocations: 10.78 MB / 0.7156 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/2.354, allocations: 4.125 kB / 0.7156 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004055/2.358, allocations: 424.5 kB / 0.716 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003872/2.362, allocations: 0.6904 MB / 0.7167 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005941/2.363, allocations: 54.45 kB / 0.7168 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/2.367, allocations: 2.417 MB / 0.7191 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/2.367, allocations: 3.875 kB / 0.7191 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/2.383, allocations: 7.395 MB / 0.7264 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/2.384, allocations: 356 kB / 0.7267 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.385, allocations: 46.34 kB / 0.7267 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/2.388, allocations: 136.8 kB / 0.7269 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/2.389, allocations: 141.8 kB / 0.727 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/2.389, allocations: 70.95 kB / 0.7271 GB, free: 100.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004292/2.393, allocations: 1.901 MB / 0.7289 GB, free: 99.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.393, allocations: 0 / 0.7289 GB, free: 99.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00701/2.4, allocations: 1.141 MB / 0.73 GB, free: 99.35 MB / 474.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.01687/2.417, allocations: 9 MB / 0.7388 GB, free: 94.91 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1958:5-1960: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.2/Mechanics/MultiBody/Joints.mo:1952:5-1954: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.2/Mechanics/MultiBody/Joints.mo:1955:5-1957: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.01428/2.432, allocations: 6.063 MB / 0.7448 GB, free: 93.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/2.432, allocations: 2.406 kB / 0.7448 GB, free: 93.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006918/2.439, allocations: 2.499 MB / 0.7472 GB, free: 92.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/2.442, allocations: 419.1 kB / 0.7476 GB, free: 92.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/2.476, allocations: 11.07 MB / 0.7584 GB, free: 88.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007714/2.483, allocations: 3.876 MB / 0.7622 GB, free: 86.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008589/2.492, allocations: 2.062 MB / 0.7642 GB, free: 86.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004955/2.497, allocations: 2.126 MB / 0.7663 GB, free: 85.06 MB / 474.7 MB Notification: Performance of SimCode: time 2.013e-06/2.497, allocations: 0 / 0.7663 GB, free: 85.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/2.676, allocations: 82.3 MB / 0.8467 GB, free: 15.75 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/2.676, allocations: 183.7 kB / 0.8468 GB, free: 15.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.362/8.038, allocations: 3.938 kB / 0.8468 GB, free: 15.53 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat