Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.439/2.439, allocations: 234.9 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1659/2.605, allocations: 57.21 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/2.891, allocations: 54.85 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/3.391, allocations: 114.4 MB / 468.4 MB, free: 30.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/3.391, allocations: 80.34 kB / 468.4 MB, free: 30.49 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 1.254/4.645, allocations: 235.2 MB / 0.6871 GB, free: 47.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/4.645, allocations: 10.66 kB / 0.6872 GB, free: 47.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07618/4.722, allocations: 10.09 MB / 0.697 GB, free: 46.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05587/4.777, allocations: 14.04 MB / 0.7107 GB, free: 45.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000942/4.778, allocations: 475.8 kB / 0.7112 GB, free: 45.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007583/4.786, allocations: 0.8491 MB / 0.712 GB, free: 45.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06235/4.848, allocations: 19.87 MB / 0.7314 GB, free: 39.42 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08837/4.937, allocations: 28.37 MB / 0.7591 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001528/4.939, allocations: 142.6 kB / 0.7592 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007806/4.946, allocations: 64 kB / 0.7593 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006051/4.952, allocations: 2.7 MB / 0.7619 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.765/5.718, allocations: 128.3 MB / 0.8872 GB, free: 70.46 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/5.738, allocations: 8.455 MB / 0.8955 GB, free: 69.8 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01542/5.753, allocations: 7.162 MB / 0.9025 GB, free: 69.75 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08697/5.841, allocations: 32.09 MB / 0.9338 GB, free: 52.76 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.293e-05/5.841, allocations: 81.75 kB / 0.9339 GB, free: 52.69 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=424): time 9.218e-06/5.841, allocations: 0 / 0.9339 GB, free: 52.69 MB / 0.5262 GB Notification: Performance of matching and sorting (n=554): time 0.4784/6.319, allocations: 89.75 MB / 1.022 GB, free: 7.691 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/6.319, allocations: 345.3 kB / 1.022 GB, free: 7.289 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02438/6.344, allocations: 7.492 MB / 1.029 GB, free: 0.8359 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001824/6.346, allocations: 29.64 kB / 1.029 GB, free: 0.8008 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.2576/6.603, allocations: 8.365 MB / 1.037 GB, free: 134.4 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004972/6.608, allocations: 2.075 MB / 1.039 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004669/6.613, allocations: 0 / 1.039 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.003983/6.617, allocations: 1.003 MB / 1.04 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02758/6.645, allocations: 9.217 MB / 1.049 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03184/6.677, allocations: 18.66 MB / 1.068 GB, free: 120.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03717/6.714, allocations: 12.89 MB / 1.08 GB, free: 120.4 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005209/6.715, allocations: 96.66 kB / 1.08 GB, free: 120.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.1467/6.861, allocations: 33.02 MB / 1.113 GB, free: 115.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/6.861, allocations: 14.34 kB / 1.113 GB, free: 115.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1201/6.981, allocations: 21.59 MB / 1.134 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06916/7.051, allocations: 8.852 MB / 1.142 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03231/7.083, allocations: 3.851 MB / 1.146 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1143/7.197, allocations: 42.03 MB / 1.187 GB, free: 76.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04289/7.24, allocations: 1.007 MB / 1.188 GB, free: 75.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005491/7.246, allocations: 0.9994 MB / 1.189 GB, free: 74.57 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2001): * Single equations (assignments): 1974 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008507/7.254, allocations: 0.9244 MB / 1.19 GB, free: 73.64 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003834/7.258, allocations: 0.8214 MB / 1.191 GB, free: 72.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1349/7.393, allocations: 26.17 MB / 1.216 GB, free: 53.21 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4384/7.832, allocations: 25.17 MB / 1.241 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001211/7.832, allocations: 20.16 kB / 1.241 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002461/7.832, allocations: 27.88 kB / 1.241 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2779/8.11, allocations: 54.78 MB / 1.294 GB, free: 112 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001168/8.11, allocations: 2.844 kB / 1.294 GB, free: 112 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01602/8.126, allocations: 0.9407 MB / 1.295 GB, free: 112 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.107/8.233, allocations: 12.85 MB / 1.308 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003019/8.236, allocations: 93.72 kB / 1.308 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1929/8.429, allocations: 53.3 MB / 1.36 GB, free: 84.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06072/8.49, allocations: 20.06 MB / 1.38 GB, free: 73.06 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4292/8.919, allocations: 38.31 MB / 1.417 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2468/9.166, allocations: 73.75 MB / 1.489 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01476/9.181, allocations: 2.413 MB / 1.491 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006781/9.188, allocations: 38.56 kB / 1.491 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02442/9.212, allocations: 492.6 kB / 1.492 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003835/9.216, allocations: 297.6 kB / 1.492 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002368/9.219, allocations: 177.5 kB / 1.492 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.02031/9.239, allocations: 5.014 MB / 1.497 GB, free: 100.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.03007/9.269, allocations: 4.054 MB / 1.501 GB, free: 100.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002676/9.272, allocations: 205.4 kB / 1.501 GB, free: 100.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.07001/9.342, allocations: 23.01 MB / 1.524 GB, free: 91.66 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/9.342, allocations: 0 / 1.524 GB, free: 91.66 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.03552/9.378, allocations: 10.62 MB / 1.534 GB, free: 86.98 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/9.39, allocations: 1.042 MB / 1.535 GB, free: 86.61 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/9.524, allocations: 31.42 MB / 1.566 GB, free: 61.36 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03774/9.561, allocations: 10.35 MB / 1.576 GB, free: 53.75 MB / 0.5262 GB Notification: Performance of SimCode: time 2.384e-06/9.562, allocations: 4 kB / 1.576 GB, free: 53.74 MB / 0.5262 GB