Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.314e-05, allocations: 0 / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.5811, allocations: 94.55 MB / 0.4917 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5814, allocations: 75.95 kB / 0.4917 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5377/1.119, allocations: 28.04 MB / 0.5191 GB, free: 99.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.119, allocations: 3.188 kB / 0.5191 GB, free: 99.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001121/1.119, allocations: 34.34 kB / 0.5192 GB, free: 99.11 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.004231/1.123, allocations: 1.59 MB / 0.5207 GB, free: 98.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.124, allocations: 9.422 kB / 0.5207 GB, free: 98.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000837/1.124, allocations: 347.7 kB / 0.5211 GB, free: 98.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.126, allocations: 263.1 kB / 0.5213 GB, free: 98.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/1.128, allocations: 0.8366 MB / 0.5221 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.128, allocations: 145.6 kB / 0.5223 GB, free: 98.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/1.129, allocations: 187.8 kB / 0.5224 GB, free: 98.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/1.136, allocations: 3.314 MB / 0.5257 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/1.136, allocations: 21.89 kB / 0.5257 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/1.136, allocations: 91.88 kB / 0.5258 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005248/1.137, allocations: 326.5 kB / 0.5261 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/1.141, allocations: 1.764 MB / 0.5278 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/1.155, allocations: 15.21 MB / 0.5427 GB, free: 85.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/1.155, allocations: 169 kB / 0.5428 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/1.155, allocations: 80.14 kB / 0.5429 GB, free: 85.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/1.155, allocations: 75.28 kB / 0.543 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.155, allocations: 116.5 kB / 0.5431 GB, free: 85.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 3.577e-06/1.155, allocations: 0 / 0.5431 GB, free: 85.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002883/1.156, allocations: 153.5 kB / 0.5432 GB, free: 85.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.156, allocations: 126.7 kB / 0.5434 GB, free: 85.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/1.158, allocations: 1.458 MB / 0.5448 GB, free: 84.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/1.158, allocations: 28.3 kB / 0.5448 GB, free: 84.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/1.159, allocations: 1.374 MB / 0.5462 GB, free: 83.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/1.159, allocations: 49.56 kB / 0.5462 GB, free: 83.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/1.159, allocations: 41.16 kB / 0.5462 GB, free: 83.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/1.159, allocations: 396.2 kB / 0.5466 GB, free: 82.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/1.16, allocations: 352.3 kB / 0.547 GB, free: 82.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.161, allocations: 1.894 MB / 0.5488 GB, free: 80.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.162, allocations: 0.7775 MB / 0.5496 GB, free: 80.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-05/1.162, allocations: 16.91 kB / 0.5496 GB, free: 80.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003657/1.166, allocations: 1.863 MB / 0.5514 GB, free: 79.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/1.166, allocations: 34.69 kB / 0.5514 GB, free: 79.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/1.166, allocations: 58.16 kB / 0.5515 GB, free: 79.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/1.166, allocations: 82.34 kB / 0.5516 GB, free: 79.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/1.168, allocations: 490.6 kB / 0.552 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.971e-05/1.169, allocations: 113 kB / 0.5521 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/1.171, allocations: 320.7 kB / 0.5524 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/1.172, allocations: 138.8 kB / 0.5526 GB, free: 79.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0004303/1.172, allocations: 374.2 kB / 0.5529 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/1.172, allocations: 224.2 kB / 0.5532 GB, free: 78.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/1.173, allocations: 230.2 kB / 0.5534 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/1.173, allocations: 176.3 kB / 0.5535 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-05/1.173, allocations: 188.7 kB / 0.5537 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/1.173, allocations: 187.9 kB / 0.5539 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/1.176, allocations: 1.475 MB / 0.5553 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.176, allocations: 104.9 kB / 0.5554 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/1.176, allocations: 101 kB / 0.5555 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.514e-05/1.176, allocations: 183.7 kB / 0.5557 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/1.176, allocations: 187.6 kB / 0.5559 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.884e-05/1.176, allocations: 176.3 kB / 0.5561 GB, free: 76.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.022e-05/1.176, allocations: 176.3 kB / 0.5562 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/1.177, allocations: 435.3 kB / 0.5566 GB, free: 76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/1.177, allocations: 295.6 kB / 0.5569 GB, free: 75.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.177, allocations: 187.4 kB / 0.5571 GB, free: 75.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/1.178, allocations: 105 kB / 0.5572 GB, free: 75.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/1.178, allocations: 183.4 kB / 0.5574 GB, free: 75.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/1.178, allocations: 108.9 kB / 0.5575 GB, free: 75.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002593/1.181, allocations: 0.9916 MB / 0.5584 GB, free: 74.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.181, allocations: 0 / 0.5584 GB, free: 74.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003583/1.185, allocations: 442.1 kB / 0.5589 GB, free: 74.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006542/1.185, allocations: 0.9415 MB / 0.5598 GB, free: 73.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002574/1.188, allocations: 0.8117 MB / 0.5606 GB, free: 72.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.188, allocations: 4.062 kB / 0.5606 GB, free: 72.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/1.188, allocations: 0 / 0.5606 GB, free: 72.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.189, allocations: 0.6421 MB / 0.5612 GB, free: 71.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.201, allocations: 2.742 MB / 0.5639 GB, free: 69.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.202, allocations: 1.616 MB / 0.5655 GB, free: 68.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009408/1.203, allocations: 0.6852 MB / 0.5661 GB, free: 67.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.203, allocations: 0 / 0.5661 GB, free: 67.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.921/4.125, allocations: 25.89 MB / 0.5914 GB, free: 44.03 MB / 442.7 MB