Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",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.281/2.281, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2174/2.498, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/2.762, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/3.144, allocations: 104.9 MB / 458.9 MB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/3.145, allocations: 78.52 kB / 459 MB, free: 35.12 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.6595/3.804, allocations: 138.1 MB / 0.5831 GB, free: 1.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/3.804, allocations: 8 kB / 0.5831 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06176/3.866, allocations: 6.994 MB / 0.59 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04291/3.909, allocations: 9.833 MB / 0.5996 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005242/3.91, allocations: 208 kB / 0.5998 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/3.913, allocations: 403.7 kB / 0.6001 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03918/3.953, allocations: 10.05 MB / 0.61 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2098/4.163, allocations: 14.57 MB / 0.6242 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005414/4.163, allocations: 104.9 kB / 0.6243 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/4.166, allocations: 41.75 kB / 0.6243 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003823/4.17, allocations: 1.695 MB / 0.626 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1377/4.308, allocations: 75.83 MB / 0.7 GB, free: 70.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/4.319, allocations: 5.311 MB / 0.7052 GB, free: 69.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01114/4.331, allocations: 4.284 MB / 0.7094 GB, free: 68.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04067/4.371, allocations: 14.29 MB / 0.7234 GB, free: 60.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/4.371, allocations: 70.06 kB / 0.7234 GB, free: 60.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=280): time 7.083e-06/4.371, allocations: 0 / 0.7234 GB, free: 60.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.2105/4.582, allocations: 39.19 MB / 0.7617 GB, free: 47.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/4.582, allocations: 272.8 kB / 0.762 GB, free: 47.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/4.598, allocations: 4.733 MB / 0.7666 GB, free: 45.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/4.599, allocations: 27.2 kB / 0.7666 GB, free: 45.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004251/4.604, allocations: 4.31 MB / 0.7708 GB, free: 42.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002496/4.606, allocations: 1.285 MB / 0.7721 GB, free: 41.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/4.608, allocations: 2.781 kB / 0.7721 GB, free: 41.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009903/4.609, allocations: 0.7079 MB / 0.7728 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01442/4.623, allocations: 3.678 MB / 0.7764 GB, free: 38.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/4.64, allocations: 8.995 MB / 0.7851 GB, free: 27.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/4.656, allocations: 6.01 MB / 0.791 GB, free: 23.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/4.656, allocations: 52 kB / 0.7911 GB, free: 22.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.06237/4.719, allocations: 15.69 MB / 0.8064 GB, free: 10.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/4.719, allocations: 4 kB / 0.8064 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002714/4.719, allocations: 188.9 kB / 0.8066 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02625/4.745, allocations: 3.905 MB / 0.8104 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/4.76, allocations: 2.065 MB / 0.8124 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.318/5.078, allocations: 21 MB / 0.8329 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01991/5.098, allocations: 336.8 kB / 0.8332 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003491/5.102, allocations: 0.5532 MB / 0.8338 GB, free: 105.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1109): * Single equations (assignments): 1104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005459/5.107, allocations: 0.5797 MB / 0.8343 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003062/5.11, allocations: 0.5358 MB / 0.8348 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06132/5.172, allocations: 9.724 MB / 0.8443 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000174/5.172, allocations: 39.03 kB / 0.8444 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/5.172, allocations: 14.19 kB / 0.8444 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/5.172, allocations: 18.39 kB / 0.8444 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08591/5.258, allocations: 18.08 MB / 0.8621 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-05/5.258, allocations: 10.97 kB / 0.8621 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00581/5.264, allocations: 475.7 kB / 0.8625 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02472/5.289, allocations: 3.463 MB / 0.8659 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/5.29, allocations: 18.66 kB / 0.8659 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06975/5.36, allocations: 18.42 MB / 0.8839 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/5.36, allocations: 2.031 kB / 0.8839 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05358/5.413, allocations: 14.4 MB / 0.898 GB, free: 96.03 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06541/5.479, allocations: 19.14 MB / 0.9167 GB, free: 88.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004912/5.484, allocations: 1.074 MB / 0.9177 GB, free: 88.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002722/5.487, allocations: 2.875 kB / 0.9177 GB, free: 88.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007212/5.494, allocations: 132.8 kB / 0.9179 GB, free: 88.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/5.495, allocations: 175 kB / 0.918 GB, free: 88.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007607/5.496, allocations: 101.1 kB / 0.9181 GB, free: 88.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01023/5.506, allocations: 3.197 MB / 0.9212 GB, free: 87.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01431/5.521, allocations: 1.578 MB / 0.9228 GB, free: 87.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 39,(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/5.522, allocations: 181.4 kB / 0.923 GB, free: 86.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02445/5.547, allocations: 9.154 MB / 0.9319 GB, free: 79.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.514e-05/5.547, allocations: 6.719 kB / 0.9319 GB, free: 79.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009818/5.557, allocations: 3.56 MB / 0.9354 GB, free: 75.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00664/5.563, allocations: 0.5622 MB / 0.9359 GB, free: 75.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/5.611, allocations: 13.32 MB / 0.9489 GB, free: 63.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01572/5.627, allocations: 5.38 MB / 0.9542 GB, free: 59.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/5.627, allocations: 0 / 0.9542 GB, free: 59.71 MB / 474.7 MB