Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.511/2.511, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.337e-05, allocations: 0 / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4215, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.617, allocations: 103 MB / 0.4999 GB, free: 3.555 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.6173, allocations: 75.95 kB / 0.4999 GB, free: 3.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5997/1.217, allocations: 59.45 MB / 0.558 GB, free: 83.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.217, allocations: 0 / 0.558 GB, free: 83.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001242/1.217, allocations: 44 kB / 0.558 GB, free: 83.15 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009236/1.226, allocations: 2.591 MB / 0.5606 GB, free: 80.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.227, allocations: 8.031 kB / 0.5606 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001775/1.228, allocations: 0.4905 MB / 0.5611 GB, free: 80 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.244, allocations: 1.974 MB / 0.563 GB, free: 78.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.256, allocations: 3.21 MB / 0.5661 GB, free: 74.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.256, allocations: 192.6 kB / 0.5663 GB, free: 74.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/1.258, allocations: 239.9 kB / 0.5665 GB, free: 74.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/1.274, allocations: 6.797 MB / 0.5732 GB, free: 66.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/1.275, allocations: 47.53 kB / 0.5732 GB, free: 66.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008789/1.276, allocations: 123.9 kB / 0.5733 GB, free: 66.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/1.277, allocations: 0.7189 MB / 0.574 GB, free: 65.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/1.293, allocations: 5.622 MB / 0.5795 GB, free: 60.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/1.335, allocations: 33.67 MB / 0.6124 GB, free: 25.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/1.341, allocations: 2.071 MB / 0.6144 GB, free: 23.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/1.343, allocations: 1.031 MB / 0.6154 GB, free: 22.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/1.343, allocations: 170.5 kB / 0.6156 GB, free: 21.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.343, allocations: 46.84 kB / 0.6156 GB, free: 21.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 4.498e-06/1.343, allocations: 0 / 0.6156 GB, free: 21.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.01986/1.363, allocations: 5.114 MB / 0.6206 GB, free: 16.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.363, allocations: 137 kB / 0.6208 GB, free: 16.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.369, allocations: 2.545 MB / 0.6233 GB, free: 13.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/1.369, allocations: 37.7 kB / 0.6233 GB, free: 13.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.371, allocations: 2.093 MB / 0.6253 GB, free: 11.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/1.371, allocations: 458.3 kB / 0.6258 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/1.372, allocations: 88 kB / 0.6259 GB, free: 11.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002882/1.372, allocations: 0.4966 MB / 0.6263 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/1.375, allocations: 1.36 MB / 0.6277 GB, free: 9.398 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/1.38, allocations: 4.171 MB / 0.6317 GB, free: 3.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/1.385, allocations: 2.377 MB / 0.6341 GB, free: 1.414 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/1.386, allocations: 28 kB / 0.6341 GB, free: 1.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01418/1.4, allocations: 4.992 MB / 0.639 GB, free: 12.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/1.4, allocations: 56.03 kB / 0.639 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/1.4, allocations: 100 kB / 0.6391 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/1.4, allocations: 151.9 kB / 0.6393 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/1.407, allocations: 1.088 MB / 0.6403 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002445/1.408, allocations: 199.2 kB / 0.6405 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/1.413, allocations: 291.4 kB / 0.6408 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.414, allocations: 280 kB / 0.6411 GB, free: 10.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.001221/1.415, allocations: 459.5 kB / 0.6415 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006503/1.416, allocations: 236.9 kB / 0.6417 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.42, allocations: 1.21 MB / 0.6429 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/1.42, allocations: 12 kB / 0.6429 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.42, allocations: 0 / 0.6429 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/1.42, allocations: 8.266 kB / 0.6429 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.433, allocations: 4.393 MB / 0.6472 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.434, allocations: 4 kB / 0.6472 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.436, allocations: 211.6 kB / 0.6474 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-05/1.436, allocations: 12 kB / 0.6474 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.436, allocations: 27.95 kB / 0.6475 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/1.436, allocations: 15.92 kB / 0.6475 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.436, allocations: 8.141 kB / 0.6475 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/1.44, allocations: 2.569 MB / 0.65 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/1.441, allocations: 309.8 kB / 0.6503 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006054/1.442, allocations: 27.98 kB / 0.6503 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.444, allocations: 71.91 kB / 0.6504 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.444, allocations: 67.81 kB / 0.6504 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.445, allocations: 36 kB / 0.6505 GB, free: 324 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004737/1.449, allocations: 1.776 MB / 0.6522 GB, free: 14.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.449, allocations: 3.938 kB / 0.6522 GB, free: 14.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005082/1.454, allocations: 0.6405 MB / 0.6528 GB, free: 13.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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.005684/1.46, allocations: 4.364 MB / 0.6571 GB, free: 9.367 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007829/1.468, allocations: 3.019 MB / 0.6601 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.468, allocations: 4 kB / 0.6601 GB, free: 6.363 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.47, allocations: 0.7667 MB / 0.6608 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.472, allocations: 246.2 kB / 0.661 GB, free: 5.355 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.492, allocations: 5.732 MB / 0.6666 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/1.497, allocations: 2.269 MB / 0.6689 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/1.5, allocations: 1.112 MB / 0.6699 GB, free: 12.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/1.5, allocations: 0 / 0.6699 GB, free: 12.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.291/5.792, allocations: 51.43 MB / 0.7202 GB, free: 149.4 MB / 0.5105 GB