Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces2",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.369/2.369, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2216/2.591, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/2.906, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/3.354, allocations: 98.76 MB / 452.7 MB, free: 33.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/3.354, allocations: 73.11 kB / 452.8 MB, free: 33.09 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.6637/4.018, allocations: 139.2 MB / 0.5781 GB, free: 6.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/4.018, allocations: 8 kB / 0.5781 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07334/4.092, allocations: 9.088 MB / 0.587 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04423/4.136, allocations: 8.827 MB / 0.5956 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005554/4.136, allocations: 220 kB / 0.5958 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003978/4.14, allocations: 407.8 kB / 0.5962 GB, free: 3.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03078/4.171, allocations: 9.384 MB / 0.6054 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2284/4.4, allocations: 14.39 MB / 0.6194 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/4.4, allocations: 92.91 kB / 0.6195 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002897/4.403, allocations: 44.75 kB / 0.6196 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003137/4.406, allocations: 1.569 MB / 0.6211 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1392/4.546, allocations: 69.27 MB / 0.6887 GB, free: 69.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/4.561, allocations: 5.031 MB / 0.6937 GB, free: 68.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/4.571, allocations: 3.388 MB / 0.697 GB, free: 68.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03859/4.61, allocations: 9.669 MB / 0.7064 GB, free: 65.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.237e-05/4.61, allocations: 64.47 kB / 0.7065 GB, free: 65.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 1.174e-05/4.61, allocations: 0 / 0.7065 GB, free: 65.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.1246/4.735, allocations: 22.72 MB / 0.7287 GB, free: 55.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/4.735, allocations: 265.1 kB / 0.7289 GB, free: 55.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/4.748, allocations: 4.854 MB / 0.7337 GB, free: 53.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006722/4.748, allocations: 28.2 kB / 0.7337 GB, free: 53.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003747/4.752, allocations: 4.462 MB / 0.738 GB, free: 50.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001901/4.754, allocations: 0.9637 MB / 0.739 GB, free: 49.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/4.756, allocations: 0 / 0.739 GB, free: 49.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009652/4.756, allocations: 0.6692 MB / 0.7396 GB, free: 49.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008351/4.765, allocations: 2.763 MB / 0.7423 GB, free: 48.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01696/4.782, allocations: 8.021 MB / 0.7502 GB, free: 40.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/4.794, allocations: 4.701 MB / 0.7548 GB, free: 38.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/4.794, allocations: 60.47 kB / 0.7548 GB, free: 38.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.03787/4.832, allocations: 10.11 MB / 0.7647 GB, free: 35.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/4.832, allocations: 3.656 kB / 0.7647 GB, free: 35.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/4.833, allocations: 194.2 kB / 0.7649 GB, free: 35.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/4.836, allocations: 0.811 MB / 0.7657 GB, free: 35.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/4.851, allocations: 1.952 MB / 0.7676 GB, free: 35.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/4.865, allocations: 7.852 MB / 0.7752 GB, free: 29.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/4.876, allocations: 266.6 kB / 0.7755 GB, free: 29.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/4.879, allocations: 0.5256 MB / 0.776 GB, free: 29.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1062): * Single equations (assignments): 1056 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002868/4.882, allocations: 0.5655 MB / 0.7766 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/4.883, allocations: 0.4975 MB / 0.777 GB, free: 28.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/4.899, allocations: 4.164 MB / 0.7811 GB, free: 27.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/4.899, allocations: 23.66 kB / 0.7811 GB, free: 27.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-05/4.899, allocations: 6.531 kB / 0.7811 GB, free: 27.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.559e-05/4.899, allocations: 12.58 kB / 0.7812 GB, free: 27.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03699/4.936, allocations: 9.751 MB / 0.7907 GB, free: 19.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/4.936, allocations: 0 / 0.7907 GB, free: 19.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0044/4.94, allocations: 382.1 kB / 0.791 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/4.943, allocations: 0.507 MB / 0.7915 GB, free: 19.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007341/4.944, allocations: 10.3 kB / 0.7915 GB, free: 19.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/4.956, allocations: 6.927 MB / 0.7983 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/4.956, allocations: 4.062 kB / 0.7983 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02471/4.98, allocations: 7.531 MB / 0.8057 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2492/5.23, allocations: 11.25 MB / 0.8167 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003761/5.234, allocations: 0.8663 MB / 0.8175 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/5.236, allocations: 3.312 kB / 0.8175 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005065/5.241, allocations: 74.36 kB / 0.8176 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008468/5.242, allocations: 119.9 kB / 0.8177 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/5.242, allocations: 68.78 kB / 0.8178 GB, free: 104.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009464/5.251, allocations: 3.31 MB / 0.821 GB, free: 104.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01443/5.266, allocations: 1.292 MB / 0.8222 GB, free: 104.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,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 (211): * Single equations (assignments): 205 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/5.267, allocations: 151.8 kB / 0.8224 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01982/5.287, allocations: 6.843 MB / 0.8291 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/5.287, allocations: 3.781 kB / 0.8291 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008501/5.296, allocations: 2.264 MB / 0.8313 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006259/5.302, allocations: 0.5766 MB / 0.8319 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/5.344, allocations: 11.95 MB / 0.8435 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01575/5.36, allocations: 5.447 MB / 0.8488 GB, free: 100.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/5.36, allocations: 0 / 0.8488 GB, free: 100.4 MB / 474.7 MB