Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 270 MB / 282.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.722e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4283, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.6082, allocations: 93.69 MB / 0.4908 GB, free: 12.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.6085, allocations: 67.97 kB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7692/1.378, allocations: 42.3 MB / 0.5322 GB, free: 101.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.378, allocations: 2.844 kB / 0.5322 GB, free: 101.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001129/1.378, allocations: 31.5 kB / 0.5322 GB, free: 101.4 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.01012/1.388, allocations: 1.883 MB / 0.5341 GB, free: 100.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.388, allocations: 11.03 kB / 0.5341 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002287/1.39, allocations: 405.2 kB / 0.5345 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/1.41, allocations: 1.698 MB / 0.5361 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/1.415, allocations: 1.111 MB / 0.5372 GB, free: 99.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/1.415, allocations: 144.4 kB / 0.5374 GB, free: 99.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/1.417, allocations: 185.2 kB / 0.5375 GB, free: 99.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/1.433, allocations: 5.465 MB / 0.5429 GB, free: 96.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/1.434, allocations: 31.69 kB / 0.5429 GB, free: 96.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008314/1.434, allocations: 107 kB / 0.543 GB, free: 96.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/1.436, allocations: 0.5728 MB / 0.5436 GB, free: 95.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/1.452, allocations: 4.349 MB / 0.5478 GB, free: 91.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/1.483, allocations: 27.92 MB / 0.5751 GB, free: 63.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/1.485, allocations: 1.239 MB / 0.5763 GB, free: 61.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/1.486, allocations: 359.4 kB / 0.5766 GB, free: 61.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003266/1.489, allocations: 1.455 MB / 0.578 GB, free: 59.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.489, allocations: 38.5 kB / 0.5781 GB, free: 59.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.328e-06/1.489, allocations: 0 / 0.5781 GB, free: 59.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.002546/1.492, allocations: 0.8272 MB / 0.5789 GB, free: 59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/1.492, allocations: 136.5 kB / 0.579 GB, free: 58.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/1.496, allocations: 2.307 MB / 0.5813 GB, free: 56.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.497, allocations: 29.7 kB / 0.5813 GB, free: 56.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.498, allocations: 1.845 MB / 0.5831 GB, free: 54.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/1.499, allocations: 264.3 kB / 0.5834 GB, free: 54.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/1.499, allocations: 76 kB / 0.5834 GB, free: 54.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003761/1.5, allocations: 479.2 kB / 0.5839 GB, free: 53.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/1.504, allocations: 1.058 MB / 0.5849 GB, free: 52.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005643/1.509, allocations: 3.707 MB / 0.5885 GB, free: 47.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/1.513, allocations: 2.002 MB / 0.5905 GB, free: 45.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-05/1.513, allocations: 28 kB / 0.5905 GB, free: 45.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01013/1.524, allocations: 4.226 MB / 0.5946 GB, free: 41.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/1.524, allocations: 52.06 kB / 0.5947 GB, free: 41.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.792e-05/1.524, allocations: 99.98 kB / 0.5948 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/1.524, allocations: 140 kB / 0.5949 GB, free: 41.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004839/1.529, allocations: 0.9006 MB / 0.5958 GB, free: 40.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/1.529, allocations: 191.2 kB / 0.596 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/1.533, allocations: 0.5605 MB / 0.5965 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000817/1.534, allocations: 284 kB / 0.5968 GB, free: 39.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 475 * Array equations: 3 * 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.0006279/1.535, allocations: 416.3 kB / 0.5972 GB, free: 38.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/1.535, allocations: 190 kB / 0.5974 GB, free: 38.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/1.536, allocations: 217.7 kB / 0.5976 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/1.536, allocations: 8 kB / 0.5976 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.536, allocations: 0 / 0.5976 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.536, allocations: 4.094 kB / 0.5976 GB, free: 38.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/1.542, allocations: 1.925 MB / 0.5995 GB, free: 36.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.542, allocations: 7.922 kB / 0.5995 GB, free: 36.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/1.542, allocations: 59.91 kB / 0.5995 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/1.542, allocations: 4 kB / 0.5995 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/1.542, allocations: 8 kB / 0.5996 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.542, allocations: 0 / 0.5996 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.542, allocations: 4 kB / 0.5996 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.544, allocations: 1.116 MB / 0.6006 GB, free: 35.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006693/1.545, allocations: 286.5 kB / 0.6009 GB, free: 34.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/1.545, allocations: 15.98 kB / 0.6009 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/1.546, allocations: 19.98 kB / 0.601 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.546, allocations: 27.91 kB / 0.601 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/1.546, allocations: 16 kB / 0.601 GB, free: 34.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003526/1.55, allocations: 1.574 MB / 0.6025 GB, free: 33.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.55, allocations: 0 / 0.6025 GB, free: 33.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004105/1.554, allocations: 0.5603 MB / 0.6031 GB, free: 32.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 3 * 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.002109/1.556, allocations: 2.031 MB / 0.6051 GB, free: 30.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004963/1.561, allocations: 2.187 MB / 0.6072 GB, free: 28.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.561, allocations: 0 / 0.6072 GB, free: 28.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/1.562, allocations: 309.9 kB / 0.6075 GB, free: 28.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.563, allocations: 154.2 kB / 0.6076 GB, free: 27.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.576, allocations: 4.088 MB / 0.6116 GB, free: 23.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/1.579, allocations: 1.9 MB / 0.6135 GB, free: 21.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.581, allocations: 0.8468 MB / 0.6143 GB, free: 20.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.153e-06/1.581, allocations: 0 / 0.6143 GB, free: 20.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.327/4.908, allocations: 39.98 MB / 0.6534 GB, free: 12.98 MB / 474.7 MB