Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.576/2.576, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.217e-05/4.228e-05, allocations: 4 kB / 347.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4122, allocations: 61.86 MB / 408.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.62, allocations: 108.6 MB / 0.5054 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.6204, allocations: 79.95 kB / 0.5055 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6833/1.304, allocations: 81.42 MB / 0.585 GB, free: 56.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.304, allocations: 0 / 0.585 GB, free: 56.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000339/1.304, allocations: 87.98 kB / 0.5851 GB, free: 56.12 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.02964/1.334, allocations: 4.193 MB / 0.5892 GB, free: 51.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.334, allocations: 8.031 kB / 0.5892 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004149/1.338, allocations: 0.7701 MB / 0.5899 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02431/1.362, allocations: 2.241 MB / 0.5921 GB, free: 48.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01953/1.382, allocations: 4.569 MB / 0.5966 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/1.382, allocations: 324.6 kB / 0.5969 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/1.385, allocations: 435.8 kB / 0.5973 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/1.415, allocations: 10.26 MB / 0.6073 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000261/1.415, allocations: 55.5 kB / 0.6074 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001937/1.417, allocations: 215.9 kB / 0.6076 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/1.42, allocations: 0.975 MB / 0.6085 GB, free: 30.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/1.444, allocations: 7.996 MB / 0.6164 GB, free: 22.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07602/1.52, allocations: 48.38 MB / 0.6636 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/1.537, allocations: 3.648 MB / 0.6672 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/1.541, allocations: 1.599 MB / 0.6687 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02062/1.562, allocations: 7.902 MB / 0.6764 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/1.562, allocations: 55.27 kB / 0.6765 GB, free: 7.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 5.42e-06/1.562, allocations: 4 kB / 0.6765 GB, free: 7.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.04809/1.61, allocations: 10.29 MB / 0.6865 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001811/1.612, allocations: 1.62 MB / 0.6881 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/1.621, allocations: 3.394 MB / 0.6914 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004447/1.621, allocations: 45.8 kB / 0.6915 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003354/1.625, allocations: 3 MB / 0.6944 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.626, allocations: 0.6019 MB / 0.695 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007669/1.627, allocations: 112 kB / 0.6951 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005146/1.627, allocations: 0.5545 MB / 0.6956 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005443/1.633, allocations: 1.964 MB / 0.6976 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009053/1.642, allocations: 5.554 MB / 0.703 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/1.65, allocations: 3.272 MB / 0.7062 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.65, allocations: 36 kB / 0.7062 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.4238/2.074, allocations: 8.285 MB / 0.7143 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/2.074, allocations: 62.48 kB / 0.7144 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01822/2.093, allocations: 3.268 MB / 0.7176 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/2.11, allocations: 1.933 MB / 0.7194 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008302/2.119, allocations: 1.321 MB / 0.7207 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/2.131, allocations: 5.743 MB / 0.7263 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/2.139, allocations: 400 kB / 0.7267 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/2.14, allocations: 359.5 kB / 0.7271 GB, free: 125 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 705 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.001908/2.142, allocations: 0.5553 MB / 0.7276 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/2.143, allocations: 328.3 kB / 0.7279 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009735/2.153, allocations: 2.904 MB / 0.7308 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008242/2.161, allocations: 2.439 MB / 0.7331 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/2.161, allocations: 6.328 kB / 0.7331 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/2.161, allocations: 7.234 kB / 0.7332 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/2.187, allocations: 8.508 MB / 0.7415 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/2.187, allocations: 0 / 0.7415 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/2.19, allocations: 245.6 kB / 0.7417 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005507/2.195, allocations: 1.025 MB / 0.7427 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004275/2.196, allocations: 31.06 kB / 0.7427 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008619/2.204, allocations: 5.012 MB / 0.7476 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001225/2.206, allocations: 1.479 MB / 0.7491 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/2.219, allocations: 5.267 MB / 0.7542 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/2.221, allocations: 396.5 kB / 0.7546 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/2.222, allocations: 31.8 kB / 0.7546 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/2.225, allocations: 132.5 kB / 0.7547 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005227/2.225, allocations: 90.02 kB / 0.7548 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/2.226, allocations: 46.25 kB / 0.7549 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005842/2.232, allocations: 2.338 MB / 0.7572 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/2.232, allocations: 0 / 0.7572 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007568/2.239, allocations: 1.038 MB / 0.7582 GB, free: 117.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * 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.01395/2.253, allocations: 6.265 MB / 0.7643 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01471/2.268, allocations: 5.205 MB / 0.7694 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/2.268, allocations: 0 / 0.7694 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/2.275, allocations: 2.116 MB / 0.7714 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/2.279, allocations: 400.8 kB / 0.7718 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/2.31, allocations: 9.459 MB / 0.7811 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006449/2.316, allocations: 3.253 MB / 0.7842 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004234/2.321, allocations: 1.843 MB / 0.786 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/2.321, allocations: 0 / 0.786 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.901/7.222, allocations: 145.1 MB / 0.9277 GB, free: 161.8 MB / 0.5417 GB