Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",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 1.975/1.975, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2592/2.235, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/2.376, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/2.781, allocations: 94.65 MB / 410.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004822/2.782, allocations: 92.81 kB / 410.7 MB, free: 14.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.7147/3.496, allocations: 107.7 MB / 0.5063 GB, free: 80.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/3.496, allocations: 7.469 kB / 0.5063 GB, free: 80.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0547/3.551, allocations: 6.52 MB / 0.5126 GB, free: 80.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02889/3.58, allocations: 6.937 MB / 0.5194 GB, free: 79.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/3.58, allocations: 174 kB / 0.5196 GB, free: 79.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002899/3.583, allocations: 319.3 kB / 0.5199 GB, free: 79.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02187/3.605, allocations: 7.442 MB / 0.5272 GB, free: 79.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/3.647, allocations: 11.36 MB / 0.5383 GB, free: 73.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004219/3.647, allocations: 85.06 kB / 0.5383 GB, free: 73.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/3.65, allocations: 36.16 kB / 0.5384 GB, free: 73.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003469/3.653, allocations: 1.2 MB / 0.5395 GB, free: 73.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1153/3.768, allocations: 56.65 MB / 0.5949 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009004/3.777, allocations: 3.502 MB / 0.5983 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00605/3.784, allocations: 2.448 MB / 0.6007 GB, free: 22.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02146/3.805, allocations: 7.728 MB / 0.6082 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/3.805, allocations: 56.56 kB / 0.6083 GB, free: 15.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 6.482e-06/3.805, allocations: 4 kB / 0.6083 GB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.06863/3.874, allocations: 18.55 MB / 0.6264 GB, free: 12.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/3.874, allocations: 201.2 kB / 0.6266 GB, free: 12.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/3.885, allocations: 3.727 MB / 0.6302 GB, free: 8.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005674/3.886, allocations: 25.7 kB / 0.6302 GB, free: 8.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004541/3.891, allocations: 3.454 MB / 0.6336 GB, free: 5.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/3.893, allocations: 0.7865 MB / 0.6344 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000884/3.893, allocations: 0 / 0.6344 GB, free: 4.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008089/3.894, allocations: 0.5927 MB / 0.635 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006864/3.901, allocations: 2.161 MB / 0.6371 GB, free: 1.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2071/4.108, allocations: 6.211 MB / 0.6431 GB, free: 129.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009446/4.118, allocations: 3.683 MB / 0.6467 GB, free: 129.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001904/4.118, allocations: 40.78 kB / 0.6468 GB, free: 129.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02638/4.144, allocations: 8.104 MB / 0.6547 GB, free: 129.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/4.145, allocations: 2.656 kB / 0.6547 GB, free: 129.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/4.145, allocations: 145.8 kB / 0.6548 GB, free: 129.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/4.15, allocations: 0.9119 MB / 0.6557 GB, free: 129.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/4.161, allocations: 1.529 MB / 0.6572 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/4.183, allocations: 6.716 MB / 0.6638 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008782/4.192, allocations: 204.4 kB / 0.664 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/4.194, allocations: 415.7 kB / 0.6644 GB, free: 126.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 814 * 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 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002776/4.197, allocations: 461 kB / 0.6648 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/4.198, allocations: 407.4 kB / 0.6652 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/4.212, allocations: 3.367 MB / 0.6685 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/4.213, allocations: 21.38 kB / 0.6685 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/4.213, allocations: 9.688 kB / 0.6685 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-05/4.213, allocations: 10.36 kB / 0.6685 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/4.245, allocations: 8.056 MB / 0.6764 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/4.245, allocations: 0 / 0.6764 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/4.249, allocations: 318.9 kB / 0.6767 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/4.254, allocations: 0.6678 MB / 0.6773 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008038/4.254, allocations: 10.44 kB / 0.6774 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/4.272, allocations: 6.044 MB / 0.6833 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/4.272, allocations: 0 / 0.6833 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02155/4.293, allocations: 6.162 MB / 0.6893 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02376/4.317, allocations: 8.669 MB / 0.6977 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/4.32, allocations: 0.7039 MB / 0.6984 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/4.322, allocations: 3.812 kB / 0.6984 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003992/4.326, allocations: 57.06 kB / 0.6985 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/4.327, allocations: 97.47 kB / 0.6986 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/4.327, allocations: 62.62 kB / 0.6986 GB, free: 115.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00896/4.336, allocations: 2.547 MB / 0.7011 GB, free: 114.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01049/4.346, allocations: 1.005 MB / 0.7021 GB, free: 114.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 159 * 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 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009085/4.347, allocations: 144.1 kB / 0.7022 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/4.363, allocations: 5.363 MB / 0.7075 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/4.363, allocations: 3.844 kB / 0.7075 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005987/4.369, allocations: 1.844 MB / 0.7093 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/4.374, allocations: 439.7 kB / 0.7097 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03402/4.408, allocations: 9.303 MB / 0.7188 GB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01338/4.421, allocations: 4.405 MB / 0.7231 GB, free: 100 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/4.421, allocations: 0 / 0.7231 GB, free: 100 MB / 426.7 MB