Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.016e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4178, allocations: 61.86 MB / 408.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.6124, allocations: 103.4 MB / 0.5003 GB, free: 3.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.6127, allocations: 75.95 kB / 0.5004 GB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6882/1.301, allocations: 86.4 MB / 0.5848 GB, free: 55.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.301, allocations: 0 / 0.5848 GB, free: 55.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001752/1.301, allocations: 68 kB / 0.5848 GB, free: 55.46 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01305/1.314, allocations: 3.619 MB / 0.5884 GB, free: 51.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.314, allocations: 8.031 kB / 0.5884 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003305/1.318, allocations: 0.7546 MB / 0.5891 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02729/1.345, allocations: 3.625 MB / 0.5927 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.362, allocations: 4.76 MB / 0.5973 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/1.362, allocations: 287.4 kB / 0.5976 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/1.365, allocations: 379.8 kB / 0.5979 GB, free: 41.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02946/1.394, allocations: 9.959 MB / 0.6077 GB, free: 31.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/1.395, allocations: 31.69 kB / 0.6077 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002343/1.397, allocations: 167.9 kB / 0.6079 GB, free: 31.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/1.4, allocations: 1.16 MB / 0.609 GB, free: 30.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0266/1.426, allocations: 9.645 MB / 0.6184 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07166/1.498, allocations: 35.69 MB / 0.6533 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/1.511, allocations: 4.247 MB / 0.6574 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005127/1.516, allocations: 2.124 MB / 0.6595 GB, free: 9.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/1.518, allocations: 1.315 MB / 0.6608 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/1.518, allocations: 56.55 kB / 0.6608 GB, free: 7.656 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 1.008e-05/1.518, allocations: 0 / 0.6608 GB, free: 7.656 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.06066/1.579, allocations: 14.02 MB / 0.6745 GB, free: 9.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001639/1.58, allocations: 1.542 MB / 0.676 GB, free: 7.867 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/1.586, allocations: 2.392 MB / 0.6784 GB, free: 5.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000603/1.587, allocations: 53.7 kB / 0.6784 GB, free: 5.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.589, allocations: 2.665 MB / 0.681 GB, free: 2.695 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001634/1.591, allocations: 0.9289 MB / 0.6819 GB, free: 1.754 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006159/1.592, allocations: 108 kB / 0.682 GB, free: 1.648 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004931/1.592, allocations: 0.5464 MB / 0.6826 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006178/1.598, allocations: 2.33 MB / 0.6848 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00922/1.608, allocations: 5.245 MB / 0.69 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/1.616, allocations: 3.546 MB / 0.6934 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.866e-05/1.617, allocations: 32 kB / 0.6934 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.03726/1.654, allocations: 8.85 MB / 0.7021 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/1.654, allocations: 52.22 kB / 0.7021 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02407/1.678, allocations: 4.465 MB / 0.7065 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/1.698, allocations: 2.055 MB / 0.7085 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00846/1.707, allocations: 1.252 MB / 0.7097 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3956/2.102, allocations: 4.934 MB / 0.7145 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/2.109, allocations: 383.4 kB / 0.7149 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/2.111, allocations: 316.1 kB / 0.7152 GB, free: 133.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (669): * Single equations (assignments): 657 * Array equations: 8 * 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.00197/2.113, allocations: 0.5 MB / 0.7157 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/2.114, allocations: 273.1 kB / 0.716 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/2.131, allocations: 5.233 MB / 0.7211 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01572/2.147, allocations: 4.508 MB / 0.7255 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/2.147, allocations: 0 / 0.7255 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.118e-05/2.147, allocations: 10.44 kB / 0.7255 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/2.189, allocations: 14.3 MB / 0.7394 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/2.189, allocations: 7.531 kB / 0.7395 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/2.193, allocations: 404.9 kB / 0.7398 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007866/2.201, allocations: 1.187 MB / 0.741 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006451/2.202, allocations: 62.03 kB / 0.7411 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00703/2.209, allocations: 4.435 MB / 0.7454 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/2.21, allocations: 1.462 MB / 0.7468 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02313/2.233, allocations: 8.616 MB / 0.7552 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/2.235, allocations: 336 kB / 0.7556 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/2.236, allocations: 53.86 kB / 0.7556 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004656/2.241, allocations: 190.1 kB / 0.7558 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009895/2.242, allocations: 167.3 kB / 0.7559 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004142/2.242, allocations: 79.09 kB / 0.756 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003837/2.246, allocations: 1.629 MB / 0.7576 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.004e-06/2.246, allocations: 0 / 0.7576 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006876/2.253, allocations: 1.047 MB / 0.7586 GB, free: 122.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0229/2.276, allocations: 11.79 MB / 0.7701 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.292, allocations: 6.1 MB / 0.7761 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/2.292, allocations: 0 / 0.7761 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008043/2.3, allocations: 2.79 MB / 0.7788 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/2.303, allocations: 349.6 kB / 0.7792 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/2.334, allocations: 10.73 MB / 0.7896 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006881/2.341, allocations: 3.334 MB / 0.7929 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004664/2.346, allocations: 1.782 MB / 0.7946 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.894e-06/2.346, allocations: 4 kB / 0.7946 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.746/7.092, allocations: 145.7 MB / 0.9369 GB, free: 163.3 MB / 0.5417 GB