Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_1_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 1.938/1.938, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2639/2.202, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/2.324, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/2.66, allocations: 95.35 MB / 411.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/2.66, allocations: 90.53 kB / 411.4 MB, free: 13.62 MB / 346.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.7857/3.446, allocations: 99.66 MB / 0.4991 GB, free: 81.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/3.446, allocations: 7.875 kB / 0.4991 GB, free: 81.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/3.464, allocations: 1.928 MB / 0.501 GB, free: 81.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/3.485, allocations: 5.028 MB / 0.5059 GB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/3.485, allocations: 165.8 kB / 0.5061 GB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/3.488, allocations: 306.8 kB / 0.5064 GB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02485/3.513, allocations: 8.038 MB / 0.5142 GB, free: 80.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03985/3.553, allocations: 11.69 MB / 0.5256 GB, free: 77.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003576/3.554, allocations: 66.72 kB / 0.5257 GB, free: 77.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/3.556, allocations: 32.16 kB / 0.5257 GB, free: 77.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0028/3.559, allocations: 1.276 MB / 0.527 GB, free: 77.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/3.667, allocations: 54.26 MB / 0.5799 GB, free: 38.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009638/3.676, allocations: 4.569 MB / 0.5844 GB, free: 35.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006907/3.683, allocations: 3.422 MB / 0.5878 GB, free: 32.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05417/3.737, allocations: 10.61 MB / 0.5981 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/3.738, allocations: 59.81 kB / 0.5982 GB, free: 23.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 8.556e-06/3.738, allocations: 4 kB / 0.5982 GB, free: 23.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.1444/3.882, allocations: 22.8 MB / 0.6204 GB, free: 2.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/3.882, allocations: 154.4 kB / 0.6206 GB, free: 2.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/3.896, allocations: 3.335 MB / 0.6238 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/3.897, allocations: 25.7 kB / 0.6239 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005481/3.902, allocations: 3.374 MB / 0.6272 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002598/3.905, allocations: 0.9057 MB / 0.628 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/3.906, allocations: 0 / 0.628 GB, free: 10.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001061/3.907, allocations: 0.6035 MB / 0.6286 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01361/3.921, allocations: 2.962 MB / 0.6315 GB, free: 7.266 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1783/4.099, allocations: 7.001 MB / 0.6384 GB, free: 129.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/4.111, allocations: 4.521 MB / 0.6428 GB, free: 129.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/4.111, allocations: 39.16 kB / 0.6428 GB, free: 129.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.03244/4.143, allocations: 9.984 MB / 0.6526 GB, free: 129.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/4.143, allocations: 8.031 kB / 0.6526 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/4.144, allocations: 144.3 kB / 0.6527 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007148/4.151, allocations: 1.072 MB / 0.6538 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01567/4.167, allocations: 1.705 MB / 0.6554 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/4.178, allocations: 5.519 MB / 0.6608 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009728/4.188, allocations: 241.1 kB / 0.661 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/4.19, allocations: 438.4 kB / 0.6615 GB, free: 128 MB / 426.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.002089/4.193, allocations: 476.8 kB / 0.6619 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/4.194, allocations: 364.6 kB / 0.6623 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/4.218, allocations: 5.426 MB / 0.6676 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/4.218, allocations: 24.09 kB / 0.6676 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/4.218, allocations: 8.969 kB / 0.6676 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.314e-05/4.219, allocations: 12 kB / 0.6676 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03843/4.257, allocations: 10.9 MB / 0.6782 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/4.257, allocations: 5.75 kB / 0.6783 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005854/4.263, allocations: 469.7 kB / 0.6787 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005259/4.268, allocations: 0.8673 MB / 0.6795 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007743/4.269, allocations: 18.62 kB / 0.6796 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/4.283, allocations: 5.249 MB / 0.6847 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/4.284, allocations: 3.719 kB / 0.6847 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03357/4.317, allocations: 9.695 MB / 0.6942 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04043/4.358, allocations: 13.55 MB / 0.7074 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/4.361, allocations: 0.8457 MB / 0.7082 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/4.363, allocations: 11.97 kB / 0.7082 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005413/4.368, allocations: 98.58 kB / 0.7083 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/4.37, allocations: 127 kB / 0.7085 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004235/4.37, allocations: 68 kB / 0.7085 GB, free: 112.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.008519/4.379, allocations: 2.235 MB / 0.7107 GB, free: 110.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01662/4.395, allocations: 1.081 MB / 0.7118 GB, free: 109.1 MB / 426.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.001196/4.397, allocations: 157.7 kB / 0.7119 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02223/4.419, allocations: 7.002 MB / 0.7187 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/4.419, allocations: 3.938 kB / 0.7187 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007447/4.426, allocations: 2.68 MB / 0.7214 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/4.43, allocations: 341.6 kB / 0.7217 GB, free: 99.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/4.47, allocations: 10.07 MB / 0.7315 GB, free: 91.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01234/4.483, allocations: 4.243 MB / 0.7357 GB, free: 87.78 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/4.483, allocations: 0 / 0.7357 GB, free: 87.78 MB / 426.7 MB