Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUPS2",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.019/2.019, allocations: 209.3 MB / 216.3 MB, free: 4.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1921/2.211, allocations: 51.02 MB / 267.3 MB, free: 1.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/2.497, allocations: 48.69 MB / 316 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/2.697, allocations: 94.45 MB / 410.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/2.698, allocations: 83.89 kB / 410.5 MB, free: 2.586 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.6451/3.343, allocations: 100.5 MB / 0.4991 GB, free: 58.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/3.343, allocations: 8 kB / 0.4991 GB, free: 58.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03236/3.375, allocations: 4.189 MB / 0.5031 GB, free: 54.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/3.399, allocations: 6.117 MB / 0.5091 GB, free: 48.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/3.399, allocations: 148 kB / 0.5093 GB, free: 48.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/3.402, allocations: 271.9 kB / 0.5095 GB, free: 48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02183/3.424, allocations: 7.653 MB / 0.517 GB, free: 40.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03996/3.464, allocations: 11.07 MB / 0.5278 GB, free: 28.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004947/3.465, allocations: 71.3 kB / 0.5279 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003587/3.468, allocations: 32 kB / 0.5279 GB, free: 28.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004007/3.473, allocations: 1.336 MB / 0.5292 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/3.597, allocations: 55.29 MB / 0.5832 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2033/3.8, allocations: 4.448 MB / 0.5876 GB, free: 129.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00693/3.807, allocations: 3.238 MB / 0.5907 GB, free: 129.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03121/3.838, allocations: 12.96 MB / 0.6034 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/3.838, allocations: 63.17 kB / 0.6034 GB, free: 126.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 5.781e-06/3.838, allocations: 0 / 0.6034 GB, free: 126.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.1228/3.961, allocations: 27.7 MB / 0.6305 GB, free: 119.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/3.961, allocations: 206.4 kB / 0.6307 GB, free: 119.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008063/3.969, allocations: 3.351 MB / 0.634 GB, free: 118 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008469/3.97, allocations: 29.55 kB / 0.634 GB, free: 117.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002759/3.973, allocations: 3.226 MB / 0.6371 GB, free: 115.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/3.975, allocations: 0.918 MB / 0.638 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009119/3.976, allocations: 0 / 0.638 GB, free: 114.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004931/3.976, allocations: 0.6066 MB / 0.6386 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007932/3.984, allocations: 2.986 MB / 0.6415 GB, free: 113.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/3.996, allocations: 7.024 MB / 0.6484 GB, free: 106.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/4.009, allocations: 4.537 MB / 0.6528 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003179/4.01, allocations: 44.94 kB / 0.6529 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.04291/4.053, allocations: 11.5 MB / 0.6641 GB, free: 96.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/4.053, allocations: 4 kB / 0.6641 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/4.053, allocations: 144 kB / 0.6642 GB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01767/4.071, allocations: 2.942 MB / 0.6671 GB, free: 94.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/4.082, allocations: 1.579 MB / 0.6687 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03745/4.12, allocations: 13.27 MB / 0.6816 GB, free: 81.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009907/4.13, allocations: 283.1 kB / 0.6819 GB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002035/4.132, allocations: 419 kB / 0.6823 GB, free: 80.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00203/4.134, allocations: 457.3 kB / 0.6827 GB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/4.135, allocations: 379.2 kB / 0.6831 GB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.027/4.162, allocations: 6.997 MB / 0.6899 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/4.162, allocations: 27.66 kB / 0.6899 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.516e-05/4.162, allocations: 8.984 kB / 0.6899 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/4.162, allocations: 14.97 kB / 0.69 GB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05051/4.213, allocations: 13.8 MB / 0.7034 GB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/4.213, allocations: 0 / 0.7034 GB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00421/4.217, allocations: 355.5 kB / 0.7038 GB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01706/4.234, allocations: 2.625 MB / 0.7063 GB, free: 59.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007776/4.235, allocations: 4 kB / 0.7063 GB, free: 59.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03358/4.269, allocations: 11.91 MB / 0.718 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/4.269, allocations: 0 / 0.718 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03489/4.303, allocations: 11.11 MB / 0.7288 GB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04797/4.351, allocations: 15.12 MB / 0.7436 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003574/4.355, allocations: 0.8633 MB / 0.7444 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/4.357, allocations: 7.906 kB / 0.7444 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005031/4.362, allocations: 107.8 kB / 0.7446 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009696/4.363, allocations: 105.8 kB / 0.7447 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00036/4.363, allocations: 67.98 kB / 0.7447 GB, free: 20.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.2037/4.567, allocations: 2.249 MB / 0.7469 GB, free: 118.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01573/4.583, allocations: 1.125 MB / 0.748 GB, free: 118.9 MB / 410.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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001577/4.585, allocations: 140.1 kB / 0.7481 GB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02854/4.613, allocations: 7.481 MB / 0.7555 GB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/4.613, allocations: 0 / 0.7555 GB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01147/4.625, allocations: 2.889 MB / 0.7583 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/4.63, allocations: 367.2 kB / 0.7586 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/4.672, allocations: 9.871 MB / 0.7683 GB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/4.684, allocations: 4.056 MB / 0.7722 GB, free: 116.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/4.684, allocations: 0 / 0.7722 GB, free: 116.1 MB / 410.7 MB