Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2/2.621, allocations: 57.21 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/2.916, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/3.131, allocations: 89.25 MB / 443.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/3.131, allocations: 79.89 kB / 443.3 MB, free: 3.992 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.8895/4.02, allocations: 141.1 MB / 0.5707 GB, free: 7.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/4.021, allocations: 8 kB / 0.5707 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05449/4.075, allocations: 5.282 MB / 0.5759 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/4.093, allocations: 4.276 MB / 0.5801 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005539/4.094, allocations: 223.9 kB / 0.5803 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004711/4.098, allocations: 380 kB / 0.5807 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03869/4.137, allocations: 12.94 MB / 0.5933 GB, free: 32 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2563/4.393, allocations: 17.07 MB / 0.61 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003945/4.394, allocations: 40.06 kB / 0.61 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005061/4.399, allocations: 21.88 kB / 0.61 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005521/4.405, allocations: 2.279 MB / 0.6123 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1938/4.598, allocations: 59.21 MB / 0.6701 GB, free: 91.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/4.618, allocations: 6.015 MB / 0.6759 GB, free: 89.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007534/4.625, allocations: 2.089 MB / 0.678 GB, free: 89.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/4.639, allocations: 2.287 MB / 0.6802 GB, free: 87.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/4.64, allocations: 58.56 kB / 0.6803 GB, free: 87.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 1.283e-05/4.64, allocations: 3.719 kB / 0.6803 GB, free: 87.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.04882/4.688, allocations: 5.37 MB / 0.6855 GB, free: 85.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/4.689, allocations: 105.1 kB / 0.6856 GB, free: 85.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01749/4.706, allocations: 4.55 MB / 0.6901 GB, free: 84.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008267/4.707, allocations: 32.86 kB / 0.6901 GB, free: 84.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006939/4.714, allocations: 5.042 MB / 0.695 GB, free: 80.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002645/4.717, allocations: 1.245 MB / 0.6962 GB, free: 79.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/4.718, allocations: 0 / 0.6962 GB, free: 79.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001918/4.72, allocations: 0.7524 MB / 0.697 GB, free: 79.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01257/4.733, allocations: 3.193 MB / 0.7001 GB, free: 78.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0217/4.755, allocations: 9.01 MB / 0.7089 GB, free: 69.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02165/4.777, allocations: 5.615 MB / 0.7144 GB, free: 67.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002934/4.777, allocations: 56.41 kB / 0.7144 GB, free: 67.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.0453/4.822, allocations: 11.03 MB / 0.7252 GB, free: 64.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/4.822, allocations: 5.281 kB / 0.7252 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006036/4.823, allocations: 207.5 kB / 0.7254 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/4.824, allocations: 305.7 kB / 0.7257 GB, free: 64.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02294/4.847, allocations: 2.242 MB / 0.7279 GB, free: 64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/4.849, allocations: 411.4 kB / 0.7283 GB, free: 63.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02189/4.871, allocations: 1.109 MB / 0.7294 GB, free: 63.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00367/4.874, allocations: 0.5863 MB / 0.7299 GB, free: 63.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.006493/4.881, allocations: 0.6009 MB / 0.7305 GB, free: 62.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003092/4.884, allocations: 462.7 kB / 0.731 GB, free: 62.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/4.888, allocations: 0.6269 MB / 0.7316 GB, free: 62.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003482/4.889, allocations: 43.67 kB / 0.7316 GB, free: 62.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-05/4.889, allocations: 1.156 kB / 0.7316 GB, free: 62.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/4.889, allocations: 13.55 kB / 0.7316 GB, free: 62.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05707/4.946, allocations: 13.5 MB / 0.7448 GB, free: 52.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/4.946, allocations: 12 kB / 0.7448 GB, free: 52.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004377/4.951, allocations: 426.2 kB / 0.7452 GB, free: 52.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/4.951, allocations: 27.91 kB / 0.7453 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006638/4.951, allocations: 24 kB / 0.7453 GB, free: 52.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.048e-05/4.951, allocations: 27.73 kB / 0.7453 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/4.951, allocations: 23.78 kB / 0.7453 GB, free: 52 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01919/4.971, allocations: 6.691 MB / 0.7519 GB, free: 45.23 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01722/4.988, allocations: 7.128 MB / 0.7588 GB, free: 38.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/4.99, allocations: 0.5481 MB / 0.7594 GB, free: 37.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/4.992, allocations: 19.7 kB / 0.7594 GB, free: 37.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/4.996, allocations: 65.55 kB / 0.7594 GB, free: 37.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/4.997, allocations: 157 kB / 0.7596 GB, free: 37.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000409/4.998, allocations: 107.3 kB / 0.7597 GB, free: 37.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007543/5.005, allocations: 2.997 MB / 0.7626 GB, free: 34.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01957/5.025, allocations: 1.826 MB / 0.7644 GB, free: 32.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.001424/5.027, allocations: 167.1 kB / 0.7646 GB, free: 32.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01998/5.047, allocations: 7.377 MB / 0.7718 GB, free: 25.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/5.047, allocations: 1.188 kB / 0.7718 GB, free: 25.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/5.051, allocations: 2.174 MB / 0.7739 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/5.055, allocations: 354.5 kB / 0.7742 GB, free: 23.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04026/5.095, allocations: 13.19 MB / 0.7871 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01947/5.115, allocations: 6.027 MB / 0.793 GB, free: 6.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.896e-06/5.115, allocations: 0 / 0.793 GB, free: 6.98 MB / 458.7 MB