Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 282.7 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.701e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.6173, allocations: 110.3 MB / 0.507 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.6176, allocations: 75.97 kB / 0.5071 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7171/1.335, allocations: 98.31 MB / 0.6031 GB, free: 36.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.335, allocations: 3.938 kB / 0.6031 GB, free: 36.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002069/1.335, allocations: 88 kB / 0.6032 GB, free: 36.82 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02332/1.358, allocations: 4.608 MB / 0.6077 GB, free: 32.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.358, allocations: 12.03 kB / 0.6077 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004582/1.363, allocations: 0.935 MB / 0.6086 GB, free: 31.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/1.39, allocations: 3.605 MB / 0.6121 GB, free: 27.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01826/1.408, allocations: 4.733 MB / 0.6168 GB, free: 22.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/1.409, allocations: 381.7 kB / 0.6171 GB, free: 22.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/1.412, allocations: 495.8 kB / 0.6176 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03631/1.448, allocations: 11.91 MB / 0.6292 GB, free: 9.488 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003345/1.448, allocations: 31.66 kB / 0.6293 GB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/1.451, allocations: 227.9 kB / 0.6295 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002717/1.454, allocations: 1.295 MB / 0.6308 GB, free: 7.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03356/1.488, allocations: 11.05 MB / 0.6416 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09424/1.582, allocations: 41.47 MB / 0.682 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/1.6, allocations: 4.824 MB / 0.6868 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006124/1.606, allocations: 2.347 MB / 0.689 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/1.625, allocations: 6.827 MB / 0.6957 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.625, allocations: 52.56 kB / 0.6958 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 5.641e-06/1.625, allocations: 0 / 0.6958 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=250): time 0.07756/1.702, allocations: 15.7 MB / 0.7111 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.702, allocations: 73.41 kB / 0.7112 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009374/1.712, allocations: 2.772 MB / 0.7139 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008472/1.713, allocations: 57.7 kB / 0.7139 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.4114/2.124, allocations: 3.217 MB / 0.7171 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/2.126, allocations: 0.9327 MB / 0.718 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/2.127, allocations: 119.3 kB / 0.7181 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006728/2.127, allocations: 0.5679 MB / 0.7186 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006614/2.134, allocations: 2.372 MB / 0.721 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008305/2.142, allocations: 5.645 MB / 0.7265 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008383/2.151, allocations: 3.712 MB / 0.7301 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/2.151, allocations: 33.91 kB / 0.7301 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03224/2.183, allocations: 9.391 MB / 0.7393 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/2.183, allocations: 56.47 kB / 0.7394 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/2.183, allocations: 115.9 kB / 0.7395 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/2.199, allocations: 2.334 MB / 0.7417 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008018/2.207, allocations: 1.324 MB / 0.743 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02692/2.234, allocations: 10.61 MB / 0.7534 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/2.241, allocations: 328.6 kB / 0.7537 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/2.242, allocations: 348.9 kB / 0.754 GB, free: 122.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (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.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 (720): * Single equations (assignments): 712 * 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 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.002058/2.244, allocations: 0.5329 MB / 0.7546 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/2.245, allocations: 304.7 kB / 0.7549 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/2.258, allocations: 4.525 MB / 0.7593 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/2.258, allocations: 49.42 kB / 0.7593 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/2.258, allocations: 2.969 kB / 0.7593 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/2.258, allocations: 14.41 kB / 0.7593 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03077/2.289, allocations: 10.73 MB / 0.7698 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/2.289, allocations: 3.938 kB / 0.7698 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003699/2.293, allocations: 407.1 kB / 0.7702 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003583/2.296, allocations: 0.7024 MB / 0.7709 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00061/2.297, allocations: 56.27 kB / 0.771 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/2.301, allocations: 2.405 MB / 0.7733 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/2.301, allocations: 5.594 kB / 0.7733 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/2.317, allocations: 7.383 MB / 0.7805 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/2.318, allocations: 348.9 kB / 0.7808 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.319, allocations: 44.62 kB / 0.7809 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/2.322, allocations: 143.7 kB / 0.781 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/2.323, allocations: 137.9 kB / 0.7812 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/2.323, allocations: 70.58 kB / 0.7812 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004412/2.327, allocations: 1.868 MB / 0.7831 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/2.327, allocations: 3.969 kB / 0.7831 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007288/2.335, allocations: 1.126 MB / 0.7842 GB, free: 106.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (202): * Single equations (assignments): 193 * 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.01697/2.352, allocations: 9.174 MB / 0.7931 GB, free: 98.12 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159: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.01418/2.366, allocations: 5.791 MB / 0.7988 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/2.366, allocations: 0 / 0.7988 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00713/2.373, allocations: 2.458 MB / 0.8012 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/2.377, allocations: 438.9 kB / 0.8016 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.412, allocations: 11.42 MB / 0.8127 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008487/2.42, allocations: 3.828 MB / 0.8165 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005404/2.425, allocations: 2.158 MB / 0.8186 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/2.426, allocations: 0 / 0.8186 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.96/7.386, allocations: 138.9 MB / 0.9543 GB, free: 133.1 MB / 0.5261 GB