Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",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.383/2.383, allocations: 234.9 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2079/2.591, allocations: 57.22 MB / 299.1 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/2.88, allocations: 54.84 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/3.299, allocations: 101.8 MB / 455.8 MB, free: 34.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/3.299, allocations: 81.64 kB / 455.8 MB, free: 34.29 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.7132/4.012, allocations: 151.2 MB / 0.5928 GB, free: 7.539 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/4.013, allocations: 8 kB / 0.5928 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1279/4.141, allocations: 14.76 MB / 0.6072 GB, free: 8.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2574/4.398, allocations: 13.3 MB / 0.6202 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/4.399, allocations: 211.3 kB / 0.6204 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003695/4.402, allocations: 412.6 kB / 0.6208 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02604/4.428, allocations: 9.384 MB / 0.6299 GB, free: 111.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0431/4.471, allocations: 14.52 MB / 0.6441 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008287/4.472, allocations: 107.4 kB / 0.6442 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004099/4.477, allocations: 46.19 kB / 0.6443 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003724/4.48, allocations: 1.587 MB / 0.6458 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1309/4.611, allocations: 76.68 MB / 0.7207 GB, free: 62.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/4.623, allocations: 5.552 MB / 0.7261 GB, free: 59.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01011/4.633, allocations: 4.595 MB / 0.7306 GB, free: 57.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03925/4.672, allocations: 14.61 MB / 0.7449 GB, free: 49.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/4.672, allocations: 63.62 kB / 0.7449 GB, free: 49.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 8.476e-06/4.672, allocations: 0 / 0.7449 GB, free: 49.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=341): time 0.2068/4.879, allocations: 40.47 MB / 0.7845 GB, free: 27.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/4.879, allocations: 261.5 kB / 0.7847 GB, free: 27.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/4.896, allocations: 5.734 MB / 0.7903 GB, free: 22.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001303/4.897, allocations: 29.7 kB / 0.7903 GB, free: 22.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004697/4.902, allocations: 4.467 MB / 0.7947 GB, free: 18.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002802/4.904, allocations: 1.267 MB / 0.7959 GB, free: 16.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/4.906, allocations: 0 / 0.7959 GB, free: 16.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008268/4.907, allocations: 0.7086 MB / 0.7966 GB, free: 16.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/4.918, allocations: 4.386 MB / 0.8009 GB, free: 12.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01588/4.934, allocations: 9.742 MB / 0.8104 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2612/5.196, allocations: 6.822 MB / 0.8171 GB, free: 99.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002538/5.196, allocations: 51.28 kB / 0.8171 GB, free: 99.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.1354/5.331, allocations: 24.59 MB / 0.8412 GB, free: 99.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/5.331, allocations: 6.062 kB / 0.8412 GB, free: 99.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09082/5.422, allocations: 16 MB / 0.8568 GB, free: 99.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09461/5.517, allocations: 11.39 MB / 0.8679 GB, free: 99.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/5.531, allocations: 2.086 MB / 0.87 GB, free: 99.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0851/5.617, allocations: 28.92 MB / 0.8982 GB, free: 94.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01518/5.632, allocations: 445.6 kB / 0.8986 GB, free: 94.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003226/5.635, allocations: 0.5721 MB / 0.8992 GB, free: 94.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1089 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004559/5.64, allocations: 0.5858 MB / 0.8997 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002496/5.642, allocations: 0.6216 MB / 0.9004 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05649/5.699, allocations: 9.744 MB / 0.9099 GB, free: 90.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04721/5.746, allocations: 8.546 MB / 0.9182 GB, free: 87.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.761e-05/5.746, allocations: 17.34 kB / 0.9182 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001206/5.746, allocations: 18.28 kB / 0.9183 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09606/5.842, allocations: 21.95 MB / 0.9397 GB, free: 69.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-05/5.843, allocations: 0 / 0.9397 GB, free: 69.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006012/5.849, allocations: 486.9 kB / 0.9402 GB, free: 69.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02777/5.876, allocations: 3.822 MB / 0.9439 GB, free: 66.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/5.878, allocations: 55.12 kB / 0.9439 GB, free: 66.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05069/5.928, allocations: 21.81 MB / 0.9652 GB, free: 45.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002315/5.931, allocations: 2.797 MB / 0.968 GB, free: 42.92 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04714/5.978, allocations: 15.05 MB / 0.9827 GB, free: 27.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2828/6.261, allocations: 20.42 MB / 1.003 GB, free: 92.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00839/6.269, allocations: 1.3 MB / 1.004 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003272/6.273, allocations: 30.12 kB / 1.004 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008741/6.281, allocations: 209.6 kB / 1.004 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/6.283, allocations: 165.5 kB / 1.004 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006451/6.284, allocations: 96.78 kB / 1.004 GB, free: 92.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01264/6.296, allocations: 3.969 MB / 1.008 GB, free: 92.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01652/6.313, allocations: 1.858 MB / 1.01 GB, free: 92.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(3,100.0%) 33,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/6.315, allocations: 167.1 kB / 1.01 GB, free: 92.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03095/6.346, allocations: 11.19 MB / 1.021 GB, free: 91.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/6.346, allocations: 0 / 1.021 GB, free: 91.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01331/6.359, allocations: 4.791 MB / 1.026 GB, free: 90.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008426/6.368, allocations: 0.7859 MB / 1.027 GB, free: 90.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.065/6.433, allocations: 16.11 MB / 1.042 GB, free: 87.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01984/6.453, allocations: 5.958 MB / 1.048 GB, free: 86.77 MB / 474.7 MB Notification: Performance of SimCode: time 3.026e-06/6.453, allocations: 2.156 kB / 1.048 GB, free: 86.77 MB / 474.7 MB