Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_1_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 1.976/1.976, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2861/2.262, allocations: 51.03 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/2.369, allocations: 48.7 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/2.742, allocations: 95.17 MB / 411.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/2.743, allocations: 90.25 kB / 411.2 MB, free: 13.78 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.9552/3.698, allocations: 151.1 MB / 0.5492 GB, free: 76.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/3.698, allocations: 8.25 kB / 0.5492 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1554/3.853, allocations: 14.76 MB / 0.5636 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05513/3.908, allocations: 13.31 MB / 0.5766 GB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/3.909, allocations: 212 kB / 0.5768 GB, free: 52.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004538/3.914, allocations: 407.7 kB / 0.5772 GB, free: 51.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02587/3.939, allocations: 9.38 MB / 0.5864 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/3.98, allocations: 14.52 MB / 0.6006 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005689/3.98, allocations: 114.9 kB / 0.6007 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003326/3.984, allocations: 48 kB / 0.6007 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/3.987, allocations: 1.586 MB / 0.6023 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3495/4.337, allocations: 76.66 MB / 0.6771 GB, free: 76.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/4.348, allocations: 5.549 MB / 0.6826 GB, free: 75.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009393/4.358, allocations: 4.593 MB / 0.687 GB, free: 75.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03988/4.398, allocations: 14.62 MB / 0.7013 GB, free: 71.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.953e-05/4.398, allocations: 65.97 kB / 0.7014 GB, free: 71.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 8.035e-06/4.398, allocations: 0 / 0.7014 GB, free: 71.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=341): time 0.2157/4.614, allocations: 40.47 MB / 0.7409 GB, free: 57.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/4.614, allocations: 267.9 kB / 0.7412 GB, free: 57.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02416/4.638, allocations: 5.739 MB / 0.7468 GB, free: 55.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001855/4.64, allocations: 27.02 kB / 0.7468 GB, free: 55.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006595/4.647, allocations: 4.463 MB / 0.7511 GB, free: 51.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003076/4.65, allocations: 1.267 MB / 0.7524 GB, free: 51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/4.652, allocations: 3.375 kB / 0.7524 GB, free: 51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009714/4.653, allocations: 0.7098 MB / 0.7531 GB, free: 50.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01278/4.666, allocations: 4.381 MB / 0.7574 GB, free: 48.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/4.681, allocations: 9.748 MB / 0.7669 GB, free: 37.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/4.696, allocations: 6.463 MB / 0.7732 GB, free: 32.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/4.697, allocations: 60 kB / 0.7732 GB, free: 32.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.1342/4.831, allocations: 24.59 MB / 0.7973 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/4.831, allocations: 4 kB / 0.7973 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2952/5.126, allocations: 15.99 MB / 0.8129 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09427/5.221, allocations: 11.39 MB / 0.824 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0149/5.236, allocations: 2.088 MB / 0.826 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08018/5.316, allocations: 28.92 MB / 0.8543 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01761/5.333, allocations: 452.2 kB / 0.8547 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004006/5.337, allocations: 0.5679 MB / 0.8553 GB, free: 100.4 MB / 426.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.006536/5.344, allocations: 0.5783 MB / 0.8558 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003349/5.348, allocations: 0.6249 MB / 0.8564 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04021/5.388, allocations: 9.746 MB / 0.866 GB, free: 97.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03388/5.422, allocations: 8.55 MB / 0.8743 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/5.422, allocations: 19.41 kB / 0.8743 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/5.422, allocations: 15.66 kB / 0.8743 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0846/5.507, allocations: 21.95 MB / 0.8958 GB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.74e-05/5.507, allocations: 2.344 kB / 0.8958 GB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008424/5.515, allocations: 484.8 kB / 0.8962 GB, free: 86.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03713/5.552, allocations: 3.824 MB / 0.9 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/5.554, allocations: 56.22 kB / 0.9 GB, free: 86.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0767/5.631, allocations: 21.79 MB / 0.9213 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003843/5.635, allocations: 2.805 MB / 0.9241 GB, free: 64.76 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07016/5.705, allocations: 15.07 MB / 0.9388 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06354/5.769, allocations: 20.43 MB / 0.9587 GB, free: 29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00902/5.778, allocations: 1.296 MB / 0.96 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004433/5.782, allocations: 38.02 kB / 0.96 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/5.795, allocations: 201.7 kB / 0.9602 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002146/5.797, allocations: 172.3 kB / 0.9604 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002115/5.799, allocations: 91.95 kB / 0.9605 GB, free: 27.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.2053/6.004, allocations: 3.976 MB / 0.9643 GB, free: 106.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01627/6.021, allocations: 1.856 MB / 0.9662 GB, free: 106.5 MB / 426.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.001483/6.022, allocations: 178.4 kB / 0.9663 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03/6.052, allocations: 11.18 MB / 0.9772 GB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/6.052, allocations: 0 / 0.9772 GB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01344/6.066, allocations: 4.795 MB / 0.9819 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/6.074, allocations: 0.7834 MB / 0.9827 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06495/6.139, allocations: 16.11 MB / 0.9984 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02091/6.16, allocations: 5.948 MB / 1.004 GB, free: 101.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.264e-06/6.16, allocations: 0 / 1.004 GB, free: 101.2 MB / 426.7 MB