Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute2",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.061/2.061, allocations: 209.3 MB / 216.3 MB, free: 6.875 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2298/2.291, allocations: 51.03 MB / 267.3 MB, free: 5.23 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/2.413, allocations: 48.69 MB / 316 MB, free: 4.445 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/2.793, allocations: 91.89 MB / 407.9 MB, free: 1.105 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/2.793, allocations: 72.41 kB / 407.9 MB, free: 1.07 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.8788/3.672, allocations: 130.6 MB / 0.526 GB, free: 70.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/3.672, allocations: 7.344 kB / 0.526 GB, free: 70.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04864/3.721, allocations: 5.593 MB / 0.5314 GB, free: 69.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04588/3.767, allocations: 8.66 MB / 0.5399 GB, free: 68.64 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007171/3.768, allocations: 193.8 kB / 0.5401 GB, free: 68.64 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/3.772, allocations: 350 kB / 0.5404 GB, free: 68.63 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0353/3.807, allocations: 10.93 MB / 0.5511 GB, free: 68.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04404/3.851, allocations: 14.09 MB / 0.5648 GB, free: 55.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004567/3.852, allocations: 63.42 kB / 0.5649 GB, free: 55.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003603/3.856, allocations: 23.94 kB / 0.5649 GB, free: 55.41 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004354/3.86, allocations: 1.806 MB / 0.5667 GB, free: 53.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/3.998, allocations: 54.9 MB / 0.6203 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/4.013, allocations: 5.779 MB / 0.6259 GB, free: 8.352 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01718/4.031, allocations: 5.138 MB / 0.631 GB, free: 3.203 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2593/4.29, allocations: 18.26 MB / 0.6488 GB, free: 152.2 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/4.29, allocations: 64.14 kB / 0.6489 GB, free: 152.2 MB / 442.8 MB Notification: Performance of pre-optimization done (n=336): time 7.454e-06/4.29, allocations: 0 / 0.6489 GB, free: 152.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=389): time 0.1398/4.43, allocations: 34.02 MB / 0.6821 GB, free: 150.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/4.43, allocations: 111.2 kB / 0.6822 GB, free: 150.8 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01533/4.445, allocations: 3.773 MB / 0.6859 GB, free: 150.1 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001494/4.447, allocations: 25.7 kB / 0.6859 GB, free: 150 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004716/4.452, allocations: 3.738 MB / 0.6895 GB, free: 147.5 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003775/4.456, allocations: 1.356 MB / 0.6909 GB, free: 146.4 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/4.458, allocations: 0 / 0.6909 GB, free: 146.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001187/4.459, allocations: 0.654 MB / 0.6915 GB, free: 146 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01539/4.474, allocations: 3.908 MB / 0.6953 GB, free: 144.7 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01973/4.494, allocations: 7.911 MB / 0.703 GB, free: 138.1 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/4.515, allocations: 5.608 MB / 0.7085 GB, free: 136.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002843/4.515, allocations: 39.81 kB / 0.7086 GB, free: 136.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=1065) (initialization): time 0.06912/4.585, allocations: 13.35 MB / 0.7216 GB, free: 129.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/4.585, allocations: 4 kB / 0.7216 GB, free: 129.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/4.585, allocations: 140 kB / 0.7217 GB, free: 129.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01491/4.6, allocations: 2.426 MB / 0.7241 GB, free: 127.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01541/4.615, allocations: 1.915 MB / 0.726 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03395/4.649, allocations: 12.48 MB / 0.7382 GB, free: 115.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01611/4.666, allocations: 249.3 kB / 0.7384 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/4.668, allocations: 454.3 kB / 0.7388 GB, free: 114.7 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (968): * Single equations (assignments): 960 * Array equations: 6 * 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 {(6,69.4%) 32,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003703/4.672, allocations: 480.7 kB / 0.7393 GB, free: 114.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/4.673, allocations: 454.2 kB / 0.7397 GB, free: 113.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05067/4.724, allocations: 9.549 MB / 0.7491 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002438/4.724, allocations: 54.8 kB / 0.7491 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.896e-05/4.725, allocations: 12 kB / 0.7491 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/4.725, allocations: 14.86 kB / 0.7491 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07839/4.803, allocations: 17.71 MB / 0.7664 GB, free: 91.73 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/4.803, allocations: 4 kB / 0.7664 GB, free: 91.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008473/4.812, allocations: 0.6487 MB / 0.7671 GB, free: 91.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/4.829, allocations: 2.194 MB / 0.7692 GB, free: 89 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/4.83, allocations: 14.94 kB / 0.7692 GB, free: 88.98 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03636/4.866, allocations: 11.36 MB / 0.7803 GB, free: 77.39 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/4.866, allocations: 4 kB / 0.7803 GB, free: 77.39 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0448/4.911, allocations: 14.61 MB / 0.7946 GB, free: 62.48 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05583/4.967, allocations: 20.03 MB / 0.8141 GB, free: 42.12 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00488/4.972, allocations: 1.12 MB / 0.8152 GB, free: 40.98 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/4.974, allocations: 4 kB / 0.8152 GB, free: 40.98 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006233/4.981, allocations: 147.7 kB / 0.8154 GB, free: 40.83 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/4.982, allocations: 181.8 kB / 0.8156 GB, free: 40.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001174/4.984, allocations: 99.98 kB / 0.8157 GB, free: 40.56 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.008303/4.992, allocations: 2.546 MB / 0.8181 GB, free: 38.01 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01306/5.005, allocations: 1.437 MB / 0.8195 GB, free: 36.58 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 6 * 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 {(6,69.4%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/5.007, allocations: 176.5 kB / 0.8197 GB, free: 36.41 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02886/5.036, allocations: 9.394 MB / 0.8289 GB, free: 27.01 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/5.036, allocations: 4.125 kB / 0.8289 GB, free: 27 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01285/5.049, allocations: 3.965 MB / 0.8328 GB, free: 23.02 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/5.056, allocations: 467.3 kB / 0.8332 GB, free: 22.58 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2344/5.29, allocations: 12.98 MB / 0.8459 GB, free: 143.6 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01604/5.306, allocations: 5.094 MB / 0.8509 GB, free: 142.8 MB / 442.8 MB Notification: Performance of SimCode: time 1.813e-06/5.306, allocations: 0 / 0.8509 GB, free: 142.8 MB / 442.8 MB