Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",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(Modelica): time 1.621/1.621, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2073/1.828, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/1.933, allocations: 38.78 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/2.231, allocations: 86.3 MB / 344.3 MB, free: 1.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/2.232, allocations: 87.12 kB / 344.4 MB, free: 1.914 MB / 282.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.8543/3.086, allocations: 150.6 MB / 495 MB, free: 53.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/3.086, allocations: 16 kB / 495 MB, free: 53.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1144/3.201, allocations: 14.76 MB / 0.4978 GB, free: 39.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05293/3.254, allocations: 13.16 MB / 0.5107 GB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/3.254, allocations: 211.9 kB / 0.5109 GB, free: 25.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003804/3.258, allocations: 411.7 kB / 0.5113 GB, free: 25.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02651/3.284, allocations: 9.378 MB / 0.5204 GB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1927/3.477, allocations: 14.51 MB / 0.5346 GB, free: 79.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007592/3.478, allocations: 106 kB / 0.5347 GB, free: 79.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003375/3.481, allocations: 44.75 kB / 0.5347 GB, free: 79.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003734/3.485, allocations: 1.586 MB / 0.5363 GB, free: 79.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/3.616, allocations: 76.68 MB / 0.6112 GB, free: 34.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/3.628, allocations: 5.592 MB / 0.6166 GB, free: 31.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009431/3.637, allocations: 4.594 MB / 0.6211 GB, free: 29.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0475/3.685, allocations: 14.75 MB / 0.6355 GB, free: 21.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/3.685, allocations: 61.97 kB / 0.6356 GB, free: 21.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=262): time 6.652e-06/3.685, allocations: 3.75 kB / 0.6356 GB, free: 21.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=342): time 0.3677/4.052, allocations: 43.37 MB / 0.6779 GB, free: 83.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/4.053, allocations: 294.4 kB / 0.6782 GB, free: 82.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01622/4.069, allocations: 5.726 MB / 0.6838 GB, free: 82.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001187/4.07, allocations: 29.02 kB / 0.6838 GB, free: 82.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004673/4.075, allocations: 4.469 MB / 0.6882 GB, free: 80.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002935/4.078, allocations: 1.277 MB / 0.6895 GB, free: 79.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/4.08, allocations: 3.562 kB / 0.6895 GB, free: 79.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0008819/4.081, allocations: 0.7072 MB / 0.6902 GB, free: 79.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01219/4.093, allocations: 4.394 MB / 0.6944 GB, free: 79.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01595/4.109, allocations: 9.747 MB / 0.704 GB, free: 72.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/4.125, allocations: 6.469 MB / 0.7103 GB, free: 72.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/4.125, allocations: 56.94 kB / 0.7103 GB, free: 72.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.1643/4.29, allocations: 24.62 MB / 0.7344 GB, free: 68.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/4.29, allocations: 3.875 kB / 0.7344 GB, free: 68.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1043/4.394, allocations: 16.01 MB / 0.75 GB, free: 62.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09389/4.488, allocations: 11.41 MB / 0.7612 GB, free: 54.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01657/4.505, allocations: 2.078 MB / 0.7632 GB, free: 52.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2522/4.757, allocations: 28.91 MB / 0.7914 GB, free: 70.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/4.772, allocations: 447.4 kB / 0.7918 GB, free: 70.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003756/4.776, allocations: 0.5659 MB / 0.7924 GB, free: 70.56 MB / 346.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 (1103): * Single equations (assignments): 1090 * 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.005569/4.781, allocations: 0.5791 MB / 0.793 GB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002113/4.783, allocations: 0.6279 MB / 0.7936 GB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04494/4.828, allocations: 9.776 MB / 0.8031 GB, free: 70.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04299/4.872, allocations: 8.574 MB / 0.8115 GB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.269e-05/4.872, allocations: 19.39 kB / 0.8115 GB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001188/4.872, allocations: 15.44 kB / 0.8115 GB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07876/4.951, allocations: 22.05 MB / 0.8331 GB, free: 64.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.709e-05/4.951, allocations: 3.281 kB / 0.8331 GB, free: 64.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005872/4.957, allocations: 481.3 kB / 0.8335 GB, free: 64.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0342/4.991, allocations: 3.821 MB / 0.8373 GB, free: 63.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001689/4.993, allocations: 59.89 kB / 0.8373 GB, free: 63.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06169/5.054, allocations: 21.79 MB / 0.8586 GB, free: 51.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002593/5.057, allocations: 2.772 MB / 0.8613 GB, free: 48.71 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04892/5.106, allocations: 15.21 MB / 0.8762 GB, free: 38.25 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06962/5.176, allocations: 20.6 MB / 0.8963 GB, free: 20.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006711/5.182, allocations: 1.293 MB / 0.8975 GB, free: 18.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002686/5.185, allocations: 39.36 kB / 0.8976 GB, free: 18.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008316/5.193, allocations: 168.1 kB / 0.8977 GB, free: 18.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00154/5.195, allocations: 161.3 kB / 0.8979 GB, free: 18.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005938/5.196, allocations: 103 kB / 0.898 GB, free: 18.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.012/5.208, allocations: 3.97 MB / 0.9019 GB, free: 15.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.1748/5.383, allocations: 1.919 MB / 0.9037 GB, free: 70.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (234): * Single equations (assignments): 223 * 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,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/5.384, allocations: 182.7 kB / 0.9039 GB, free: 70.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.03661/5.421, allocations: 11.22 MB / 0.9149 GB, free: 69.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/5.421, allocations: 0 / 0.9149 GB, free: 69.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01341/5.434, allocations: 4.812 MB / 0.9196 GB, free: 68.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/5.447, allocations: 0.7725 MB / 0.9203 GB, free: 68.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06287/5.51, allocations: 16.14 MB / 0.9361 GB, free: 65.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02207/5.532, allocations: 5.958 MB / 0.9419 GB, free: 65.06 MB / 346.7 MB Notification: Performance of SimCode: time 2.284e-06/5.532, allocations: 0 / 0.9419 GB, free: 65.06 MB / 346.7 MB