Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_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.561/1.561, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/1.754, allocations: 46.84 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/1.84, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/2.127, allocations: 91.56 MB / 385.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/2.127, allocations: 88.28 kB / 385.5 MB, free: 4.613 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.3638/2.491, allocations: 85.56 MB / 471.1 MB, free: 292 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/2.491, allocations: 8 kB / 471.1 MB, free: 284 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/2.508, allocations: 1.823 MB / 472.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/2.526, allocations: 4.516 MB / 477.4 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/2.526, allocations: 136 kB / 477.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/2.529, allocations: 247.9 kB / 477.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01878/2.548, allocations: 6.533 MB / 484.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/2.574, allocations: 9.858 MB / 494.2 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/2.575, allocations: 59.41 kB / 494.2 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/2.576, allocations: 32 kB / 494.3 MB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/2.578, allocations: 1.053 MB / 495.3 MB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1961/2.774, allocations: 47.59 MB / 0.5302 GB, free: 90.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/2.781, allocations: 3.323 MB / 0.5334 GB, free: 89.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/2.784, allocations: 1.915 MB / 0.5353 GB, free: 89.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/2.798, allocations: 5.933 MB / 0.5411 GB, free: 87.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/2.798, allocations: 44.75 kB / 0.5411 GB, free: 87.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.16e-06/2.798, allocations: 2.953 kB / 0.5411 GB, free: 87.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.03331/2.832, allocations: 11.24 MB / 0.5521 GB, free: 84.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/2.832, allocations: 142.8 kB / 0.5522 GB, free: 84.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006537/2.838, allocations: 3.179 MB / 0.5553 GB, free: 83.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/2.839, allocations: 25.7 kB / 0.5554 GB, free: 83.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/2.841, allocations: 3.051 MB / 0.5584 GB, free: 81.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/2.842, allocations: 0.5773 MB / 0.5589 GB, free: 81.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/2.843, allocations: 4.688 kB / 0.5589 GB, free: 81.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/2.843, allocations: 0.5647 MB / 0.5595 GB, free: 80.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/2.847, allocations: 1.922 MB / 0.5614 GB, free: 80 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006736/2.854, allocations: 5.857 MB / 0.5671 GB, free: 73.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/2.862, allocations: 3.349 MB / 0.5703 GB, free: 73.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.832e-05/2.862, allocations: 41.25 kB / 0.5704 GB, free: 73.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02191/2.884, allocations: 7.427 MB / 0.5776 GB, free: 70.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/2.884, allocations: 7.25 kB / 0.5776 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/2.884, allocations: 140.9 kB / 0.5778 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/2.888, allocations: 0.8765 MB / 0.5786 GB, free: 70.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008833/2.897, allocations: 1.421 MB / 0.58 GB, free: 70.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/2.906, allocations: 4.492 MB / 0.5844 GB, free: 68.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/2.913, allocations: 199.6 kB / 0.5846 GB, free: 68.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/2.915, allocations: 392.3 kB / 0.585 GB, free: 68.04 MB / 394.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.001047/2.916, allocations: 459.2 kB / 0.5854 GB, free: 67.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007697/2.916, allocations: 311.4 kB / 0.5857 GB, free: 67.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009406/2.926, allocations: 2.696 MB / 0.5883 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/2.926, allocations: 13.09 kB / 0.5883 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/2.926, allocations: 4.344 kB / 0.5884 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/2.926, allocations: 9.016 kB / 0.5884 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/2.945, allocations: 6.13 MB / 0.5943 GB, free: 63.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/2.945, allocations: 0 / 0.5943 GB, free: 63.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/2.948, allocations: 232.8 kB / 0.5946 GB, free: 63.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003986/2.952, allocations: 0.6348 MB / 0.5952 GB, free: 62.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/2.953, allocations: 7.891 kB / 0.5952 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008258/2.961, allocations: 4.12 MB / 0.5992 GB, free: 59.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/2.961, allocations: 7.641 kB / 0.5992 GB, free: 59.17 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01238/2.973, allocations: 5.069 MB / 0.6042 GB, free: 54.74 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01582/2.989, allocations: 7.123 MB / 0.6111 GB, free: 48.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/2.991, allocations: 0.5686 MB / 0.6117 GB, free: 47.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006936/2.992, allocations: 7.75 kB / 0.6117 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/2.994, allocations: 46.58 kB / 0.6117 GB, free: 47.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/2.994, allocations: 69.8 kB / 0.6118 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/2.995, allocations: 39.28 kB / 0.6118 GB, free: 47.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004789/2.999, allocations: 2.129 MB / 0.6139 GB, free: 45.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007796/3.007, allocations: 0.8176 MB / 0.6147 GB, free: 45.13 MB / 394.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.0005658/3.008, allocations: 146.4 kB / 0.6149 GB, free: 44.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/3.018, allocations: 4.555 MB / 0.6193 GB, free: 40.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/3.018, allocations: 0 / 0.6193 GB, free: 40.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/3.021, allocations: 1.325 MB / 0.6206 GB, free: 39.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/3.024, allocations: 314.8 kB / 0.6209 GB, free: 39.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/3.046, allocations: 7.233 MB / 0.628 GB, free: 32.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00771/3.054, allocations: 3.587 MB / 0.6315 GB, free: 30.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/3.054, allocations: 0 / 0.6315 GB, free: 30.14 MB / 394.7 MB