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.461/2.461, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.043e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4186, allocations: 54.86 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.6127, allocations: 101.6 MB / 461.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.6131, allocations: 73.16 kB / 461.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7769/1.39, allocations: 97.92 MB / 0.5464 GB, free: 104.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.39, allocations: 1.156 kB / 0.5464 GB, free: 104.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002535/1.39, allocations: 90.72 kB / 0.5465 GB, free: 104.7 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.02553/1.416, allocations: 4.661 MB / 0.551 GB, free: 102.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.416, allocations: 7.656 kB / 0.5511 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00458/1.421, allocations: 0.9483 MB / 0.552 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/1.448, allocations: 3.623 MB / 0.5555 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.468, allocations: 4.903 MB / 0.5603 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/1.468, allocations: 380.6 kB / 0.5607 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/1.472, allocations: 498.4 kB / 0.5611 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/1.509, allocations: 12.09 MB / 0.5729 GB, free: 98.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003153/1.509, allocations: 37.25 kB / 0.573 GB, free: 98.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002683/1.512, allocations: 228.5 kB / 0.5732 GB, free: 98.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/1.515, allocations: 1.315 MB / 0.5745 GB, free: 98.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03247/1.547, allocations: 11.23 MB / 0.5854 GB, free: 94.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08512/1.632, allocations: 41.98 MB / 0.6264 GB, free: 59.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/1.648, allocations: 4.816 MB / 0.6311 GB, free: 54.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004989/1.653, allocations: 2.362 MB / 0.6335 GB, free: 52.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/1.669, allocations: 6.589 MB / 0.6399 GB, free: 45.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.67, allocations: 52.56 kB / 0.6399 GB, free: 45.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=231): time 6.783e-06/1.67, allocations: 0 / 0.6399 GB, free: 45.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=252): time 0.0742/1.744, allocations: 16.07 MB / 0.6556 GB, free: 29.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.744, allocations: 76.5 kB / 0.6557 GB, free: 29.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/1.75, allocations: 2.82 MB / 0.6585 GB, free: 26.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005456/1.751, allocations: 61.53 kB / 0.6585 GB, free: 26.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.753, allocations: 3.276 MB / 0.6617 GB, free: 22.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.755, allocations: 0.9506 MB / 0.6626 GB, free: 21.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008678/1.756, allocations: 120 kB / 0.6628 GB, free: 21.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000555/1.756, allocations: 0.5665 MB / 0.6633 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/1.762, allocations: 2.41 MB / 0.6657 GB, free: 18.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008463/1.771, allocations: 5.748 MB / 0.6713 GB, free: 11.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/1.78, allocations: 3.773 MB / 0.675 GB, free: 7.656 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.78, allocations: 35.95 kB / 0.675 GB, free: 7.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.03575/1.816, allocations: 9.616 MB / 0.6844 GB, free: 14.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.816, allocations: 56 kB / 0.6844 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/1.816, allocations: 120 kB / 0.6846 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01767/1.834, allocations: 2.35 MB / 0.6869 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009097/1.843, allocations: 1.353 MB / 0.6882 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4162/2.259, allocations: 10.61 MB / 0.6985 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/2.266, allocations: 326.8 kB / 0.6988 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/2.268, allocations: 356.7 kB / 0.6992 GB, free: 103.4 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.002665/2.271, allocations: 0.549 MB / 0.6997 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/2.272, allocations: 309.6 kB / 0.7 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/2.288, allocations: 4.588 MB / 0.7045 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/2.288, allocations: 50.17 kB / 0.7045 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/2.288, allocations: 1.812 kB / 0.7046 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/2.288, allocations: 10.27 kB / 0.7046 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/2.326, allocations: 10.77 MB / 0.7151 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/2.327, allocations: 4.844 kB / 0.7151 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/2.331, allocations: 415.8 kB / 0.7155 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/2.335, allocations: 0.6915 MB / 0.7162 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006646/2.335, allocations: 56.53 kB / 0.7162 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/2.34, allocations: 2.417 MB / 0.7186 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/2.34, allocations: 6.625 kB / 0.7186 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/2.357, allocations: 7.396 MB / 0.7258 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/2.359, allocations: 351.5 kB / 0.7261 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001992/2.361, allocations: 46.23 kB / 0.7262 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/2.365, allocations: 143.5 kB / 0.7263 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008232/2.366, allocations: 131.8 kB / 0.7264 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/2.366, allocations: 75.42 kB / 0.7265 GB, free: 100.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004966/2.371, allocations: 1.904 MB / 0.7284 GB, free: 99.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.91e-07/2.371, allocations: 0 / 0.7284 GB, free: 99.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00848/2.379, allocations: 1.135 MB / 0.7295 GB, free: 99.27 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.01835/2.398, allocations: 9.006 MB / 0.7383 GB, free: 94.84 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.01507/2.413, allocations: 5.863 MB / 0.744 GB, free: 93.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.413, allocations: 0 / 0.744 GB, free: 93.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00737/2.42, allocations: 2.489 MB / 0.7464 GB, free: 92.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/2.424, allocations: 410.1 kB / 0.7468 GB, free: 92.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/2.461, allocations: 11.07 MB / 0.7576 GB, free: 88.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0083/2.469, allocations: 3.873 MB / 0.7614 GB, free: 86.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009364/2.479, allocations: 2.067 MB / 0.7634 GB, free: 86.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005329/2.484, allocations: 2.126 MB / 0.7655 GB, free: 85.08 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/2.484, allocations: 0 / 0.7655 GB, free: 85.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/2.661, allocations: 81.74 MB / 0.8453 GB, free: 16.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/2.662, allocations: 186.4 kB / 0.8455 GB, free: 16.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.613/8.275, allocations: 0 / 0.8455 GB, free: 16.33 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