Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",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.645/1.645, allocations: 171.2 MB / 178.2 MB, free: 8.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1982/1.843, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/1.935, allocations: 38.75 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/2.25, allocations: 86.13 MB / 344.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/2.25, allocations: 81.95 kB / 344.2 MB, free: 2.156 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.5652/2.815, allocations: 85.57 MB / 429.8 MB, free: 74.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/2.816, allocations: 13.69 kB / 429.8 MB, free: 74.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/2.833, allocations: 1.824 MB / 431.6 MB, free: 73.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/2.851, allocations: 4.514 MB / 436.1 MB, free: 73.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/2.851, allocations: 135.1 kB / 436.3 MB, free: 73.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/2.854, allocations: 246.1 kB / 436.5 MB, free: 73.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01899/2.873, allocations: 6.533 MB / 443.1 MB, free: 73.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/2.901, allocations: 9.855 MB / 452.9 MB, free: 70.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003079/2.901, allocations: 67.08 kB / 453 MB, free: 70.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/2.903, allocations: 29.78 kB / 453 MB, free: 70.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/2.906, allocations: 1.051 MB / 454.1 MB, free: 70.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/2.984, allocations: 47.59 MB / 0.4899 GB, free: 34.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/2.992, allocations: 3.323 MB / 0.4931 GB, free: 32.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00459/2.996, allocations: 1.907 MB / 0.495 GB, free: 31.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/3.012, allocations: 5.929 MB / 0.5008 GB, free: 27.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/3.012, allocations: 51.08 kB / 0.5008 GB, free: 27.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.041e-06/3.012, allocations: 0 / 0.5008 GB, free: 27.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.03888/3.051, allocations: 11.23 MB / 0.5118 GB, free: 17.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/3.051, allocations: 145.3 kB / 0.5119 GB, free: 17.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008477/3.059, allocations: 3.186 MB / 0.5151 GB, free: 14.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00047/3.06, allocations: 29.7 kB / 0.5151 GB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/3.063, allocations: 3.043 MB / 0.5181 GB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/3.064, allocations: 0.5806 MB / 0.5186 GB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007579/3.064, allocations: 0 / 0.5186 GB, free: 10.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005112/3.065, allocations: 0.5623 MB / 0.5192 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005567/3.071, allocations: 1.922 MB / 0.521 GB, free: 8.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008424/3.079, allocations: 5.855 MB / 0.5268 GB, free: 1.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/3.089, allocations: 3.368 MB / 0.5301 GB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/3.089, allocations: 44 kB / 0.5301 GB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02753/3.117, allocations: 7.436 MB / 0.5374 GB, free: 7.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/3.117, allocations: 4 kB / 0.5374 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003122/3.117, allocations: 140 kB / 0.5375 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/3.122, allocations: 0.8696 MB / 0.5383 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/3.132, allocations: 1.423 MB / 0.5397 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/3.143, allocations: 4.489 MB / 0.5441 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/3.151, allocations: 195.8 kB / 0.5443 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1485/3.299, allocations: 390.8 kB / 0.5447 GB, free: 112.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * 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 (760): * Single equations (assignments): 756 * 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.002364/3.302, allocations: 462.5 kB / 0.5451 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009504/3.303, allocations: 320.1 kB / 0.5454 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/3.313, allocations: 2.685 MB / 0.548 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/3.313, allocations: 15.44 kB / 0.5481 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/3.313, allocations: 5.156 kB / 0.5481 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/3.313, allocations: 10.16 kB / 0.5481 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/3.335, allocations: 6.133 MB / 0.5541 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/3.335, allocations: 0 / 0.5541 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/3.338, allocations: 231.2 kB / 0.5543 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/3.342, allocations: 0.6394 MB / 0.5549 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005216/3.343, allocations: 11.03 kB / 0.5549 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009311/3.352, allocations: 4.11 MB / 0.5589 GB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/3.352, allocations: 0 / 0.5589 GB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01376/3.366, allocations: 5.075 MB / 0.5639 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01717/3.383, allocations: 7.121 MB / 0.5708 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/3.386, allocations: 0.5703 MB / 0.5714 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/3.387, allocations: 3.125 kB / 0.5714 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/3.39, allocations: 49.94 kB / 0.5714 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/3.39, allocations: 71.64 kB / 0.5715 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/3.39, allocations: 42.8 kB / 0.5716 GB, free: 109.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.005902/3.396, allocations: 2.131 MB / 0.5736 GB, free: 109.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008552/3.405, allocations: 0.8207 MB / 0.5744 GB, free: 109.1 MB / 362.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 (115): * Single equations (assignments): 111 * 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.0008383/3.406, allocations: 145.4 kB / 0.5746 GB, free: 109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01132/3.417, allocations: 4.562 MB / 0.579 GB, free: 108 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/3.417, allocations: 0 / 0.579 GB, free: 108 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003178/3.42, allocations: 1.327 MB / 0.5803 GB, free: 107.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/3.424, allocations: 304.5 kB / 0.5806 GB, free: 107.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/3.453, allocations: 7.235 MB / 0.5877 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00967/3.463, allocations: 3.594 MB / 0.5912 GB, free: 103.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/3.463, allocations: 0 / 0.5912 GB, free: 103.7 MB / 362.7 MB