Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 270 MB / 282.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.745e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4232, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.5996, allocations: 95.2 MB / 0.4923 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5999, allocations: 79.95 kB / 0.4924 GB, free: 11.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5018/1.102, allocations: 35.64 MB / 0.5272 GB, free: 101.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.102, allocations: 0 / 0.5272 GB, free: 101.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.458e-05/1.102, allocations: 35.97 kB / 0.5272 GB, free: 101.6 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.004275/1.106, allocations: 1.658 MB / 0.5288 GB, free: 100.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.106, allocations: 10.25 kB / 0.5288 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/1.107, allocations: 375.5 kB / 0.5292 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.119, allocations: 1.656 MB / 0.5308 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/1.122, allocations: 1.041 MB / 0.5318 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.123, allocations: 133.6 kB / 0.532 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007623/1.123, allocations: 167.1 kB / 0.5321 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009401/1.133, allocations: 4.898 MB / 0.5369 GB, free: 98.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/1.133, allocations: 30.84 kB / 0.5369 GB, free: 98.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004008/1.133, allocations: 95.78 kB / 0.537 GB, free: 98.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008525/1.134, allocations: 0.5076 MB / 0.5375 GB, free: 98.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009012/1.143, allocations: 3.915 MB / 0.5413 GB, free: 96.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/1.17, allocations: 24.67 MB / 0.5654 GB, free: 72.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.172, allocations: 1.171 MB / 0.5666 GB, free: 71.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/1.172, allocations: 334.5 kB / 0.5669 GB, free: 71.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/1.172, allocations: 7.938 kB / 0.5669 GB, free: 71.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.172, allocations: 42.5 kB / 0.567 GB, free: 71.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 4.589e-06/1.173, allocations: 4 kB / 0.567 GB, free: 71.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.001739/1.174, allocations: 0.7551 MB / 0.5677 GB, free: 70.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.174, allocations: 106.8 kB / 0.5678 GB, free: 70.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/1.178, allocations: 1.938 MB / 0.5697 GB, free: 68.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.178, allocations: 29.7 kB / 0.5697 GB, free: 68.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.18, allocations: 1.65 MB / 0.5713 GB, free: 66.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/1.18, allocations: 264.8 kB / 0.5716 GB, free: 66.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/1.18, allocations: 64 kB / 0.5716 GB, free: 66.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/1.18, allocations: 462 kB / 0.5721 GB, free: 65.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.182, allocations: 0.8616 MB / 0.5729 GB, free: 64.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/1.185, allocations: 3.102 MB / 0.5759 GB, free: 60.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/1.189, allocations: 1.683 MB / 0.5776 GB, free: 59.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/1.189, allocations: 24 kB / 0.5776 GB, free: 59.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00901/1.198, allocations: 3.511 MB / 0.581 GB, free: 55.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/1.198, allocations: 36 kB / 0.5811 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.379e-05/1.198, allocations: 84 kB / 0.5812 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/1.198, allocations: 116 kB / 0.5813 GB, free: 55.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.202, allocations: 0.7563 MB / 0.582 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001246/1.202, allocations: 163.4 kB / 0.5822 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/1.206, allocations: 498.7 kB / 0.5826 GB, free: 53.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004727/1.206, allocations: 212 kB / 0.5828 GB, free: 53.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * 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.0004663/1.206, allocations: 367 kB / 0.5832 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/1.207, allocations: 165.8 kB / 0.5833 GB, free: 53.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/1.207, allocations: 199.9 kB / 0.5835 GB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.207, allocations: 8 kB / 0.5835 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.207, allocations: 4.234 kB / 0.5836 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.207, allocations: 7.984 kB / 0.5836 GB, free: 52.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/1.212, allocations: 2.011 MB / 0.5855 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.212, allocations: 7.891 kB / 0.5855 GB, free: 50.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/1.213, allocations: 59.95 kB / 0.5856 GB, free: 50.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.213, allocations: 4 kB / 0.5856 GB, free: 50.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/1.213, allocations: 8 kB / 0.5856 GB, free: 50.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.213, allocations: 7.938 kB / 0.5856 GB, free: 50.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/1.213, allocations: 3.938 kB / 0.5856 GB, free: 50.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.214, allocations: 1.049 MB / 0.5866 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/1.215, allocations: 238.7 kB / 0.5869 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.215, allocations: 8 kB / 0.5869 GB, free: 49.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/1.216, allocations: 23.97 kB / 0.5869 GB, free: 49.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/1.216, allocations: 23.97 kB / 0.5869 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.216, allocations: 31.75 kB / 0.5869 GB, free: 49.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002482/1.218, allocations: 1.333 MB / 0.5882 GB, free: 47.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.218, allocations: 0 / 0.5882 GB, free: 47.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003185/1.222, allocations: 0.5027 MB / 0.5887 GB, free: 47.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.001882/1.224, allocations: 1.792 MB / 0.5905 GB, free: 45.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00412/1.228, allocations: 1.895 MB / 0.5923 GB, free: 43.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.228, allocations: 4 kB / 0.5923 GB, free: 43.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/1.228, allocations: 331.8 kB / 0.5927 GB, free: 43.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.23, allocations: 153.9 kB / 0.5928 GB, free: 43.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.24, allocations: 3.846 MB / 0.5966 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.242, allocations: 1.837 MB / 0.5984 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.243, allocations: 0.757 MB / 0.5991 GB, free: 36.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/1.243, allocations: 0 / 0.5991 GB, free: 36.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.293/4.536, allocations: 35.9 MB / 0.6342 GB, free: 0.9609 MB / 442.7 MB