Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_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.584/1.584, allocations: 171.2 MB / 178.1 MB, free: 320 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1497/1.734, allocations: 41.1 MB / 219.2 MB, free: 7.152 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/1.995, allocations: 38.76 MB / 258 MB, free: 12.37 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/2.162, allocations: 86.53 MB / 344.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/2.163, allocations: 83.95 kB / 344.6 MB, free: 7.367 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.5829/2.746, allocations: 99.43 MB / 444.1 MB, free: 31.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/2.746, allocations: 15.98 kB / 444.1 MB, free: 31.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/2.764, allocations: 1.927 MB / 446 MB, free: 29.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/2.788, allocations: 4.968 MB / 451 MB, free: 24.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/2.788, allocations: 168 kB / 451.1 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003334/2.791, allocations: 303.9 kB / 451.4 MB, free: 24.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02298/2.814, allocations: 7.97 MB / 459.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03982/2.854, allocations: 11.75 MB / 471.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005729/2.855, allocations: 63.41 kB / 471.2 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003828/2.859, allocations: 32 kB / 471.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/2.863, allocations: 1.273 MB / 472.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2819/3.145, allocations: 55.57 MB / 0.5157 GB, free: 66.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009185/3.154, allocations: 4.44 MB / 0.52 GB, free: 65.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006868/3.161, allocations: 3.312 MB / 0.5233 GB, free: 65.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/3.195, allocations: 10 MB / 0.533 GB, free: 63.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/3.195, allocations: 57.62 kB / 0.5331 GB, free: 63.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=215): time 6.853e-06/3.195, allocations: 0 / 0.5331 GB, free: 63.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=246): time 0.09871/3.294, allocations: 22.28 MB / 0.5548 GB, free: 57.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/3.294, allocations: 156.1 kB / 0.555 GB, free: 57.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009023/3.303, allocations: 3.409 MB / 0.5583 GB, free: 56.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008988/3.304, allocations: 25.7 kB / 0.5583 GB, free: 56.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003033/3.307, allocations: 3.414 MB / 0.5617 GB, free: 53.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/3.309, allocations: 0.9048 MB / 0.5626 GB, free: 53.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/3.31, allocations: 1.531 kB / 0.5626 GB, free: 53.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.001141/3.312, allocations: 0.6058 MB / 0.5632 GB, free: 52.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/3.323, allocations: 2.96 MB / 0.566 GB, free: 51.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/3.335, allocations: 7.134 MB / 0.573 GB, free: 45.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/3.347, allocations: 4.554 MB / 0.5775 GB, free: 43.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002522/3.348, allocations: 42.62 kB / 0.5775 GB, free: 43.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.03887/3.387, allocations: 10.07 MB / 0.5873 GB, free: 36.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/3.387, allocations: 5.406 kB / 0.5873 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002254/3.387, allocations: 156.5 kB / 0.5875 GB, free: 35.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/3.392, allocations: 1.073 MB / 0.5885 GB, free: 35.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/3.405, allocations: 1.734 MB / 0.5902 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/3.417, allocations: 5.539 MB / 0.5956 GB, free: 28.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009761/3.427, allocations: 241.7 kB / 0.5959 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/3.429, allocations: 453.9 kB / 0.5963 GB, free: 28.08 MB / 346.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.003162/3.432, allocations: 478.9 kB / 0.5968 GB, free: 27.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/3.434, allocations: 367.2 kB / 0.5971 GB, free: 27.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/3.452, allocations: 5.357 MB / 0.6023 GB, free: 22.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/3.452, allocations: 24 kB / 0.6024 GB, free: 22.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/3.452, allocations: 4 kB / 0.6024 GB, free: 22.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/3.452, allocations: 13.61 kB / 0.6024 GB, free: 22.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/3.486, allocations: 10.74 MB / 0.6129 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/3.486, allocations: 7.312 kB / 0.6129 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00596/3.492, allocations: 460.9 kB / 0.6133 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005265/3.497, allocations: 0.8636 MB / 0.6141 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007326/3.498, allocations: 19.42 kB / 0.6142 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/3.509, allocations: 5.238 MB / 0.6193 GB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/3.509, allocations: 7.938 kB / 0.6193 GB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1667/3.676, allocations: 9.58 MB / 0.6286 GB, free: 88.05 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03166/3.707, allocations: 13.35 MB / 0.6417 GB, free: 86.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/3.711, allocations: 0.8481 MB / 0.6425 GB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/3.713, allocations: 3.562 kB / 0.6425 GB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004973/3.718, allocations: 90.52 kB / 0.6426 GB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/3.719, allocations: 132 kB / 0.6427 GB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003926/3.72, allocations: 70.19 kB / 0.6428 GB, free: 86.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.006369/3.726, allocations: 2.279 MB / 0.645 GB, free: 86.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01677/3.743, allocations: 1.08 MB / 0.6461 GB, free: 86.41 MB / 346.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.001629/3.744, allocations: 161 kB / 0.6462 GB, free: 86.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01954/3.764, allocations: 7.001 MB / 0.6531 GB, free: 86.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/3.764, allocations: 0 / 0.6531 GB, free: 86.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007312/3.771, allocations: 2.635 MB / 0.6556 GB, free: 86.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/3.776, allocations: 333.7 kB / 0.656 GB, free: 86.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/3.811, allocations: 10.02 MB / 0.6657 GB, free: 83.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01328/3.825, allocations: 4.253 MB / 0.6699 GB, free: 82.49 MB / 346.7 MB Notification: Performance of SimCode: time 2.364e-06/3.825, allocations: 0 / 0.6699 GB, free: 82.49 MB / 346.7 MB