Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.486e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4042, allocations: 54.85 MB / 359.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5665, allocations: 85.42 MB / 445.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5668, allocations: 71.97 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.6792, allocations: 26.73 MB / 472.1 MB, free: 396 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6793, allocations: 0 / 472.1 MB, free: 396 kB / 394.7 MB Notification: Performance of Transformations before backend: time 7.953e-05/0.6794, allocations: 32 kB / 472.1 MB, free: 364 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.004553/0.6839, allocations: 1.581 MB / 473.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.684, allocations: 16.03 kB / 473.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.6851, allocations: 338.3 kB / 474.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.6864, allocations: 261.2 kB / 474.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.689, allocations: 0.8178 MB / 475.1 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.6893, allocations: 143.8 kB / 475.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.6898, allocations: 188 kB / 475.5 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.6978, allocations: 3.301 MB / 478.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.6979, allocations: 19.81 kB / 478.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.6982, allocations: 91.91 kB / 478.9 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006623/0.6989, allocations: 324.2 kB / 479.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005354/0.7043, allocations: 1.753 MB / 480.9 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/0.7256, allocations: 15.12 MB / 496.1 MB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.7258, allocations: 169.1 kB / 496.2 MB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.7258, allocations: 80.14 kB / 496.3 MB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.7259, allocations: 83.22 kB / 496.4 MB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.7259, allocations: 109.8 kB / 496.5 MB, free: 6.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.976e-06/0.7259, allocations: 0 / 496.5 MB, free: 6.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.000384/0.7263, allocations: 148.1 kB / 496.6 MB, free: 6.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.7264, allocations: 126.7 kB / 496.8 MB, free: 6.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.7296, allocations: 1.422 MB / 498.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.7296, allocations: 25.7 kB / 498.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.731, allocations: 1.359 MB / 499.6 MB, free: 3.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.7311, allocations: 43.95 kB / 499.6 MB, free: 3.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.7312, allocations: 40 kB / 499.7 MB, free: 3.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.7316, allocations: 442.6 kB / 0.4884 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.7324, allocations: 347.9 kB / 0.4887 GB, free: 2.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.7346, allocations: 1.872 MB / 0.4905 GB, free: 304 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.7364, allocations: 0.7684 MB / 0.4913 GB, free: 15.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-05/0.7365, allocations: 16 kB / 0.4913 GB, free: 15.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005182/0.7417, allocations: 1.897 MB / 0.4931 GB, free: 13.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.7418, allocations: 28 kB / 0.4932 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-05/0.7419, allocations: 60 kB / 0.4932 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.7421, allocations: 80 kB / 0.4933 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.7447, allocations: 479.1 kB / 0.4938 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/0.7449, allocations: 111.5 kB / 0.4939 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.7472, allocations: 312.6 kB / 0.4942 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/0.7476, allocations: 136 kB / 0.4943 GB, free: 12.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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 (257): * Single equations (assignments): 257 * 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.000414/0.7481, allocations: 376.6 kB / 0.4947 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.7483, allocations: 223.4 kB / 0.4949 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.7487, allocations: 232 kB / 0.4951 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/0.7488, allocations: 176.3 kB / 0.4953 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.985e-05/0.7488, allocations: 180.9 kB / 0.4954 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.7489, allocations: 184.2 kB / 0.4956 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.7516, allocations: 1.473 MB / 0.497 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.7517, allocations: 109 kB / 0.4971 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.7517, allocations: 104.9 kB / 0.4972 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.646e-05/0.7518, allocations: 184.4 kB / 0.4974 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.7519, allocations: 180.3 kB / 0.4976 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-05/0.752, allocations: 188.2 kB / 0.4978 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.455e-05/0.752, allocations: 176.3 kB / 0.4979 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.7524, allocations: 429.1 kB / 0.4984 GB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.7529, allocations: 300.5 kB / 0.4986 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.7532, allocations: 180.3 kB / 0.4988 GB, free: 7.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.7537, allocations: 108.9 kB / 0.4989 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.7538, allocations: 176.3 kB / 0.4991 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.7538, allocations: 105 kB / 0.4992 GB, free: 7.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002217/0.7561, allocations: 0.9771 MB / 0.5001 GB, free: 6.211 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7561, allocations: 0 / 0.5001 GB, free: 6.211 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002593/0.7587, allocations: 438 kB / 0.5006 GB, free: 5.781 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.0007521/0.7595, allocations: 0.9361 MB / 0.5015 GB, free: 4.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.7617, allocations: 0.8092 MB / 0.5023 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7617, allocations: 0 / 0.5023 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.7617, allocations: 0 / 0.5023 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7628, allocations: 0.6381 MB / 0.5029 GB, free: 3.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.7713, allocations: 2.538 MB / 0.5054 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.7737, allocations: 1.607 MB / 0.5069 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002381/0.7762, allocations: 487 kB / 0.5074 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.7775, allocations: 0.6555 MB / 0.508 GB, free: 14 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7775, allocations: 0 / 0.508 GB, free: 14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3954/1.173, allocations: 21.82 MB / 0.5293 GB, free: 131.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/1.173, allocations: 147.7 kB / 0.5295 GB, free: 130.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/4.43, allocations: 0 / 0.5295 GB, free: 130.8 MB / 458.7 MB