Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.SphericalDoublePendulum,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_SphericalDoublePendulum",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.017/2.017, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/2.264, allocations: 51.02 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/2.384, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/2.818, allocations: 88.04 MB / 404 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/2.818, allocations: 74.81 kB / 404.1 MB, free: 4.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 1.143/3.961, allocations: 176 MB / 0.5665 GB, free: 62.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/3.961, allocations: 8 kB / 0.5665 GB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1806/4.142, allocations: 19.94 MB / 0.586 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07232/4.214, allocations: 19.88 MB / 0.6054 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/4.215, allocations: 240 kB / 0.6056 GB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004449/4.219, allocations: 479.6 kB / 0.6061 GB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03033/4.25, allocations: 10.87 MB / 0.6167 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04807/4.298, allocations: 16.71 MB / 0.633 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009024/4.299, allocations: 138.7 kB / 0.6331 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/4.303, allocations: 56 kB / 0.6332 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005353/4.308, allocations: 1.784 MB / 0.6349 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5236/4.832, allocations: 90.68 MB / 0.7235 GB, free: 60.94 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/4.846, allocations: 6.524 MB / 0.7299 GB, free: 57.7 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01151/4.858, allocations: 5.511 MB / 0.7352 GB, free: 55.18 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06993/4.928, allocations: 19.56 MB / 0.7543 GB, free: 44.97 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/4.928, allocations: 70.28 kB / 0.7544 GB, free: 44.91 MB / 426.8 MB Notification: Performance of pre-optimization done (n=316): time 1.198e-05/4.928, allocations: 2.031 kB / 0.7544 GB, free: 44.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=387): time 0.3075/5.236, allocations: 50.33 MB / 0.8036 GB, free: 12.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/5.236, allocations: 478.9 kB / 0.804 GB, free: 11.98 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02325/5.259, allocations: 6.862 MB / 0.8107 GB, free: 6.082 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001583/5.261, allocations: 29.7 kB / 0.8108 GB, free: 6.047 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008464/5.269, allocations: 5.113 MB / 0.8157 GB, free: 1.473 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006367/5.276, allocations: 1.476 MB / 0.8172 GB, free: 152 kB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003366/5.279, allocations: 0 / 0.8172 GB, free: 152 kB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.2399/5.519, allocations: 0.8561 MB / 0.818 GB, free: 111.1 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01523/5.534, allocations: 5.576 MB / 0.8235 GB, free: 111.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02149/5.556, allocations: 11.94 MB / 0.8351 GB, free: 102.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01937/5.575, allocations: 7.996 MB / 0.8429 GB, free: 102.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002832/5.576, allocations: 68.28 kB / 0.843 GB, free: 102.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=1466) (initialization): time 0.1922/5.768, allocations: 29.09 MB / 0.8714 GB, free: 101.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/5.768, allocations: 7.719 kB / 0.8714 GB, free: 101.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1094/5.877, allocations: 19.44 MB / 0.8904 GB, free: 97.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1063/5.984, allocations: 13.14 MB / 0.9032 GB, free: 93.13 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02048/6.004, allocations: 2.677 MB / 0.9058 GB, free: 90.86 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08998/6.094, allocations: 33.15 MB / 0.9382 GB, free: 59.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02317/6.118, allocations: 0.6793 MB / 0.9389 GB, free: 58.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003879/6.122, allocations: 0.6777 MB / 0.9395 GB, free: 58.01 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * Number of states: 0 () * Number of discrete variables: 63 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[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 (1324): * Single equations (assignments): 1300 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00587/6.128, allocations: 0.6653 MB / 0.9402 GB, free: 57.48 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002529/6.13, allocations: 0.75 MB / 0.9409 GB, free: 57.13 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06263/6.193, allocations: 13.37 MB / 0.954 GB, free: 43.76 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2543/6.447, allocations: 11.96 MB / 0.9657 GB, free: 95.28 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-05/6.447, allocations: 16.84 kB / 0.9657 GB, free: 95.28 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/6.447, allocations: 21.23 kB / 0.9657 GB, free: 95.28 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1167/6.564, allocations: 27.49 MB / 0.9925 GB, free: 94.17 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8e-05/6.564, allocations: 5.531 kB / 0.9926 GB, free: 94.17 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009627/6.574, allocations: 0.7526 MB / 0.9933 GB, free: 94.17 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0393/6.613, allocations: 5.353 MB / 0.9985 GB, free: 94.08 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001971/6.615, allocations: 62.36 kB / 0.9986 GB, free: 94.08 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1141/6.729, allocations: 25.7 MB / 1.024 GB, free: 81.64 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004107/6.734, allocations: 4.365 MB / 1.028 GB, free: 77.58 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07822/6.812, allocations: 20.13 MB / 1.048 GB, free: 70.57 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08778/6.9, allocations: 27.09 MB / 1.074 GB, free: 52.21 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00328/6.903, allocations: 0.7826 MB / 1.075 GB, free: 51.44 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004193/6.907, allocations: 27.94 kB / 1.075 GB, free: 51.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/6.919, allocations: 278.8 kB / 1.075 GB, free: 51.25 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002411/6.922, allocations: 200.5 kB / 1.075 GB, free: 51.15 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001562/6.923, allocations: 118.2 kB / 1.075 GB, free: 51.06 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01785/6.941, allocations: 4.767 MB / 1.08 GB, free: 46.94 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.03056/6.972, allocations: 2.573 MB / 1.083 GB, free: 44.37 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 271 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002615/6.974, allocations: 189.1 kB / 1.083 GB, free: 44.23 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.06894/7.043, allocations: 15.08 MB / 1.097 GB, free: 31.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/7.044, allocations: 4 kB / 1.097 GB, free: 31.09 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2268/7.27, allocations: 7.089 MB / 1.104 GB, free: 99.18 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/7.283, allocations: 1.047 MB / 1.105 GB, free: 99.15 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/7.392, allocations: 20.56 MB / 1.126 GB, free: 95.48 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02814/7.42, allocations: 6.978 MB / 1.132 GB, free: 94.54 MB / 426.8 MB Notification: Performance of SimCode: time 1.603e-06/7.42, allocations: 0 / 1.132 GB, free: 94.54 MB / 426.8 MB