Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.978/1.978, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2761/2.254, allocations: 51.04 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/2.383, allocations: 48.68 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/2.854, allocations: 94.59 MB / 410.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/2.854, allocations: 89.39 kB / 410.7 MB, free: 14.37 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.6058/3.46, allocations: 85.77 MB / 496.4 MB, free: 134.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/3.46, allocations: 13.28 kB / 496.4 MB, free: 134.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/3.477, allocations: 1.821 MB / 498.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01846/3.496, allocations: 4.561 MB / 0.491 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/3.496, allocations: 134.1 kB / 0.4912 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00351/3.5, allocations: 247.2 kB / 0.4914 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02203/3.522, allocations: 6.597 MB / 0.4978 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/3.549, allocations: 9.803 MB / 0.5074 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/3.55, allocations: 60.31 kB / 0.5075 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002223/3.552, allocations: 28.78 kB / 0.5075 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00239/3.554, allocations: 1.069 MB / 0.5085 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07722/3.632, allocations: 46.11 MB / 0.5536 GB, free: 99.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006535/3.638, allocations: 3.334 MB / 0.5568 GB, free: 97.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004456/3.643, allocations: 1.926 MB / 0.5587 GB, free: 97.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/3.659, allocations: 6.318 MB / 0.5649 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/3.659, allocations: 48.75 kB / 0.5649 GB, free: 93.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 7.044e-06/3.659, allocations: 0 / 0.5649 GB, free: 93.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=149): time 0.03723/3.697, allocations: 11.33 MB / 0.576 GB, free: 84.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/3.697, allocations: 144.5 kB / 0.5761 GB, free: 84.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007487/3.704, allocations: 3.115 MB / 0.5792 GB, free: 81.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004261/3.705, allocations: 25.7 kB / 0.5792 GB, free: 81.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002536/3.707, allocations: 3.006 MB / 0.5821 GB, free: 79.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/3.708, allocations: 0.5795 MB / 0.5827 GB, free: 78.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007477/3.709, allocations: 0 / 0.5827 GB, free: 78.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004577/3.71, allocations: 0.5598 MB / 0.5832 GB, free: 78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/3.715, allocations: 1.894 MB / 0.5851 GB, free: 76.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009432/3.724, allocations: 5.708 MB / 0.5907 GB, free: 68.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/3.735, allocations: 3.284 MB / 0.5939 GB, free: 66.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/3.735, allocations: 44 kB / 0.5939 GB, free: 66.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.04535/3.78, allocations: 7.284 MB / 0.601 GB, free: 59.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/3.78, allocations: 4 kB / 0.601 GB, free: 59.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000264/3.78, allocations: 140 kB / 0.6012 GB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00621/3.787, allocations: 0.8563 MB / 0.602 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/3.8, allocations: 1.389 MB / 0.6034 GB, free: 57.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/3.81, allocations: 4.496 MB / 0.6078 GB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006896/3.817, allocations: 192.5 kB / 0.6079 GB, free: 53.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/3.818, allocations: 386.5 kB / 0.6083 GB, free: 53.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 738 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00211/3.82, allocations: 441.3 kB / 0.6087 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008162/3.821, allocations: 308 kB / 0.609 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/3.831, allocations: 2.707 MB / 0.6117 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/3.831, allocations: 20.75 kB / 0.6117 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/3.832, allocations: 4 kB / 0.6117 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/3.832, allocations: 5.953 kB / 0.6117 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/3.854, allocations: 6.228 MB / 0.6178 GB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/3.854, allocations: 3.938 kB / 0.6178 GB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/3.857, allocations: 235.7 kB / 0.618 GB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/3.861, allocations: 0.6329 MB / 0.6186 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004028/3.861, allocations: 12 kB / 0.6186 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008783/3.87, allocations: 4.124 MB / 0.6227 GB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/3.87, allocations: 4 kB / 0.6227 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01591/3.886, allocations: 5.103 MB / 0.6276 GB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02173/3.908, allocations: 7.148 MB / 0.6346 GB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/3.91, allocations: 0.5711 MB / 0.6352 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/3.912, allocations: 7.906 kB / 0.6352 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004293/3.916, allocations: 51.92 kB / 0.6352 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005834/3.917, allocations: 68.89 kB / 0.6353 GB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/3.917, allocations: 39.44 kB / 0.6353 GB, free: 26.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005719/3.922, allocations: 2.083 MB / 0.6374 GB, free: 24.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007944/3.93, allocations: 0.8205 MB / 0.6382 GB, free: 23.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007916/3.931, allocations: 135 kB / 0.6383 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/3.942, allocations: 4.515 MB / 0.6427 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/3.942, allocations: 0 / 0.6427 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003237/3.945, allocations: 1.329 MB / 0.644 GB, free: 17.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/3.949, allocations: 307.4 kB / 0.6443 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/3.973, allocations: 7.243 MB / 0.6514 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01263/3.985, allocations: 3.581 MB / 0.6549 GB, free: 6.484 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/3.985, allocations: 0 / 0.6549 GB, free: 6.484 MB / 410.7 MB