Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.805e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.41, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.6036, allocations: 105.3 MB / 0.5022 GB, free: 1.277 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6039, allocations: 75.97 kB / 0.5022 GB, free: 1.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6801/1.284, allocations: 90.68 MB / 0.5908 GB, free: 48.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.284, allocations: 0 / 0.5908 GB, free: 48.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001829/1.284, allocations: 83.98 kB / 0.5909 GB, free: 48.84 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.02122/1.306, allocations: 4.223 MB / 0.595 GB, free: 44.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.306, allocations: 8.031 kB / 0.595 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004335/1.31, allocations: 0.8446 MB / 0.5958 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02653/1.337, allocations: 3.551 MB / 0.5993 GB, free: 40.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/1.354, allocations: 4.538 MB / 0.6037 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/1.354, allocations: 328.5 kB / 0.604 GB, free: 35.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.357, allocations: 435.8 kB / 0.6045 GB, free: 34.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/1.39, allocations: 11.07 MB / 0.6153 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002412/1.39, allocations: 27.8 kB / 0.6153 GB, free: 23.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/1.393, allocations: 195.9 kB / 0.6155 GB, free: 23.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/1.395, allocations: 1.216 MB / 0.6167 GB, free: 21.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/1.425, allocations: 10.53 MB / 0.627 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08134/1.507, allocations: 37.18 MB / 0.6633 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/1.521, allocations: 4.519 MB / 0.6677 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005246/1.526, allocations: 2.193 MB / 0.6698 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/1.528, allocations: 1.311 MB / 0.6711 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/1.528, allocations: 52.56 kB / 0.6711 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 5.721e-06/1.528, allocations: 4 kB / 0.6712 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.06007/1.588, allocations: 11.07 MB / 0.682 GB, free: 1.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.589, allocations: 73.41 kB / 0.682 GB, free: 1.527 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/1.594, allocations: 2.437 MB / 0.6844 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005631/1.595, allocations: 65.58 kB / 0.6845 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002981/1.598, allocations: 2.882 MB / 0.6873 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.599, allocations: 0.9096 MB / 0.6882 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/1.6, allocations: 108 kB / 0.6883 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005494/1.601, allocations: 0.5543 MB / 0.6888 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006001/1.607, allocations: 2.178 MB / 0.691 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009089/1.616, allocations: 5.217 MB / 0.696 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/1.624, allocations: 3.421 MB / 0.6994 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-05/1.624, allocations: 36 kB / 0.6994 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02635/1.651, allocations: 7.761 MB / 0.707 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.651, allocations: 48 kB / 0.707 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/1.651, allocations: 108 kB / 0.7071 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/1.658, allocations: 1.037 MB / 0.7082 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/1.667, allocations: 1.271 MB / 0.7094 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/1.671, allocations: 2.462 MB / 0.7118 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/1.677, allocations: 323.6 kB / 0.7121 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.679, allocations: 320 kB / 0.7124 GB, free: 0.6445 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.00208/1.681, allocations: 0.5092 MB / 0.7129 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3662/2.047, allocations: 271.5 kB / 0.7132 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/2.064, allocations: 4.739 MB / 0.7178 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/2.064, allocations: 47.58 kB / 0.7179 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/2.065, allocations: 0 / 0.7179 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.606e-05/2.065, allocations: 11.48 kB / 0.7179 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/2.097, allocations: 11.19 MB / 0.7288 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/2.097, allocations: 18.03 kB / 0.7288 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/2.1, allocations: 399.1 kB / 0.7292 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005144/2.106, allocations: 0.613 MB / 0.7298 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005536/2.106, allocations: 53.34 kB / 0.7298 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/2.109, allocations: 2.052 MB / 0.7318 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/2.109, allocations: 14.38 kB / 0.7319 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/2.127, allocations: 7.5 MB / 0.7392 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/2.128, allocations: 330.1 kB / 0.7395 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009066/2.128, allocations: 45 kB / 0.7395 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/2.131, allocations: 123.6 kB / 0.7397 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006143/2.132, allocations: 155.3 kB / 0.7398 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/2.132, allocations: 75.36 kB / 0.7399 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003878/2.136, allocations: 1.651 MB / 0.7415 GB, free: 129 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/2.136, allocations: 0 / 0.7415 GB, free: 129 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006751/2.143, allocations: 0.967 MB / 0.7424 GB, free: 128.9 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.01838/2.161, allocations: 10.48 MB / 0.7527 GB, free: 122.7 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.01407/2.175, allocations: 5.595 MB / 0.7581 GB, free: 121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/2.175, allocations: 7.406 kB / 0.7581 GB, free: 121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006728/2.182, allocations: 2.277 MB / 0.7604 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/2.186, allocations: 406.3 kB / 0.7608 GB, free: 120 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03194/2.218, allocations: 10.95 MB / 0.7714 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007461/2.225, allocations: 3.534 MB / 0.7749 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004973/2.23, allocations: 1.959 MB / 0.7768 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.23, allocations: 0 / 0.7768 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.492/6.723, allocations: 135.4 MB / 0.9091 GB, free: 14.42 MB / 0.5417 GB