Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque3",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.425/2.425, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/2.617, allocations: 57.2 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/2.899, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4241/3.323, allocations: 103.1 MB / 457.1 MB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/3.323, allocations: 78.31 kB / 457.2 MB, free: 34.66 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 1.278/4.601, allocations: 227.7 MB / 0.6688 GB, free: 47.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.906e-05/4.601, allocations: 7.969 kB / 0.6689 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09561/4.697, allocations: 12.2 MB / 0.6808 GB, free: 47.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05412/4.751, allocations: 12.66 MB / 0.6931 GB, free: 45.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009054/4.752, allocations: 397.5 kB / 0.6935 GB, free: 45.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007482/4.759, allocations: 0.7032 MB / 0.6942 GB, free: 45.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06302/4.822, allocations: 17.27 MB / 0.7111 GB, free: 45.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1005/4.923, allocations: 24.97 MB / 0.7355 GB, free: 30.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001324/4.924, allocations: 138 kB / 0.7356 GB, free: 30.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007256/4.932, allocations: 67.28 kB / 0.7357 GB, free: 30.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006281/4.938, allocations: 2.854 MB / 0.7384 GB, free: 28.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6946/5.633, allocations: 112.7 MB / 0.8485 GB, free: 55.14 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02975/5.663, allocations: 11.43 MB / 0.8597 GB, free: 53.89 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01749/5.68, allocations: 8.157 MB / 0.8676 GB, free: 53.83 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07246/5.753, allocations: 23.08 MB / 0.8902 GB, free: 49 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/5.753, allocations: 92.69 kB / 0.8903 GB, free: 48.95 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=524): time 1.041e-05/5.753, allocations: 0 / 0.8903 GB, free: 48.95 MB / 0.4949 GB Notification: Performance of matching and sorting (n=609): time 0.2584/6.011, allocations: 51.63 MB / 0.9407 GB, free: 34.52 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/6.011, allocations: 323.3 kB / 0.941 GB, free: 34.19 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02712/6.039, allocations: 7.184 MB / 0.948 GB, free: 31.67 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002375/6.041, allocations: 27.86 kB / 0.948 GB, free: 31.64 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009145/6.05, allocations: 7.163 MB / 0.955 GB, free: 26.29 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006151/6.057, allocations: 2.158 MB / 0.9571 GB, free: 24.66 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004382/6.061, allocations: 0 / 0.9571 GB, free: 24.66 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.002153/6.063, allocations: 0.9295 MB / 0.958 GB, free: 24.09 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02034/6.084, allocations: 6.348 MB / 0.9642 GB, free: 21.83 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02489/6.109, allocations: 14.14 MB / 0.978 GB, free: 7.809 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02388/6.132, allocations: 9.435 MB / 0.9873 GB, free: 280 kB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003361/6.133, allocations: 76 kB / 0.9873 GB, free: 204 kB / 0.4949 GB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.3092/6.442, allocations: 21.87 MB / 1.009 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/6.442, allocations: 3.812 kB / 1.009 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0013/6.444, allocations: 276.8 kB / 1.009 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/6.468, allocations: 3.107 MB / 1.012 GB, free: 100.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03831/6.506, allocations: 3.472 MB / 1.015 GB, free: 99.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06627/6.573, allocations: 20.67 MB / 1.036 GB, free: 94.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02995/6.603, allocations: 487.6 kB / 1.036 GB, free: 94.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006096/6.609, allocations: 0.835 MB / 1.037 GB, free: 94.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1784): * Single equations (assignments): 1777 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009313/6.618, allocations: 0.8244 MB / 1.038 GB, free: 94.34 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005163/6.623, allocations: 0.8127 MB / 1.038 GB, free: 94.34 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05566/6.679, allocations: 13.55 MB / 1.052 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001988/6.679, allocations: 58.03 kB / 1.052 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.003e-05/6.68, allocations: 17.97 kB / 1.052 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001684/6.68, allocations: 32.22 kB / 1.052 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1023/6.782, allocations: 27.17 MB / 1.078 GB, free: 90.37 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-05/6.782, allocations: 0 / 1.078 GB, free: 90.37 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01446/6.797, allocations: 1.089 MB / 1.079 GB, free: 90.29 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/6.812, allocations: 2.629 MB / 1.082 GB, free: 89.73 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002217/6.814, allocations: 20.59 kB / 1.082 GB, free: 89.72 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05201/6.866, allocations: 19.24 MB / 1.101 GB, free: 79.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/6.866, allocations: 1.406 kB / 1.101 GB, free: 79.8 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07401/6.94, allocations: 21.52 MB / 1.122 GB, free: 64.75 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08704/7.027, allocations: 29.89 MB / 1.151 GB, free: 38.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007691/7.035, allocations: 1.812 MB / 1.153 GB, free: 36.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004393/7.039, allocations: 7.906 kB / 1.153 GB, free: 36.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/7.051, allocations: 307.8 kB / 1.153 GB, free: 36.59 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2412/7.293, allocations: 316.2 kB / 1.153 GB, free: 97.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002971/7.296, allocations: 149.5 kB / 1.153 GB, free: 97.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.02084/7.316, allocations: 4.867 MB / 1.158 GB, free: 97.05 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02814/7.345, allocations: 2.493 MB / 1.161 GB, free: 97.05 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (522): * Single equations (assignments): 515 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003246/7.348, allocations: 183.9 kB / 1.161 GB, free: 96.96 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05647/7.404, allocations: 15.85 MB / 1.176 GB, free: 96.46 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/7.405, allocations: 2.344 kB / 1.176 GB, free: 96.46 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02635/7.431, allocations: 6.667 MB / 1.183 GB, free: 96.01 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/7.441, allocations: 0.8531 MB / 1.184 GB, free: 95.98 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/7.543, allocations: 23.71 MB / 1.207 GB, free: 92.07 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03202/7.575, allocations: 8.999 MB / 1.216 GB, free: 91.05 MB / 0.4949 GB Notification: Performance of SimCode: time 1.914e-06/7.575, allocations: 0 / 1.216 GB, free: 91.05 MB / 0.4949 GB