Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.896e-05, allocations: 7.984 kB / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4283, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.6225, allocations: 105.3 MB / 0.5036 GB, free: 1.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6229, allocations: 79.95 kB / 0.5037 GB, free: 1.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7127/1.336, allocations: 90.69 MB / 0.5922 GB, free: 48.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.245e-06/1.336, allocations: 4 kB / 0.5922 GB, free: 48.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001824/1.336, allocations: 75.94 kB / 0.5923 GB, free: 48.66 MB / 442.7 MB 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.02141/1.357, allocations: 4.222 MB / 0.5964 GB, free: 44.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.357, allocations: 12.03 kB / 0.5964 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003807/1.361, allocations: 0.8446 MB / 0.5973 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02634/1.388, allocations: 3.554 MB / 0.6007 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/1.405, allocations: 4.518 MB / 0.6051 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/1.405, allocations: 328.5 kB / 0.6055 GB, free: 35.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/1.408, allocations: 443.7 kB / 0.6059 GB, free: 34.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/1.44, allocations: 11.06 MB / 0.6167 GB, free: 23.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/1.44, allocations: 27.81 kB / 0.6167 GB, free: 23.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.443, allocations: 187.9 kB / 0.6169 GB, free: 22.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.445, allocations: 1.223 MB / 0.6181 GB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02932/1.475, allocations: 10.55 MB / 0.6284 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08183/1.557, allocations: 37.17 MB / 0.6647 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.571, allocations: 4.512 MB / 0.6691 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005333/1.577, allocations: 2.19 MB / 0.6712 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/1.579, allocations: 1.319 MB / 0.6725 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/1.579, allocations: 52.56 kB / 0.6726 GB, free: 12.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.271e-06/1.579, allocations: 0 / 0.6726 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.06131/1.64, allocations: 11.07 MB / 0.6834 GB, free: 1.438 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/1.64, allocations: 77.36 kB / 0.6834 GB, free: 1.348 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006616/1.647, allocations: 2.437 MB / 0.6858 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000552/1.648, allocations: 57.7 kB / 0.6859 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003116/1.651, allocations: 2.883 MB / 0.6887 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.652, allocations: 0.9135 MB / 0.6896 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006771/1.653, allocations: 112 kB / 0.6897 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005734/1.654, allocations: 0.5496 MB / 0.6902 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006049/1.66, allocations: 2.174 MB / 0.6924 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00918/1.669, allocations: 5.221 MB / 0.6975 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00874/1.678, allocations: 3.421 MB / 0.7008 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.678, allocations: 28 kB / 0.7008 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02627/1.704, allocations: 7.824 MB / 0.7085 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.704, allocations: 55.94 kB / 0.7085 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.704, allocations: 108.1 kB / 0.7086 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/1.711, allocations: 1.028 MB / 0.7096 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008702/1.72, allocations: 1.279 MB / 0.7109 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/1.725, allocations: 2.467 MB / 0.7133 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006673/1.731, allocations: 307.6 kB / 0.7136 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.734, allocations: 328 kB / 0.7139 GB, free: 420 kB / 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.3726/2.106, allocations: 0.4975 MB / 0.7144 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009872/2.107, allocations: 273.7 kB / 0.7146 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02239/2.13, allocations: 4.752 MB / 0.7193 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001394/2.13, allocations: 46.58 kB / 0.7193 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/2.13, allocations: 0 / 0.7193 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/2.13, allocations: 7.5 kB / 0.7193 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04032/2.17, allocations: 11.2 MB / 0.7303 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/2.17, allocations: 6.531 kB / 0.7303 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003483/2.174, allocations: 400.3 kB / 0.7307 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005288/2.179, allocations: 0.6197 MB / 0.7313 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005575/2.18, allocations: 55.48 kB / 0.7313 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/2.183, allocations: 2.047 MB / 0.7333 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/2.183, allocations: 13 kB / 0.7333 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/2.2, allocations: 7.501 MB / 0.7406 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/2.201, allocations: 330.8 kB / 0.741 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/2.202, allocations: 52.42 kB / 0.741 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/2.205, allocations: 123.1 kB / 0.7411 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005791/2.205, allocations: 151 kB / 0.7413 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/2.206, allocations: 76.78 kB / 0.7413 GB, free: 129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003712/2.209, allocations: 1.65 MB / 0.743 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.42e-07/2.209, allocations: 0 / 0.743 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0063/2.216, allocations: 0.9694 MB / 0.7439 GB, free: 128.6 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.01841/2.234, allocations: 10.49 MB / 0.7541 GB, free: 122.3 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/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.01409/2.248, allocations: 5.59 MB / 0.7596 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/2.248, allocations: 0 / 0.7596 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00665/2.255, allocations: 2.282 MB / 0.7618 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/2.259, allocations: 403 kB / 0.7622 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03016/2.289, allocations: 10.43 MB / 0.7724 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00707/2.296, allocations: 3.54 MB / 0.7759 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008352/2.304, allocations: 2.023 MB / 0.7778 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004499/2.309, allocations: 1.916 MB / 0.7797 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/2.309, allocations: 0 / 0.7797 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/2.472, allocations: 68.6 MB / 0.8467 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/2.473, allocations: 179.9 kB / 0.8469 GB, free: 48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/7.172, allocations: 0 / 0.8469 GB, free: 48 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat does not exist to compare? outputFormat=mat