Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.667/2.667, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.079e-05, allocations: 9.812 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7166/0.8519, allocations: 105.3 MB / 0.5036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.8523, allocations: 75.95 kB / 0.5036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4022/1.255, allocations: 90.69 MB / 0.5922 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.795e-06/1.255, allocations: 4 kB / 0.5922 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002217/1.255, allocations: 76 kB / 0.5923 GB, free: 3.156 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.02356/1.278, allocations: 4.219 MB / 0.5964 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.278, allocations: 12.03 kB / 0.5964 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003887/1.282, allocations: 0.8485 MB / 0.5972 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03733/1.32, allocations: 3.558 MB / 0.6007 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03198/1.352, allocations: 4.514 MB / 0.6051 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008028/1.353, allocations: 336.5 kB / 0.6055 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003986/1.357, allocations: 435.8 kB / 0.6059 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.426/1.783, allocations: 11.07 MB / 0.6167 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/1.783, allocations: 23.47 kB / 0.6167 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002297/1.785, allocations: 193.8 kB / 0.6169 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/1.788, allocations: 1.218 MB / 0.6181 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0341/1.823, allocations: 10.54 MB / 0.6284 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07608/1.899, allocations: 37.17 MB / 0.6647 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/1.912, allocations: 4.522 MB / 0.6691 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/1.917, allocations: 2.176 MB / 0.6712 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/1.919, allocations: 1.324 MB / 0.6725 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/1.919, allocations: 51.53 kB / 0.6725 GB, free: 98.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.994e-06/1.919, allocations: 0 / 0.6725 GB, free: 98.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=247): time 0.05785/1.976, allocations: 11.06 MB / 0.6833 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.977, allocations: 73.81 kB / 0.6834 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/1.981, allocations: 2.448 MB / 0.6858 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005777/1.982, allocations: 54.84 kB / 0.6859 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.984, allocations: 2.888 MB / 0.6887 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.985, allocations: 0.9076 MB / 0.6896 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/1.986, allocations: 110.7 kB / 0.6897 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003705/1.986, allocations: 0.5498 MB / 0.6902 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.991, allocations: 2.177 MB / 0.6923 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/1.998, allocations: 5.221 MB / 0.6974 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007097/2.005, allocations: 3.421 MB / 0.7008 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-05/2.005, allocations: 35.47 kB / 0.7008 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02548/2.031, allocations: 7.83 MB / 0.7085 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/2.031, allocations: 49 kB / 0.7085 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/2.031, allocations: 108 kB / 0.7086 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006528/2.038, allocations: 1.03 MB / 0.7096 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007879/2.046, allocations: 1.269 MB / 0.7109 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/2.049, allocations: 2.467 MB / 0.7133 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/2.055, allocations: 313 kB / 0.7136 GB, free: 77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/2.056, allocations: 327.4 kB / 0.7139 GB, free: 76.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (691): * Single equations (assignments): 682 * 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.001152/2.057, allocations: 0.5005 MB / 0.7144 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/2.058, allocations: 279.3 kB / 0.7146 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/2.072, allocations: 4.744 MB / 0.7193 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/2.072, allocations: 47.38 kB / 0.7193 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/2.072, allocations: 0 / 0.7193 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/2.072, allocations: 10.7 kB / 0.7193 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03266/2.104, allocations: 11.2 MB / 0.7303 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/2.105, allocations: 17.34 kB / 0.7303 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/2.108, allocations: 388 kB / 0.7306 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005299/2.113, allocations: 0.625 MB / 0.7312 GB, free: 61.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/2.114, allocations: 48.44 kB / 0.7313 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/2.118, allocations: 2.047 MB / 0.7333 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/2.118, allocations: 11.94 kB / 0.7333 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/2.137, allocations: 7.508 MB / 0.7406 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/2.138, allocations: 325.1 kB / 0.7409 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/2.139, allocations: 52.69 kB / 0.741 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002815/2.141, allocations: 128.1 kB / 0.7411 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/2.142, allocations: 152.3 kB / 0.7413 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/2.142, allocations: 76.48 kB / 0.7413 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003787/2.146, allocations: 1.646 MB / 0.7429 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/2.146, allocations: 3.938 kB / 0.7429 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006935/2.153, allocations: 0.9725 MB / 0.7439 GB, free: 49.68 MB / 0.5105 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 (197): * Single equations (assignments): 188 * 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.01928/2.173, allocations: 10.47 MB / 0.7541 GB, free: 39.73 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159: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 4.0.0/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159: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.01429/2.187, allocations: 5.595 MB / 0.7596 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/2.187, allocations: 8.062 kB / 0.7596 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006675/2.194, allocations: 2.273 MB / 0.7618 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/2.197, allocations: 412.5 kB / 0.7622 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/2.228, allocations: 10.45 MB / 0.7724 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007338/2.236, allocations: 3.533 MB / 0.7759 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00846/2.244, allocations: 2.017 MB / 0.7778 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004537/2.249, allocations: 1.913 MB / 0.7797 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.904e-06/2.249, allocations: 0 / 0.7797 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5367/2.785, allocations: 68.6 MB / 0.8467 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/2.786, allocations: 182.8 kB / 0.8469 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.09/7.876, allocations: 4 kB / 0.8469 GB, free: 123.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat does not exist to compare? outputFormat=mat