Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque2",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.385/2.385, allocations: 235 MB / 241.9 MB, free: 9.719 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/2.568, allocations: 57.2 MB / 299.1 MB, free: 0.9141 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/2.894, allocations: 54.84 MB / 354 MB, free: 1.555 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/3.152, allocations: 104.6 MB / 458.5 MB, free: 3.488 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/3.153, allocations: 76.92 kB / 458.6 MB, free: 3.414 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 1.54/4.692, allocations: 244.8 MB / 0.6869 GB, free: 1.016 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/4.693, allocations: 8 kB / 0.6869 GB, free: 1.008 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5247/5.217, allocations: 12.38 MB / 0.699 GB, free: 82.69 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05969/5.277, allocations: 13.41 MB / 0.7121 GB, free: 82.09 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/5.278, allocations: 417.9 kB / 0.7125 GB, free: 82.09 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007665/5.286, allocations: 0.7508 MB / 0.7132 GB, free: 82.08 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06357/5.35, allocations: 18.09 MB / 0.7309 GB, free: 82.02 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09558/5.445, allocations: 26.56 MB / 0.7569 GB, free: 76.01 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001465/5.447, allocations: 147.6 kB / 0.757 GB, free: 76 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008667/5.456, allocations: 69.91 kB / 0.7571 GB, free: 76 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008093/5.464, allocations: 3.052 MB / 0.76 GB, free: 75.96 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.567/6.031, allocations: 124 MB / 0.8812 GB, free: 30.44 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02466/6.056, allocations: 11.48 MB / 0.8924 GB, free: 29.14 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0165/6.072, allocations: 8.18 MB / 0.9004 GB, free: 29.07 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06769/6.14, allocations: 22.25 MB / 0.9221 GB, free: 25.45 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/6.14, allocations: 91.94 kB / 0.9222 GB, free: 25.4 MB / 482.8 MB Notification: Performance of pre-optimization done (n=510): time 9.769e-06/6.14, allocations: 0 / 0.9222 GB, free: 25.4 MB / 482.8 MB Notification: Performance of matching and sorting (n=596): time 0.2473/6.387, allocations: 56.83 MB / 0.9777 GB, free: 9.758 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003105/6.388, allocations: 378.8 kB / 0.978 GB, free: 9.371 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0327/6.421, allocations: 8.293 MB / 0.9861 GB, free: 6.402 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002629/6.423, allocations: 29.42 kB / 0.9861 GB, free: 6.371 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01381/6.437, allocations: 7.877 MB / 0.9938 GB, free: 412 kB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007383/6.445, allocations: 2.148 MB / 0.9959 GB, free: 14.8 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004324/6.449, allocations: 0 / 0.9959 GB, free: 14.8 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.004068/6.453, allocations: 0.9779 MB / 0.9969 GB, free: 14.2 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02547/6.479, allocations: 6.603 MB / 1.003 GB, free: 8.723 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04488/6.524, allocations: 15.26 MB / 1.018 GB, free: 6.508 MB / 0.5028 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02953/6.553, allocations: 10.03 MB / 1.028 GB, free: 14.62 MB / 0.5184 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000436/6.554, allocations: 84 kB / 1.028 GB, free: 14.54 MB / 0.5184 GB Notification: Performance of matching and sorting (n=2067) (initialization): time 0.116/6.67, allocations: 23.07 MB / 1.051 GB, free: 12.72 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/6.67, allocations: 8 kB / 1.051 GB, free: 12.71 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001352/6.671, allocations: 304 kB / 1.051 GB, free: 12.41 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/6.694, allocations: 3.15 MB / 1.054 GB, free: 9.977 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03713/6.731, allocations: 3.738 MB / 1.058 GB, free: 6.77 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2969/7.028, allocations: 20.56 MB / 1.078 GB, free: 131.1 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02332/7.051, allocations: 0.5273 MB / 1.078 GB, free: 131.1 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005003/7.057, allocations: 0.9118 MB / 1.079 GB, free: 131.1 MB / 0.534 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * Number of states: 0 () * Number of discrete variables: 117 (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],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1947): * Single equations (assignments): 1940 * 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.007925/7.064, allocations: 0.8911 MB / 1.08 GB, free: 130.9 MB / 0.534 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004546/7.069, allocations: 0.8955 MB / 1.081 GB, free: 130.9 MB / 0.534 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04778/7.117, allocations: 13.46 MB / 1.094 GB, free: 130.7 MB / 0.534 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001775/7.117, allocations: 64.2 kB / 1.094 GB, free: 130.7 MB / 0.534 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.019e-05/7.117, allocations: 17.94 kB / 1.094 GB, free: 130.7 MB / 0.534 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001551/7.117, allocations: 29.08 kB / 1.094 GB, free: 130.7 MB / 0.534 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1055/7.223, allocations: 27.36 MB / 1.121 GB, free: 129.8 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001245/7.223, allocations: 0 / 1.121 GB, free: 129.8 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01654/7.24, allocations: 1.041 MB / 1.122 GB, free: 129.8 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01955/7.259, allocations: 2.622 MB / 1.124 GB, free: 129.7 MB / 0.534 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002328/7.262, allocations: 19.61 kB / 1.124 GB, free: 129.7 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.055/7.317, allocations: 19.25 MB / 1.143 GB, free: 124.4 MB / 0.534 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/7.317, allocations: 7.531 kB / 1.143 GB, free: 124.4 MB / 0.534 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06293/7.38, allocations: 21.69 MB / 1.164 GB, free: 116.5 MB / 0.534 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08798/7.468, allocations: 29.96 MB / 1.194 GB, free: 104 MB / 0.534 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/7.478, allocations: 1.891 MB / 1.196 GB, free: 102.3 MB / 0.534 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005063/7.483, allocations: 4 kB / 1.196 GB, free: 102.3 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/7.498, allocations: 213.3 kB / 1.196 GB, free: 102.1 MB / 0.534 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003658/7.501, allocations: 284.6 kB / 1.196 GB, free: 102 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002746/7.504, allocations: 143.6 kB / 1.196 GB, free: 101.9 MB / 0.534 GB Notification: Performance of sort global known variables: time 0.01658/7.521, allocations: 5.633 MB / 1.202 GB, free: 96.95 MB / 0.534 GB Notification: Performance of remove unused functions: time 0.02305/7.544, allocations: 2.64 MB / 1.204 GB, free: 94.32 MB / 0.534 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.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 (507): * Single equations (assignments): 500 * 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.002344/7.546, allocations: 188.7 kB / 1.204 GB, free: 94.2 MB / 0.534 GB Notification: Performance of simCode: created initialization part: time 0.04232/7.589, allocations: 16.23 MB / 1.22 GB, free: 80.27 MB / 0.534 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/7.589, allocations: 0 / 1.22 GB, free: 80.27 MB / 0.534 GB Notification: Performance of simCode: created simulation system equations: time 0.0196/7.608, allocations: 6.584 MB / 1.227 GB, free: 74.45 MB / 0.534 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/7.619, allocations: 0.9415 MB / 1.228 GB, free: 73.66 MB / 0.534 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/7.722, allocations: 25.09 MB / 1.252 GB, free: 51.66 MB / 0.534 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05282/7.775, allocations: 9.935 MB / 1.262 GB, free: 45.29 MB / 0.534 GB Notification: Performance of SimCode: time 2.264e-06/7.775, allocations: 3.516 kB / 1.262 GB, free: 45.29 MB / 0.534 GB