Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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(ModelicaTest): time 2.26/2.26, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/2.449, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/2.745, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/3.168, allocations: 101.9 MB / 455.9 MB, free: 34.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/3.169, allocations: 88.75 kB / 456 MB, free: 34.59 MB / 378.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.4619/3.631, allocations: 99.65 MB / 0.5426 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/3.631, allocations: 12 kB / 0.5426 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/3.658, allocations: 1.927 MB / 0.5445 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/3.688, allocations: 5.023 MB / 0.5494 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006549/3.689, allocations: 168 kB / 0.5496 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/3.693, allocations: 307.9 kB / 0.5499 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03469/3.728, allocations: 8.037 MB / 0.5577 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04954/3.777, allocations: 11.68 MB / 0.5691 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005196/3.778, allocations: 63.41 kB / 0.5692 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003617/3.782, allocations: 32 kB / 0.5692 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004727/3.786, allocations: 1.285 MB / 0.5705 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3566/4.143, allocations: 54.27 MB / 0.6235 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009002/4.152, allocations: 4.556 MB / 0.6279 GB, free: 108.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007132/4.159, allocations: 3.416 MB / 0.6313 GB, free: 108.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/4.192, allocations: 10.61 MB / 0.6416 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/4.192, allocations: 57.45 kB / 0.6417 GB, free: 106.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 6.332e-06/4.193, allocations: 0 / 0.6417 GB, free: 106.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1323/4.325, allocations: 22.8 MB / 0.6639 GB, free: 103.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/4.325, allocations: 152.7 kB / 0.6641 GB, free: 102.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/4.338, allocations: 3.327 MB / 0.6673 GB, free: 102.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001092/4.34, allocations: 26.33 kB / 0.6674 GB, free: 102.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005717/4.345, allocations: 3.38 MB / 0.6707 GB, free: 100.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003418/4.349, allocations: 0.8972 MB / 0.6715 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002872/4.352, allocations: 0.9688 kB / 0.6715 GB, free: 100.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001684/4.354, allocations: 0.6087 MB / 0.6721 GB, free: 99.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01439/4.368, allocations: 2.962 MB / 0.675 GB, free: 99.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/4.38, allocations: 7.007 MB / 0.6819 GB, free: 92.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/4.391, allocations: 4.512 MB / 0.6863 GB, free: 91.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/4.392, allocations: 43.19 kB / 0.6863 GB, free: 91.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.04009/4.432, allocations: 9.987 MB / 0.6961 GB, free: 88.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/4.432, allocations: 7.844 kB / 0.6961 GB, free: 88.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002598/4.432, allocations: 143.3 kB / 0.6962 GB, free: 88.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/4.438, allocations: 1.076 MB / 0.6973 GB, free: 88.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/4.451, allocations: 1.701 MB / 0.6989 GB, free: 88.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/4.468, allocations: 5.528 MB / 0.7043 GB, free: 85.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01535/4.484, allocations: 242.4 kB / 0.7046 GB, free: 85.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003276/4.487, allocations: 438 kB / 0.705 GB, free: 85.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (876): * Single equations (assignments): 872 * 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.0046/4.492, allocations: 471.7 kB / 0.7054 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002275/4.494, allocations: 370.2 kB / 0.7058 GB, free: 84.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03041/4.524, allocations: 5.423 MB / 0.7111 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001703/4.525, allocations: 23.47 kB / 0.7111 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/4.525, allocations: 7.719 kB / 0.7111 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-05/4.525, allocations: 11.67 kB / 0.7111 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05775/4.582, allocations: 10.89 MB / 0.7218 GB, free: 76.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.027e-05/4.583, allocations: 10.69 kB / 0.7218 GB, free: 76.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009022/4.592, allocations: 465.8 kB / 0.7222 GB, free: 76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008978/4.601, allocations: 0.8683 MB / 0.7231 GB, free: 75.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/4.602, allocations: 19.56 kB / 0.7231 GB, free: 75.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02441/4.626, allocations: 5.241 MB / 0.7282 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-05/4.627, allocations: 7.938 kB / 0.7282 GB, free: 70.71 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04206/4.669, allocations: 9.697 MB / 0.7377 GB, free: 62.09 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04645/4.715, allocations: 13.55 MB / 0.7509 GB, free: 49.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004673/4.72, allocations: 0.8379 MB / 0.7517 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/4.722, allocations: 4 kB / 0.7517 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007415/4.73, allocations: 107 kB / 0.7518 GB, free: 49.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/4.731, allocations: 136.7 kB / 0.752 GB, free: 49.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009862/4.732, allocations: 67.89 kB / 0.752 GB, free: 49 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00887/4.741, allocations: 2.222 MB / 0.7542 GB, free: 47.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01576/4.757, allocations: 1.087 MB / 0.7553 GB, free: 45.99 MB / 474.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,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 218 * 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.001687/4.759, allocations: 147.8 kB / 0.7554 GB, free: 45.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02498/4.784, allocations: 7.006 MB / 0.7622 GB, free: 39.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/4.784, allocations: 3.938 kB / 0.7622 GB, free: 39.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01063/4.795, allocations: 2.682 MB / 0.7649 GB, free: 37.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/4.8, allocations: 330.8 kB / 0.7652 GB, free: 36.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0533/4.854, allocations: 10.07 MB / 0.775 GB, free: 28.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01893/4.873, allocations: 4.253 MB / 0.7792 GB, free: 24.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.834e-06/4.873, allocations: 0 / 0.7792 GB, free: 24.76 MB / 474.7 MB