Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_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.001/2.001, allocations: 209.3 MB / 216.3 MB, free: 6.812 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2661/2.267, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/2.382, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/2.775, allocations: 92.72 MB / 408.7 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/2.775, allocations: 81.7 kB / 408.8 MB, free: 248 kB / 330.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.5961/3.371, allocations: 83.65 MB / 492.4 MB, free: 133.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/3.371, allocations: 7.719 kB / 492.4 MB, free: 133.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/3.389, allocations: 1.86 MB / 494.3 MB, free: 133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/3.409, allocations: 4.786 MB / 499.1 MB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/3.409, allocations: 154.1 kB / 499.2 MB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/3.411, allocations: 259.9 kB / 499.5 MB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01708/3.428, allocations: 6.29 MB / 0.4939 GB, free: 132.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/3.458, allocations: 9.642 MB / 0.5033 GB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/3.459, allocations: 56.78 kB / 0.5034 GB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002092/3.461, allocations: 34.73 kB / 0.5034 GB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/3.463, allocations: 1.072 MB / 0.5045 GB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07533/3.539, allocations: 48.75 MB / 0.5521 GB, free: 96.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/3.544, allocations: 2.603 MB / 0.5546 GB, free: 94.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003834/3.548, allocations: 1.763 MB / 0.5563 GB, free: 93.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/3.564, allocations: 5.585 MB / 0.5618 GB, free: 90.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/3.564, allocations: 53 kB / 0.5618 GB, free: 90.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.18e-06/3.564, allocations: 3.938 kB / 0.5618 GB, free: 90.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.03775/3.602, allocations: 9.887 MB / 0.5715 GB, free: 85.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/3.602, allocations: 145.2 kB / 0.5716 GB, free: 85.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/3.61, allocations: 3.076 MB / 0.5746 GB, free: 82.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004708/3.61, allocations: 29.7 kB / 0.5747 GB, free: 82.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00254/3.613, allocations: 3.055 MB / 0.5777 GB, free: 79.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/3.614, allocations: 0.5851 MB / 0.5782 GB, free: 79.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007941/3.615, allocations: 0 / 0.5782 GB, free: 79.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004649/3.615, allocations: 0.5642 MB / 0.5788 GB, free: 78.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/3.621, allocations: 2.069 MB / 0.5808 GB, free: 76.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008463/3.629, allocations: 5.919 MB / 0.5866 GB, free: 69.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00837/3.638, allocations: 3.498 MB / 0.59 GB, free: 66.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/3.638, allocations: 44 kB / 0.59 GB, free: 66.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.0305/3.668, allocations: 7.805 MB / 0.5977 GB, free: 59.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/3.668, allocations: 4.938 kB / 0.5977 GB, free: 59.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009898/3.678, allocations: 2.769 MB / 0.6004 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/3.685, allocations: 1.077 MB / 0.6014 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009236/3.694, allocations: 1.41 MB / 0.6028 GB, free: 54.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008238/3.702, allocations: 4.486 MB / 0.6072 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008471/3.711, allocations: 241 kB / 0.6074 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/3.712, allocations: 390 kB / 0.6078 GB, free: 50.05 MB / 410.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00177/3.714, allocations: 456.2 kB / 0.6082 GB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009001/3.715, allocations: 300.1 kB / 0.6085 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/3.726, allocations: 2.969 MB / 0.6114 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01462/3.741, allocations: 2.5 MB / 0.6138 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-05/3.741, allocations: 4.609 kB / 0.6138 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.251e-05/3.741, allocations: 5.672 kB / 0.6138 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/3.755, allocations: 3.1 MB / 0.6169 GB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/3.756, allocations: 0 / 0.6169 GB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004584/3.76, allocations: 229.8 kB / 0.6171 GB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009226/3.769, allocations: 0.9584 MB / 0.618 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005962/3.77, allocations: 15.98 kB / 0.618 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/3.784, allocations: 4.826 MB / 0.6228 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002089/3.786, allocations: 1.379 MB / 0.6241 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01619/3.802, allocations: 5.42 MB / 0.6294 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01901/3.822, allocations: 7.589 MB / 0.6368 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/3.823, allocations: 364.9 kB / 0.6372 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008533/3.824, allocations: 11.98 kB / 0.6372 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/3.827, allocations: 71.89 kB / 0.6372 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/3.827, allocations: 72.67 kB / 0.6373 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/3.827, allocations: 43.17 kB / 0.6373 GB, free: 21.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00452/3.832, allocations: 2.035 MB / 0.6393 GB, free: 19.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008654/3.84, allocations: 0.9516 MB / 0.6403 GB, free: 18.24 MB / 410.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.0007735/3.841, allocations: 150.8 kB / 0.6404 GB, free: 18.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01568/3.857, allocations: 5.469 MB / 0.6457 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/3.857, allocations: 0 / 0.6457 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0073/3.864, allocations: 2.076 MB / 0.6478 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/3.867, allocations: 322.3 kB / 0.6481 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/3.893, allocations: 8.04 MB / 0.6559 GB, free: 2.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1862/4.079, allocations: 3.63 MB / 0.6595 GB, free: 118.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/4.08, allocations: 0 / 0.6595 GB, free: 118.3 MB / 410.7 MB