Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.604/2.604, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1745/2.779, allocations: 57.2 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/3.088, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/3.572, allocations: 100.1 MB / 454.2 MB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/3.572, allocations: 74.2 kB / 454.2 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.662/4.234, allocations: 133.1 MB / 0.5735 GB, free: 11.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/4.234, allocations: 8 kB / 0.5735 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0664/4.301, allocations: 6.714 MB / 0.5801 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03454/4.335, allocations: 7.316 MB / 0.5872 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/4.336, allocations: 216 kB / 0.5874 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004341/4.34, allocations: 395.8 kB / 0.5878 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03402/4.374, allocations: 9.922 MB / 0.5975 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0588/4.433, allocations: 14.43 MB / 0.6116 GB, free: 3.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005008/4.434, allocations: 67.41 kB / 0.6117 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/4.437, allocations: 43.91 kB / 0.6117 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005797/4.443, allocations: 1.675 MB / 0.6133 GB, free: 1.223 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/4.784, allocations: 65.16 MB / 0.677 GB, free: 88.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/4.798, allocations: 6.184 MB / 0.683 GB, free: 87.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01001/4.809, allocations: 4.358 MB / 0.6873 GB, free: 87.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03332/4.842, allocations: 11.64 MB / 0.6986 GB, free: 83.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.723e-05/4.842, allocations: 77.52 kB / 0.6987 GB, free: 83.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.895e-06/4.842, allocations: 0 / 0.6987 GB, free: 83.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=349): time 0.1309/4.973, allocations: 25.85 MB / 0.724 GB, free: 73.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/4.973, allocations: 216.8 kB / 0.7242 GB, free: 73.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/4.991, allocations: 3.959 MB / 0.728 GB, free: 72.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001428/4.992, allocations: 25.7 kB / 0.728 GB, free: 72.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005672/4.998, allocations: 4.133 MB / 0.7321 GB, free: 69.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002521/5.001, allocations: 1.237 MB / 0.7333 GB, free: 68.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/5.002, allocations: 0 / 0.7333 GB, free: 68.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009394/5.003, allocations: 0.6647 MB / 0.7339 GB, free: 67.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/5.015, allocations: 3.551 MB / 0.7374 GB, free: 66.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01617/5.031, allocations: 8.219 MB / 0.7454 GB, free: 59.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/5.048, allocations: 5.375 MB / 0.7507 GB, free: 57.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003247/5.049, allocations: 48.75 kB / 0.7507 GB, free: 57.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.04337/5.092, allocations: 12.14 MB / 0.7626 GB, free: 48.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/5.092, allocations: 5.688 kB / 0.7626 GB, free: 48.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002889/5.092, allocations: 168.6 kB / 0.7628 GB, free: 47.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009271/5.102, allocations: 1.6 MB / 0.7643 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01708/5.119, allocations: 1.964 MB / 0.7662 GB, free: 44.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02737/5.146, allocations: 10.42 MB / 0.7764 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/5.16, allocations: 279.3 kB / 0.7767 GB, free: 35.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002767/5.162, allocations: 0.4901 MB / 0.7772 GB, free: 34.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1039): * Single equations (assignments): 1034 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004335/5.167, allocations: 0.517 MB / 0.7777 GB, free: 34.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/5.169, allocations: 462 kB / 0.7781 GB, free: 33.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/5.198, allocations: 7.141 MB / 0.7851 GB, free: 28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000148/5.198, allocations: 36 kB / 0.7851 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/5.198, allocations: 11.94 kB / 0.7851 GB, free: 27.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/5.198, allocations: 18.34 kB / 0.7851 GB, free: 27.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05516/5.253, allocations: 14.63 MB / 0.7994 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-05/5.253, allocations: 4 kB / 0.7994 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00783/5.261, allocations: 0.5649 MB / 0.8 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008898/5.27, allocations: 1.314 MB / 0.8013 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/5.271, allocations: 12 kB / 0.8013 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/5.296, allocations: 9.652 MB / 0.8107 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/5.296, allocations: 0 / 0.8107 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2491/5.545, allocations: 11.95 MB / 0.8224 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04793/5.593, allocations: 16.64 MB / 0.8386 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00472/5.598, allocations: 1.024 MB / 0.8396 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/5.6, allocations: 4.625 kB / 0.8396 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006803/5.606, allocations: 141.8 kB / 0.8398 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/5.608, allocations: 166.7 kB / 0.8399 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005853/5.608, allocations: 92.5 kB / 0.84 GB, free: 108.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008182/5.617, allocations: 2.665 MB / 0.8426 GB, free: 108.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01313/5.63, allocations: 1.385 MB / 0.844 GB, free: 108.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (295): * Single equations (assignments): 290 * 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%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/5.631, allocations: 155.9 kB / 0.8441 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02678/5.658, allocations: 8.842 MB / 0.8527 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/5.658, allocations: 0 / 0.8527 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01203/5.67, allocations: 3.634 MB / 0.8563 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00557/5.676, allocations: 467.2 kB / 0.8567 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05464/5.731, allocations: 13.02 MB / 0.8695 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02201/5.753, allocations: 5.33 MB / 0.8747 GB, free: 105 MB / 474.7 MB Notification: Performance of SimCode: time 2.215e-06/5.753, allocations: 3.938 kB / 0.8747 GB, free: 105 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat