Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.911e-05, allocations: 7.984 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.6103, allocations: 105.3 MB / 0.5022 GB, free: 1.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.6107, allocations: 79.95 kB / 0.5022 GB, free: 1.121 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6876/1.298, allocations: 90.33 MB / 0.5905 GB, free: 49.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.298, allocations: 0 / 0.5905 GB, free: 49.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001888/1.299, allocations: 87.92 kB / 0.5905 GB, free: 49.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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.02118/1.32, allocations: 4.179 MB / 0.5946 GB, free: 44.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.32, allocations: 8.031 kB / 0.5946 GB, free: 44.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003833/1.324, allocations: 0.8324 MB / 0.5955 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/1.351, allocations: 3.539 MB / 0.5989 GB, free: 40.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/1.368, allocations: 4.491 MB / 0.6033 GB, free: 35.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/1.369, allocations: 320.4 kB / 0.6036 GB, free: 35.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/1.371, allocations: 427.8 kB / 0.604 GB, free: 35.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/1.403, allocations: 10.63 MB / 0.6144 GB, free: 24.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/1.403, allocations: 27.72 kB / 0.6144 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002435/1.406, allocations: 195.9 kB / 0.6146 GB, free: 23.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/1.408, allocations: 1.192 MB / 0.6158 GB, free: 22.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0283/1.437, allocations: 10.12 MB / 0.6256 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08007/1.517, allocations: 36.48 MB / 0.6613 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/1.53, allocations: 4.231 MB / 0.6654 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005127/1.535, allocations: 2.088 MB / 0.6674 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/1.537, allocations: 1.319 MB / 0.6687 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.537, allocations: 48.56 kB / 0.6688 GB, free: 15.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.923e-06/1.537, allocations: 0 / 0.6688 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.06112/1.598, allocations: 10.95 MB / 0.6795 GB, free: 4.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/1.598, allocations: 77.34 kB / 0.6795 GB, free: 4.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005702/1.604, allocations: 2.448 MB / 0.6819 GB, free: 1.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005786/1.605, allocations: 57.7 kB / 0.682 GB, free: 1.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/1.608, allocations: 2.855 MB / 0.6848 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.609, allocations: 0.9443 MB / 0.6857 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006602/1.61, allocations: 116 kB / 0.6858 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005665/1.611, allocations: 0.5546 MB / 0.6864 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006212/1.617, allocations: 2.229 MB / 0.6885 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009058/1.626, allocations: 5.276 MB / 0.6937 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008688/1.635, allocations: 3.492 MB / 0.6971 GB, free: 440 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.635, allocations: 31.94 kB / 0.6971 GB, free: 408 kB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02674/1.662, allocations: 7.91 MB / 0.7048 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.662, allocations: 52 kB / 0.7049 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.662, allocations: 108 kB / 0.705 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/1.669, allocations: 1.052 MB / 0.706 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008555/1.678, allocations: 1.294 MB / 0.7073 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/1.682, allocations: 2.455 MB / 0.7097 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005821/1.688, allocations: 311.7 kB / 0.71 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.69, allocations: 328 kB / 0.7103 GB, free: 2.73 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 (700): * Single equations (assignments): 691 * 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 prepare postOptimizeDAE: time 0.00166/1.691, allocations: 0.5129 MB / 0.7108 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007588/1.692, allocations: 276.4 kB / 0.7111 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3852/2.077, allocations: 4.914 MB / 0.7159 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/2.077, allocations: 44.12 kB / 0.7159 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/2.077, allocations: 4.469 kB / 0.7159 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/2.078, allocations: 7.078 kB / 0.7159 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03404/2.112, allocations: 11.32 MB / 0.727 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/2.112, allocations: 8.688 kB / 0.727 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/2.115, allocations: 408.9 kB / 0.7274 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/2.122, allocations: 0.9127 MB / 0.7283 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005855/2.122, allocations: 57.83 kB / 0.7283 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/2.126, allocations: 2.261 MB / 0.7305 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.126, allocations: 14.41 kB / 0.7305 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/2.145, allocations: 7.929 MB / 0.7383 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/2.146, allocations: 329.4 kB / 0.7386 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/2.147, allocations: 54.67 kB / 0.7386 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/2.15, allocations: 129.4 kB / 0.7388 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006002/2.15, allocations: 162.3 kB / 0.7389 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/2.151, allocations: 81.62 kB / 0.739 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003734/2.154, allocations: 1.647 MB / 0.7406 GB, free: 130 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.82e-07/2.154, allocations: 0 / 0.7406 GB, free: 130 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006024/2.16, allocations: 0.9844 MB / 0.7416 GB, free: 130 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.02033/2.181, allocations: 10.54 MB / 0.7519 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.196, allocations: 5.771 MB / 0.7575 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.196, allocations: 0 / 0.7575 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007438/2.203, allocations: 2.507 MB / 0.7599 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/2.207, allocations: 396.2 kB / 0.7603 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/2.241, allocations: 11.03 MB / 0.7711 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007396/2.248, allocations: 3.523 MB / 0.7745 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004848/2.253, allocations: 1.935 MB / 0.7764 GB, free: 111 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/2.253, allocations: 0 / 0.7764 GB, free: 111 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.618/6.871, allocations: 135.7 MB / 0.9089 GB, free: 132.2 MB / 0.5261 GB