Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.3/2.3, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1602/2.46, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/2.791, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/3.213, allocations: 98.71 MB / 452.7 MB, free: 33.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005337/3.214, allocations: 77.95 kB / 452.8 MB, free: 33.04 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.4127/3.626, allocations: 81.57 MB / 0.5218 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.498e-05/3.627, allocations: 12 kB / 0.5218 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04144/3.668, allocations: 3.941 MB / 0.5257 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02078/3.689, allocations: 4.557 MB / 0.5301 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/3.689, allocations: 120 kB / 0.5302 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/3.692, allocations: 223.9 kB / 0.5304 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01988/3.712, allocations: 5.782 MB / 0.5361 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/3.74, allocations: 8.823 MB / 0.5447 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/3.741, allocations: 63.45 kB / 0.5448 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/3.743, allocations: 32 kB / 0.5448 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002285/3.745, allocations: 0.9938 MB / 0.5458 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/3.858, allocations: 42.54 MB / 0.5873 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008142/3.866, allocations: 3.367 MB / 0.5906 GB, free: 7.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/3.871, allocations: 2.061 MB / 0.5926 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/3.894, allocations: 6.057 MB / 0.5985 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/3.895, allocations: 55.19 kB / 0.5986 GB, free: 15.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.72e-06/3.895, allocations: 3.938 kB / 0.5986 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.06176/3.956, allocations: 12.97 MB / 0.6113 GB, free: 2.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/3.957, allocations: 175.2 kB / 0.6114 GB, free: 1.926 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1968/4.153, allocations: 2.784 MB / 0.6141 GB, free: 154.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006037/4.154, allocations: 29.45 kB / 0.6142 GB, free: 154.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/4.157, allocations: 2.716 MB / 0.6168 GB, free: 153.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/4.158, allocations: 0.6451 MB / 0.6174 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000869/4.159, allocations: 0 / 0.6174 GB, free: 153.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005377/4.159, allocations: 0.5451 MB / 0.618 GB, free: 152.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006219/4.166, allocations: 2.072 MB / 0.62 GB, free: 152.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008224/4.174, allocations: 5.52 MB / 0.6254 GB, free: 148.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/4.185, allocations: 3.388 MB / 0.6287 GB, free: 148.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/4.185, allocations: 35.12 kB / 0.6287 GB, free: 148.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02452/4.21, allocations: 7.454 MB / 0.636 GB, free: 147.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/4.21, allocations: 3.844 kB / 0.636 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/4.21, allocations: 126.2 kB / 0.6361 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/4.214, allocations: 0.8995 MB / 0.637 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009338/4.224, allocations: 1.298 MB / 0.6383 GB, free: 147.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/4.237, allocations: 5.587 MB / 0.6437 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007339/4.244, allocations: 181.7 kB / 0.6439 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/4.246, allocations: 351.7 kB / 0.6443 GB, free: 146.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * 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 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00255/4.248, allocations: 404 kB / 0.6446 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009139/4.249, allocations: 293.3 kB / 0.6449 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/4.261, allocations: 3.329 MB / 0.6482 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/4.261, allocations: 14.28 kB / 0.6482 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/4.261, allocations: 6.969 kB / 0.6482 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/4.261, allocations: 13.89 kB / 0.6482 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/4.286, allocations: 7.33 MB / 0.6554 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/4.286, allocations: 0 / 0.6554 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/4.289, allocations: 256 kB / 0.6556 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/4.293, allocations: 0.7051 MB / 0.6563 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/4.294, allocations: 10.3 kB / 0.6563 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/4.306, allocations: 5.09 MB / 0.6613 GB, free: 142.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/4.306, allocations: 3.625 kB / 0.6613 GB, free: 142.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0154/4.321, allocations: 6.133 MB / 0.6673 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02032/4.342, allocations: 8.659 MB / 0.6757 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/4.344, allocations: 0.6134 MB / 0.6763 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/4.346, allocations: 7.938 kB / 0.6763 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/4.349, allocations: 56.88 kB / 0.6764 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/4.35, allocations: 73.11 kB / 0.6765 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/4.35, allocations: 49.73 kB / 0.6765 GB, free: 135.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00543/4.356, allocations: 1.863 MB / 0.6783 GB, free: 134.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008783/4.364, allocations: 0.8016 MB / 0.6791 GB, free: 134.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 128 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009871/4.365, allocations: 140.3 kB / 0.6792 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02143/4.387, allocations: 5.023 MB / 0.6841 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/4.387, allocations: 0 / 0.6841 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008591/4.396, allocations: 1.774 MB / 0.6859 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/4.4, allocations: 298.6 kB / 0.6862 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/4.44, allocations: 7.295 MB / 0.6933 GB, free: 129.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0108/4.451, allocations: 3.383 MB / 0.6966 GB, free: 127.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/4.451, allocations: 0 / 0.6966 GB, free: 127.3 MB / 474.7 MB