Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.701/2.701, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2166/2.917, allocations: 57.18 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/3.246, allocations: 54.87 MB / 354.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5283/3.775, allocations: 99.21 MB / 453.3 MB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/3.775, allocations: 79.52 kB / 453.4 MB, free: 33.68 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.4449/4.22, allocations: 83.81 MB / 0.5246 GB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/4.22, allocations: 8 kB / 0.5246 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02332/4.243, allocations: 1.87 MB / 0.5264 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/4.27, allocations: 4.807 MB / 0.5311 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/4.27, allocations: 144 kB / 0.5313 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/4.273, allocations: 259.9 kB / 0.5315 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02344/4.297, allocations: 6.288 MB / 0.5377 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/4.332, allocations: 9.634 MB / 0.5471 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/4.332, allocations: 63.41 kB / 0.5471 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/4.334, allocations: 36 kB / 0.5472 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003789/4.338, allocations: 1.072 MB / 0.5482 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/4.447, allocations: 48.76 MB / 0.5958 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007547/4.455, allocations: 2.603 MB / 0.5984 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/4.46, allocations: 1.759 MB / 0.6001 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/4.481, allocations: 5.612 MB / 0.6056 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/4.481, allocations: 55.28 kB / 0.6056 GB, free: 7.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.891e-06/4.481, allocations: 0 / 0.6056 GB, free: 7.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.2764/4.758, allocations: 9.881 MB / 0.6153 GB, free: 150.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/4.758, allocations: 143.2 kB / 0.6154 GB, free: 150.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/4.768, allocations: 3.068 MB / 0.6184 GB, free: 150.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005194/4.769, allocations: 29.45 kB / 0.6184 GB, free: 150.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/4.772, allocations: 3.057 MB / 0.6214 GB, free: 148.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/4.773, allocations: 0.5868 MB / 0.622 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/4.775, allocations: 0 / 0.622 GB, free: 148.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005174/4.775, allocations: 0.5697 MB / 0.6225 GB, free: 148.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006288/4.781, allocations: 2.087 MB / 0.6246 GB, free: 148.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/4.792, allocations: 5.936 MB / 0.6304 GB, free: 143.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/4.802, allocations: 3.508 MB / 0.6338 GB, free: 143.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/4.803, allocations: 43.34 kB / 0.6338 GB, free: 143.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.04891/4.852, allocations: 8.241 MB / 0.6419 GB, free: 142.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/4.852, allocations: 10.5 kB / 0.6419 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02657/4.878, allocations: 3.218 MB / 0.645 GB, free: 142.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02496/4.903, allocations: 1.588 MB / 0.6466 GB, free: 142.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01339/4.917, allocations: 1.409 MB / 0.648 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/4.934, allocations: 5.355 MB / 0.6532 GB, free: 139.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/4.945, allocations: 250.1 kB / 0.6534 GB, free: 139.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/4.947, allocations: 388.6 kB / 0.6538 GB, free: 139.9 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.002256/4.95, allocations: 458 kB / 0.6542 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/4.951, allocations: 301.8 kB / 0.6545 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/4.964, allocations: 2.947 MB / 0.6574 GB, free: 139.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01128/4.975, allocations: 2.523 MB / 0.6599 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/4.975, allocations: 3.844 kB / 0.6599 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/4.975, allocations: 3.797 kB / 0.6599 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/4.987, allocations: 3.092 MB / 0.6629 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/4.987, allocations: 5.281 kB / 0.6629 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/4.991, allocations: 239.8 kB / 0.6631 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007555/4.998, allocations: 0.9494 MB / 0.6641 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005316/4.999, allocations: 17.81 kB / 0.6641 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/5.011, allocations: 4.819 MB / 0.6688 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001373/5.012, allocations: 1.382 MB / 0.6701 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01847/5.031, allocations: 5.423 MB / 0.6754 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02419/5.055, allocations: 7.58 MB / 0.6828 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/5.056, allocations: 366.8 kB / 0.6832 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/5.058, allocations: 9.391 kB / 0.6832 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/5.062, allocations: 77.12 kB / 0.6833 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/5.063, allocations: 65.52 kB / 0.6833 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/5.063, allocations: 41.61 kB / 0.6834 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006883/5.07, allocations: 2.041 MB / 0.6854 GB, free: 128.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01074/5.081, allocations: 0.9603 MB / 0.6863 GB, free: 128.3 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.001/5.082, allocations: 149.7 kB / 0.6864 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02148/5.103, allocations: 5.501 MB / 0.6918 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/5.103, allocations: 0 / 0.6918 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009913/5.113, allocations: 2.073 MB / 0.6938 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/5.117, allocations: 316 kB / 0.6941 GB, free: 125.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/5.151, allocations: 8.043 MB / 0.702 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0117/5.163, allocations: 3.637 MB / 0.7055 GB, free: 117.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.883e-06/5.163, allocations: 4 kB / 0.7055 GB, free: 117.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat