Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Frames_AngularVelocity",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.296/2.296, allocations: 234.9 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1701/2.466, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/2.766, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/3.196, allocations: 99.21 MB / 453.2 MB, free: 33.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/3.196, allocations: 84.72 kB / 453.3 MB, free: 33.45 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.3735/3.57, allocations: 83.81 MB / 0.5245 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/3.57, allocations: 8 kB / 0.5245 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/3.589, allocations: 1.874 MB / 0.5263 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/3.61, allocations: 4.799 MB / 0.531 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/3.61, allocations: 144 kB / 0.5312 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/3.613, allocations: 263.9 kB / 0.5314 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02189/3.635, allocations: 6.292 MB / 0.5375 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03975/3.675, allocations: 9.646 MB / 0.547 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/3.675, allocations: 55.47 kB / 0.547 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/3.677, allocations: 28 kB / 0.547 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002839/3.68, allocations: 1.084 MB / 0.5481 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09942/3.78, allocations: 48.75 MB / 0.5957 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006624/3.786, allocations: 2.608 MB / 0.5983 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006765/3.793, allocations: 1.763 MB / 0.6 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/3.818, allocations: 5.612 MB / 0.6055 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/3.818, allocations: 47.28 kB / 0.6055 GB, free: 7.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.601e-06/3.818, allocations: 0 / 0.6055 GB, free: 7.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.2275/4.045, allocations: 9.896 MB / 0.6152 GB, free: 151.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/4.045, allocations: 143.8 kB / 0.6153 GB, free: 151.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/4.054, allocations: 3.074 MB / 0.6183 GB, free: 151.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005262/4.054, allocations: 25.7 kB / 0.6183 GB, free: 151.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002881/4.057, allocations: 3.053 MB / 0.6213 GB, free: 150 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/4.059, allocations: 0.5842 MB / 0.6219 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/4.06, allocations: 0 / 0.6219 GB, free: 149.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005141/4.06, allocations: 0.5679 MB / 0.6224 GB, free: 149.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005684/4.066, allocations: 2.086 MB / 0.6245 GB, free: 149.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008867/4.075, allocations: 5.947 MB / 0.6303 GB, free: 144.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/4.083, allocations: 3.492 MB / 0.6337 GB, free: 144.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/4.084, allocations: 43 kB / 0.6337 GB, free: 144.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.05183/4.136, allocations: 8.244 MB / 0.6418 GB, free: 143.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/4.136, allocations: 15 kB / 0.6418 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02108/4.157, allocations: 3.214 MB / 0.6449 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0224/4.179, allocations: 1.59 MB / 0.6465 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/4.193, allocations: 1.408 MB / 0.6479 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/4.213, allocations: 5.355 MB / 0.6531 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/4.226, allocations: 246.5 kB / 0.6533 GB, free: 141.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/4.229, allocations: 394.9 kB / 0.6537 GB, free: 141.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (765): * Single equations (assignments): 756 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003746/4.233, allocations: 441.9 kB / 0.6541 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/4.234, allocations: 305.8 kB / 0.6544 GB, free: 140.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/4.251, allocations: 2.958 MB / 0.6573 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01421/4.266, allocations: 2.515 MB / 0.6598 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/4.266, allocations: 7.797 kB / 0.6598 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.436e-05/4.266, allocations: 3.562 kB / 0.6598 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/4.278, allocations: 3.091 MB / 0.6628 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/4.278, allocations: 2.406 kB / 0.6628 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/4.281, allocations: 238.9 kB / 0.663 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006092/4.287, allocations: 0.9498 MB / 0.664 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000499/4.288, allocations: 21.33 kB / 0.664 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009642/4.297, allocations: 4.818 MB / 0.6687 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001179/4.298, allocations: 1.382 MB / 0.67 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01513/4.314, allocations: 5.412 MB / 0.6753 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01925/4.333, allocations: 7.598 MB / 0.6827 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/4.334, allocations: 363.5 kB / 0.6831 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/4.335, allocations: 17.95 kB / 0.6831 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/4.339, allocations: 75.2 kB / 0.6832 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/4.34, allocations: 68.59 kB / 0.6832 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/4.34, allocations: 41.94 kB / 0.6833 GB, free: 130.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006215/4.346, allocations: 2.036 MB / 0.6853 GB, free: 129.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008962/4.355, allocations: 0.9615 MB / 0.6862 GB, free: 129.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008399/4.356, allocations: 152.8 kB / 0.6863 GB, free: 129.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02414/4.38, allocations: 5.492 MB / 0.6917 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/4.38, allocations: 1.125 kB / 0.6917 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/4.392, allocations: 2.076 MB / 0.6937 GB, free: 126.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/4.397, allocations: 315.5 kB / 0.694 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/4.427, allocations: 8.047 MB / 0.7019 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/4.437, allocations: 3.639 MB / 0.7055 GB, free: 118.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.933e-06/4.437, allocations: 0 / 0.7055 GB, free: 118.4 MB / 474.7 MB