Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",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.646/1.646, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2065/1.853, allocations: 46.84 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/1.939, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/2.227, allocations: 92.26 MB / 386.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/2.227, allocations: 78.27 kB / 386.2 MB, free: 4.484 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.4209/2.648, allocations: 99.43 MB / 485.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/2.648, allocations: 8 kB / 485.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/2.666, allocations: 1.923 MB / 487.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/2.686, allocations: 4.968 MB / 492.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/2.686, allocations: 172 kB / 492.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/2.689, allocations: 303.9 kB / 493 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02322/2.712, allocations: 7.974 MB / 0.4892 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1571/2.869, allocations: 11.75 MB / 0.5007 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/2.87, allocations: 65.12 kB / 0.5008 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002001/2.872, allocations: 32.81 kB / 0.5008 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/2.874, allocations: 1.262 MB / 0.502 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08905/2.963, allocations: 55.58 MB / 0.5563 GB, free: 76.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008357/2.972, allocations: 4.45 MB / 0.5606 GB, free: 75.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006441/2.978, allocations: 3.314 MB / 0.5639 GB, free: 73.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02614/3.005, allocations: 9.994 MB / 0.5736 GB, free: 68.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/3.005, allocations: 61.16 kB / 0.5737 GB, free: 68.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=215): time 6.302e-06/3.005, allocations: 0 / 0.5737 GB, free: 68.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=246): time 0.07922/3.084, allocations: 22.27 MB / 0.5954 GB, free: 60.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/3.084, allocations: 157 kB / 0.5956 GB, free: 60.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007733/3.092, allocations: 3.397 MB / 0.5989 GB, free: 59.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000719/3.093, allocations: 25.7 kB / 0.5989 GB, free: 59.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/3.095, allocations: 3.421 MB / 0.6023 GB, free: 56.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/3.097, allocations: 0.9014 MB / 0.6032 GB, free: 55.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009241/3.098, allocations: 3.094 kB / 0.6032 GB, free: 55.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005148/3.098, allocations: 0.6056 MB / 0.6037 GB, free: 55.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008029/3.106, allocations: 2.962 MB / 0.6066 GB, free: 54.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009928/3.116, allocations: 7.129 MB / 0.6136 GB, free: 46.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/3.127, allocations: 4.556 MB / 0.6181 GB, free: 42.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/3.127, allocations: 40 kB / 0.6181 GB, free: 42.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.02926/3.156, allocations: 10.06 MB / 0.6279 GB, free: 33.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/3.156, allocations: 11.59 kB / 0.6279 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/3.156, allocations: 151.3 kB / 0.6281 GB, free: 33.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/3.162, allocations: 1.082 MB / 0.6291 GB, free: 32.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/3.174, allocations: 1.734 MB / 0.6308 GB, free: 31.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/3.185, allocations: 5.526 MB / 0.6362 GB, free: 26.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/3.195, allocations: 252.6 kB / 0.6365 GB, free: 25.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/3.196, allocations: 451.2 kB / 0.6369 GB, free: 25.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (894): * Single equations (assignments): 890 * 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.001775/3.198, allocations: 484.8 kB / 0.6373 GB, free: 25.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/3.199, allocations: 370.5 kB / 0.6377 GB, free: 24.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/3.216, allocations: 5.361 MB / 0.6429 GB, free: 20.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/3.216, allocations: 20 kB / 0.643 GB, free: 20.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/3.216, allocations: 7.938 kB / 0.643 GB, free: 20.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/3.216, allocations: 15.44 kB / 0.643 GB, free: 20.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03143/3.247, allocations: 10.73 MB / 0.6535 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/3.247, allocations: 4 kB / 0.6535 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005578/3.253, allocations: 463.7 kB / 0.6539 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/3.258, allocations: 0.8683 MB / 0.6547 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006929/3.259, allocations: 19.92 kB / 0.6548 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/3.269, allocations: 5.232 MB / 0.6599 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/3.269, allocations: 11.84 kB / 0.6599 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1576/3.427, allocations: 9.557 MB / 0.6692 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02968/3.457, allocations: 13.34 MB / 0.6822 GB, free: 99.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/3.46, allocations: 0.8379 MB / 0.6831 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/3.461, allocations: 3.812 kB / 0.6831 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00448/3.466, allocations: 95.73 kB / 0.6832 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008002/3.467, allocations: 126 kB / 0.6833 GB, free: 99.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/3.467, allocations: 73.83 kB / 0.6834 GB, free: 99.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005329/3.473, allocations: 2.27 MB / 0.6856 GB, free: 99.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009218/3.482, allocations: 1.089 MB / 0.6866 GB, free: 99.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 215 * 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 Backend phase and start with SimCode phase: time 0.001021/3.483, allocations: 144.4 kB / 0.6868 GB, free: 98.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/3.499, allocations: 7.002 MB / 0.6936 GB, free: 98.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/3.499, allocations: 2.438 kB / 0.6936 GB, free: 98.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00651/3.506, allocations: 2.633 MB / 0.6962 GB, free: 98.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/3.509, allocations: 344.3 kB / 0.6965 GB, free: 98.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/3.541, allocations: 10.01 MB / 0.7063 GB, free: 96.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01136/3.552, allocations: 4.254 MB / 0.7104 GB, free: 95.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/3.552, allocations: 0 / 0.7104 GB, free: 95.45 MB / 394.7 MB