Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force",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.417/2.417, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1985/2.616, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/2.895, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/3.325, allocations: 100.7 MB / 454.7 MB, free: 33.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/3.325, allocations: 76.95 kB / 454.7 MB, free: 33.95 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.611/3.936, allocations: 131.1 MB / 0.5721 GB, free: 12.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/3.936, allocations: 11.98 kB / 0.5721 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07164/4.008, allocations: 6.737 MB / 0.5787 GB, free: 6.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0411/4.049, allocations: 7.446 MB / 0.586 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/4.05, allocations: 208 kB / 0.5862 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003871/4.054, allocations: 395.8 kB / 0.5865 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04328/4.097, allocations: 9.445 MB / 0.5958 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/4.157, allocations: 14.36 MB / 0.6098 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005388/4.158, allocations: 91.11 kB / 0.6099 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003499/4.161, allocations: 40 kB / 0.6099 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004603/4.166, allocations: 1.65 MB / 0.6115 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3183/4.485, allocations: 70.39 MB / 0.6803 GB, free: 80.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/4.502, allocations: 5.694 MB / 0.6858 GB, free: 80.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01138/4.513, allocations: 3.961 MB / 0.6897 GB, free: 80.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04234/4.556, allocations: 10.58 MB / 0.7 GB, free: 77.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/4.556, allocations: 61.02 kB / 0.7001 GB, free: 77.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=258): time 1.1e-05/4.556, allocations: 0 / 0.7001 GB, free: 77.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=300): time 0.1197/4.676, allocations: 26.3 MB / 0.7258 GB, free: 67.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/4.676, allocations: 242.2 kB / 0.726 GB, free: 67.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0194/4.695, allocations: 4.775 MB / 0.7307 GB, free: 65.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001162/4.696, allocations: 25.7 kB / 0.7307 GB, free: 65.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005366/4.702, allocations: 4.369 MB / 0.7349 GB, free: 62.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003027/4.705, allocations: 1.107 MB / 0.736 GB, free: 61.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/4.707, allocations: 3.938 kB / 0.736 GB, free: 61.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002002/4.709, allocations: 0.6935 MB / 0.7367 GB, free: 61.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01415/4.723, allocations: 3.46 MB / 0.7401 GB, free: 60.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01669/4.74, allocations: 8.714 MB / 0.7486 GB, free: 51.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/4.755, allocations: 5.475 MB / 0.7539 GB, free: 50.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000344/4.755, allocations: 54.09 kB / 0.754 GB, free: 50.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.05182/4.807, allocations: 12.32 MB / 0.766 GB, free: 41.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/4.807, allocations: 7.656 kB / 0.766 GB, free: 41.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004716/4.808, allocations: 188 kB / 0.7662 GB, free: 41.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/4.82, allocations: 1.596 MB / 0.7678 GB, free: 40.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/4.837, allocations: 2.12 MB / 0.7698 GB, free: 38.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/4.86, allocations: 10.14 MB / 0.7797 GB, free: 29.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/4.872, allocations: 302.4 kB / 0.78 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/4.875, allocations: 0.5372 MB / 0.7806 GB, free: 28.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1114): * Single equations (assignments): 1109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002967/4.878, allocations: 0.5699 MB / 0.7811 GB, free: 28.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/4.879, allocations: 0.5052 MB / 0.7816 GB, free: 27.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/4.9, allocations: 6.366 MB / 0.7878 GB, free: 22.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001219/4.9, allocations: 28 kB / 0.7879 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-05/4.9, allocations: 8 kB / 0.7879 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/4.901, allocations: 17.73 kB / 0.7879 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04411/4.945, allocations: 13.23 MB / 0.8008 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.908e-05/4.945, allocations: 0 / 0.8008 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007142/4.952, allocations: 0.4974 MB / 0.8013 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007895/4.96, allocations: 1.296 MB / 0.8025 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009193/4.961, allocations: 7.844 kB / 0.8026 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0276/4.988, allocations: 9.497 MB / 0.8118 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/4.989, allocations: 7.828 kB / 0.8118 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2732/5.262, allocations: 11.04 MB / 0.8226 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03998/5.302, allocations: 14.96 MB / 0.8372 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006915/5.309, allocations: 1.008 MB / 0.8382 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003593/5.312, allocations: 8.625 kB / 0.8382 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009381/5.322, allocations: 104.3 kB / 0.8383 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/5.323, allocations: 134.9 kB / 0.8384 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007702/5.324, allocations: 77.38 kB / 0.8385 GB, free: 108.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0101/5.334, allocations: 3.231 MB / 0.8417 GB, free: 108.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01598/5.35, allocations: 1.386 MB / 0.843 GB, free: 108.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 240 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0019/5.352, allocations: 150.5 kB / 0.8432 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02702/5.38, allocations: 8.454 MB / 0.8514 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/5.38, allocations: 3.906 kB / 0.8514 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01029/5.39, allocations: 3.212 MB / 0.8546 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/5.396, allocations: 0.5058 MB / 0.8551 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0453/5.441, allocations: 12.85 MB / 0.8676 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01774/5.459, allocations: 5.33 MB / 0.8728 GB, free: 105.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.916e-06/5.459, allocations: 3.812 kB / 0.8728 GB, free: 105.1 MB / 474.7 MB