Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.876e-05, allocations: 7.984 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3976, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.5888, allocations: 106.5 MB / 0.5034 GB, free: 15.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5892, allocations: 79.95 kB / 0.5034 GB, free: 15.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.653/1.242, allocations: 78.9 MB / 0.5805 GB, free: 60.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.242, allocations: 0 / 0.5805 GB, free: 60.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001647/1.242, allocations: 72 kB / 0.5806 GB, free: 60.06 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01171/1.254, allocations: 3.483 MB / 0.584 GB, free: 56.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.254, allocations: 8.031 kB / 0.584 GB, free: 56.51 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003515/1.258, allocations: 0.7873 MB / 0.5847 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02422/1.282, allocations: 3.352 MB / 0.588 GB, free: 52.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007758/1.29, allocations: 2.302 MB / 0.5903 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/1.29, allocations: 299.8 kB / 0.5905 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/1.293, allocations: 391.9 kB / 0.5909 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02714/1.32, allocations: 10.35 MB / 0.601 GB, free: 38.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/1.32, allocations: 47.56 kB / 0.6011 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/1.322, allocations: 191.9 kB / 0.6013 GB, free: 37.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/1.325, allocations: 1.1 MB / 0.6023 GB, free: 36.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.355, allocations: 8.859 MB / 0.611 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0869/1.442, allocations: 46.22 MB / 0.6561 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00921/1.451, allocations: 3.33 MB / 0.6594 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/1.454, allocations: 1.222 MB / 0.6606 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.469, allocations: 5.035 MB / 0.6655 GB, free: 2.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/1.469, allocations: 47.12 kB / 0.6655 GB, free: 1.988 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.46e-06/1.469, allocations: 0 / 0.6655 GB, free: 1.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.01213/1.481, allocations: 2.51 MB / 0.668 GB, free: 15.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.481, allocations: 174.8 kB / 0.6682 GB, free: 15.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/1.495, allocations: 3.402 MB / 0.6715 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/1.495, allocations: 45.64 kB / 0.6715 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00381/1.499, allocations: 3.222 MB / 0.6747 GB, free: 8.547 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.5, allocations: 0.6059 MB / 0.6753 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008073/1.501, allocations: 128 kB / 0.6754 GB, free: 7.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006894/1.501, allocations: 0.5873 MB / 0.676 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/1.507, allocations: 1.867 MB / 0.6778 GB, free: 5.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009783/1.517, allocations: 5.974 MB / 0.6836 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008725/1.526, allocations: 3.424 MB / 0.687 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/1.526, allocations: 44 kB / 0.687 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.02096/1.547, allocations: 7.059 MB / 0.6939 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/1.547, allocations: 68.97 kB / 0.694 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002401/1.547, allocations: 148 kB / 0.6941 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/1.548, allocations: 220 kB / 0.6943 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009113/1.557, allocations: 1.466 MB / 0.6957 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003642/1.557, allocations: 290.9 kB / 0.696 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006998/1.564, allocations: 0.9124 MB / 0.6969 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.566, allocations: 396 kB / 0.6973 GB, free: 15.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (794): * Single equations (assignments): 788 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001735/1.567, allocations: 0.5903 MB / 0.6979 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/1.568, allocations: 307.9 kB / 0.6982 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/1.57, allocations: 419.4 kB / 0.6986 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/1.57, allocations: 35.98 kB / 0.6986 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/1.57, allocations: 7.781 kB / 0.6986 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.57, allocations: 3.984 kB / 0.6986 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/1.587, allocations: 5.572 MB / 0.704 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.587, allocations: 4 kB / 0.704 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/1.589, allocations: 211.7 kB / 0.7042 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/1.589, allocations: 8.656 kB / 0.7043 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.589, allocations: 32 kB / 0.7043 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/1.589, allocations: 8 kB / 0.7043 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.589, allocations: 11.94 kB / 0.7043 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/1.594, allocations: 3.096 MB / 0.7073 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.596, allocations: 392.5 kB / 0.7077 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/1.596, allocations: 23.98 kB / 0.7077 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.598, allocations: 67.92 kB / 0.7078 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.598, allocations: 84.31 kB / 0.7079 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.598, allocations: 44 kB / 0.7079 GB, free: 4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006246/1.605, allocations: 2.307 MB / 0.7102 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.605, allocations: 0 / 0.7102 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007436/1.612, allocations: 1.106 MB / 0.7112 GB, free: 0.5977 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3969/2.009, allocations: 5.068 MB / 0.7162 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0137/2.023, allocations: 4.122 MB / 0.7202 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/2.023, allocations: 3.969 kB / 0.7202 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002995/2.026, allocations: 0.9307 MB / 0.7211 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/2.029, allocations: 326.7 kB / 0.7214 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/2.066, allocations: 8.78 MB / 0.73 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00915/2.075, allocations: 3.298 MB / 0.7332 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005597/2.081, allocations: 1.754 MB / 0.735 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.667e-06/2.081, allocations: 0 / 0.735 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.867/5.948, allocations: 75.03 MB / 0.8082 GB, free: 85.58 MB / 0.5105 GB