Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP2",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.002/2.002, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2442/2.246, allocations: 51.04 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/2.363, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/2.736, allocations: 101 MB / 417 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/2.737, allocations: 87 kB / 417.1 MB, free: 8.027 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.808/3.545, allocations: 124.6 MB / 0.529 GB, free: 87.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/3.545, allocations: 11.59 kB / 0.529 GB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04079/3.586, allocations: 4.296 MB / 0.5332 GB, free: 87.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03385/3.619, allocations: 6.692 MB / 0.5397 GB, free: 85.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008313/3.62, allocations: 260 kB / 0.54 GB, free: 85.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004042/3.624, allocations: 324.1 kB / 0.5403 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0324/3.657, allocations: 8.718 MB / 0.5488 GB, free: 81.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/3.696, allocations: 12.29 MB / 0.5608 GB, free: 68.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003453/3.696, allocations: 63.41 kB / 0.5608 GB, free: 68.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002803/3.699, allocations: 39.98 kB / 0.5609 GB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003044/3.702, allocations: 1.371 MB / 0.5622 GB, free: 67.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/3.802, allocations: 58.72 MB / 0.6196 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007648/3.81, allocations: 3.873 MB / 0.6233 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00585/3.816, allocations: 2.935 MB / 0.6262 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03728/3.853, allocations: 12.59 MB / 0.6385 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/3.853, allocations: 51.88 kB / 0.6386 GB, free: 2.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 9.077e-06/3.853, allocations: 0 / 0.6386 GB, free: 2.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.3656/4.219, allocations: 30.67 MB / 0.6685 GB, free: 138.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/4.219, allocations: 236.8 kB / 0.6687 GB, free: 138.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009088/4.228, allocations: 3.707 MB / 0.6724 GB, free: 138.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008474/4.229, allocations: 25.7 kB / 0.6724 GB, free: 138.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003528/4.233, allocations: 3.652 MB / 0.676 GB, free: 135.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/4.235, allocations: 0.8818 MB / 0.6768 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/4.236, allocations: 2.188 kB / 0.6768 GB, free: 135.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001556/4.238, allocations: 0.6249 MB / 0.6774 GB, free: 134.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01285/4.251, allocations: 3.154 MB / 0.6805 GB, free: 133.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/4.262, allocations: 7.529 MB / 0.6879 GB, free: 126.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/4.273, allocations: 4.798 MB / 0.6925 GB, free: 124.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/4.273, allocations: 46.78 kB / 0.6926 GB, free: 124.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.0515/4.324, allocations: 12.71 MB / 0.705 GB, free: 121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/4.324, allocations: 4.125 kB / 0.705 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003403/4.325, allocations: 156.8 kB / 0.7051 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02463/4.349, allocations: 3.583 MB / 0.7086 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/4.361, allocations: 1.644 MB / 0.7103 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04225/4.403, allocations: 16.06 MB / 0.7259 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/4.418, allocations: 291.5 kB / 0.7262 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002542/4.42, allocations: 449.9 kB / 0.7266 GB, free: 104.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (882): * Single equations (assignments): 878 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006223/4.426, allocations: 494.8 kB / 0.7271 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/4.428, allocations: 402.8 kB / 0.7275 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04668/4.475, allocations: 7.767 MB / 0.7351 GB, free: 97.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001305/4.475, allocations: 20 kB / 0.7351 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-05/4.475, allocations: 12 kB / 0.7351 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.775e-05/4.475, allocations: 15.16 kB / 0.7351 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06713/4.542, allocations: 15.94 MB / 0.7507 GB, free: 84.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/4.542, allocations: 0 / 0.7507 GB, free: 84.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/4.547, allocations: 355.5 kB / 0.751 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02773/4.574, allocations: 3.504 MB / 0.7545 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008483/4.575, allocations: 9.516 kB / 0.7545 GB, free: 81.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07809/4.653, allocations: 14.68 MB / 0.7688 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/4.653, allocations: 0 / 0.7688 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04278/4.696, allocations: 12.25 MB / 0.7808 GB, free: 53.92 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05502/4.751, allocations: 16.34 MB / 0.7967 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003453/4.755, allocations: 0.8941 MB / 0.7976 GB, free: 36.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001645/4.756, allocations: 3.656 kB / 0.7976 GB, free: 36.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005284/4.762, allocations: 119.8 kB / 0.7977 GB, free: 36.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009765/4.763, allocations: 109.8 kB / 0.7978 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/4.763, allocations: 65.3 kB / 0.7979 GB, free: 36.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006312/4.77, allocations: 2.489 MB / 0.8003 GB, free: 33.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01486/4.784, allocations: 1.251 MB / 0.8015 GB, free: 32.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/4.786, allocations: 185.7 kB / 0.8017 GB, free: 32.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1831/4.969, allocations: 7.505 MB / 0.809 GB, free: 137.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/4.969, allocations: 0 / 0.809 GB, free: 137.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006961/4.976, allocations: 2.802 MB / 0.8118 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/4.981, allocations: 389.3 kB / 0.8121 GB, free: 137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03487/5.016, allocations: 10.75 MB / 0.8226 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01186/5.027, allocations: 4.503 MB / 0.827 GB, free: 134.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/5.028, allocations: 0 / 0.827 GB, free: 134.4 MB / 426.7 MB