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.574/2.574, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.934e-05/4.952e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 54.86 MB / 359.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5817, allocations: 85.41 MB / 445.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5821, allocations: 77.17 kB / 445.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.6889, allocations: 26.73 MB / 472.1 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.689, allocations: 0 / 472.1 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.002e-05/0.6891, allocations: 32 kB / 472.1 MB, free: 488 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.003974/0.6931, allocations: 1.577 MB / 473.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.6932, allocations: 8.031 kB / 473.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007894/0.694, allocations: 346.2 kB / 474 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6953, allocations: 265.2 kB / 474.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.6978, allocations: 0.8178 MB / 475.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.698, allocations: 143.8 kB / 475.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.6985, allocations: 188 kB / 475.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.7058, allocations: 3.32 MB / 478.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.732e-05/0.706, allocations: 19.81 kB / 478.8 MB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/0.7063, allocations: 91.91 kB / 478.9 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006782/0.707, allocations: 328.2 kB / 479.2 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005254/0.7123, allocations: 1.817 MB / 481 MB, free: 7.082 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.7327, allocations: 15.12 MB / 496.1 MB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7329, allocations: 169.1 kB / 496.3 MB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.7329, allocations: 80.14 kB / 496.4 MB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.733, allocations: 75.28 kB / 496.4 MB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.733, allocations: 109.8 kB / 496.5 MB, free: 7.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.555e-06/0.733, allocations: 0 / 496.5 MB, free: 7.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003857/0.7334, allocations: 152.1 kB / 496.7 MB, free: 6.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.7335, allocations: 130.7 kB / 496.8 MB, free: 6.723 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.7366, allocations: 1.43 MB / 498.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.7367, allocations: 25.7 kB / 498.3 MB, free: 5.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.738, allocations: 1.359 MB / 499.6 MB, free: 3.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.7381, allocations: 43.95 kB / 499.7 MB, free: 3.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.7382, allocations: 40 kB / 499.7 MB, free: 3.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.7385, allocations: 446.6 kB / 0.4884 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/0.7394, allocations: 347.9 kB / 0.4888 GB, free: 3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.7416, allocations: 1.876 MB / 0.4906 GB, free: 324 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.7433, allocations: 0.7801 MB / 0.4914 GB, free: 15.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/0.7434, allocations: 16 kB / 0.4914 GB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00547/0.7488, allocations: 2.041 MB / 0.4934 GB, free: 13.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.749, allocations: 28 kB / 0.4934 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.691e-05/0.7491, allocations: 56 kB / 0.4934 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.7492, allocations: 80 kB / 0.4935 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.7517, allocations: 491 kB / 0.494 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.7519, allocations: 108.1 kB / 0.4941 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.7542, allocations: 316.5 kB / 0.4944 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/0.7546, allocations: 140 kB / 0.4945 GB, free: 12.27 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.0004587/0.7551, allocations: 370 kB / 0.4949 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.7555, allocations: 223.4 kB / 0.4951 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.7558, allocations: 228.1 kB / 0.4953 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.33e-05/0.7559, allocations: 180.3 kB / 0.4955 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.7e-05/0.756, allocations: 184.8 kB / 0.4957 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.978e-05/0.7561, allocations: 180.3 kB / 0.4958 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.7589, allocations: 1.477 MB / 0.4973 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.866e-05/0.759, allocations: 105 kB / 0.4974 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.759, allocations: 101 kB / 0.4975 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.7591, allocations: 184.4 kB / 0.4976 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.7592, allocations: 184.3 kB / 0.4978 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-05/0.7593, allocations: 184.2 kB / 0.498 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.181e-05/0.7594, allocations: 176.3 kB / 0.4982 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.7598, allocations: 433.1 kB / 0.4986 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.7603, allocations: 296.4 kB / 0.4989 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.7606, allocations: 184.2 kB / 0.499 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.7611, allocations: 105 kB / 0.4991 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.7612, allocations: 180.3 kB / 0.4993 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.7613, allocations: 104.9 kB / 0.4994 GB, free: 7.039 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002324/0.7636, allocations: 0.9771 MB / 0.5004 GB, free: 6.062 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.7637, allocations: 3.938 kB / 0.5004 GB, free: 6.059 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00248/0.7662, allocations: 430.1 kB / 0.5008 GB, free: 5.637 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.0007674/0.767, allocations: 0.9405 MB / 0.5017 GB, free: 4.664 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.7693, allocations: 0.8708 MB / 0.5025 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7694, allocations: 1.812 kB / 0.5025 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.7694, allocations: 3.938 kB / 0.5025 GB, free: 3.801 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7706, allocations: 0.6569 MB / 0.5032 GB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/0.779, allocations: 2.534 MB / 0.5057 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.7813, allocations: 1.607 MB / 0.5072 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002336/0.7837, allocations: 487 kB / 0.5077 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.785, allocations: 0.6594 MB / 0.5083 GB, free: 13.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/0.785, allocations: 0 / 0.5083 GB, free: 13.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/1.199, allocations: 21.96 MB / 0.5298 GB, free: 131.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/1.199, allocations: 152.3 kB / 0.5299 GB, free: 131.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.499, allocations: 4 kB / 0.5299 GB, free: 131.5 MB / 458.7 MB