Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_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.289/2.289, allocations: 235 MB / 241.9 MB, free: 9.559 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1861/2.476, allocations: 57.19 MB / 299.1 MB, free: 0.7227 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/2.847, allocations: 54.84 MB / 354 MB, free: 1.586 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/3.071, allocations: 101.3 MB / 455.2 MB, free: 6.77 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/3.071, allocations: 76.92 kB / 455.3 MB, free: 6.695 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.7067/3.778, allocations: 100.6 MB / 0.5429 GB, free: 104 MB / 450.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/3.778, allocations: 14.31 kB / 0.5429 GB, free: 104 MB / 450.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03883/3.817, allocations: 4.19 MB / 0.547 GB, free: 103.6 MB / 450.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0238/3.841, allocations: 6.112 MB / 0.553 GB, free: 102.9 MB / 450.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/3.841, allocations: 148.4 kB / 0.5531 GB, free: 102.9 MB / 450.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/3.844, allocations: 271.8 kB / 0.5534 GB, free: 102.9 MB / 450.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02146/3.865, allocations: 7.66 MB / 0.5609 GB, free: 100.7 MB / 450.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04222/3.908, allocations: 11.07 MB / 0.5717 GB, free: 94.91 MB / 450.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004916/3.908, allocations: 67.84 kB / 0.5718 GB, free: 94.87 MB / 450.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003484/3.912, allocations: 34.75 kB / 0.5718 GB, free: 94.86 MB / 450.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/3.915, allocations: 1.35 MB / 0.5731 GB, free: 94.61 MB / 450.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/4.015, allocations: 55.32 MB / 0.6271 GB, free: 42.34 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/4.024, allocations: 4.434 MB / 0.6315 GB, free: 37.76 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006748/4.031, allocations: 3.224 MB / 0.6346 GB, free: 34.53 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04091/4.072, allocations: 12.99 MB / 0.6473 GB, free: 21.2 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/4.072, allocations: 59.75 kB / 0.6474 GB, free: 21.13 MB / 450.8 MB Notification: Performance of pre-optimization done (n=193): time 6.663e-06/4.072, allocations: 0 / 0.6474 GB, free: 21.13 MB / 450.8 MB Notification: Performance of matching and sorting (n=254): time 0.1349/4.207, allocations: 27.7 MB / 0.6744 GB, free: 9.336 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/4.207, allocations: 217.8 kB / 0.6746 GB, free: 9.078 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009489/4.217, allocations: 3.338 MB / 0.6779 GB, free: 5.711 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008399/4.218, allocations: 25.7 kB / 0.6779 GB, free: 5.68 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004585/4.222, allocations: 3.231 MB / 0.6811 GB, free: 2.398 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002575/4.225, allocations: 0.9215 MB / 0.682 GB, free: 1.465 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/4.226, allocations: 0 / 0.682 GB, free: 1.465 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0009024/4.227, allocations: 0.5995 MB / 0.6825 GB, free: 0.8594 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1997/4.427, allocations: 2.994 MB / 0.6855 GB, free: 158.8 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/4.438, allocations: 7.025 MB / 0.6923 GB, free: 153.6 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/4.45, allocations: 4.545 MB / 0.6968 GB, free: 153.6 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/4.45, allocations: 38.62 kB / 0.6968 GB, free: 153.6 MB / 466.8 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.04441/4.494, allocations: 11.49 MB / 0.708 GB, free: 153.2 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/4.494, allocations: 7.938 kB / 0.708 GB, free: 153.2 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002569/4.495, allocations: 144.3 kB / 0.7082 GB, free: 153.2 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/4.514, allocations: 2.948 MB / 0.711 GB, free: 153.1 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/4.529, allocations: 1.575 MB / 0.7126 GB, free: 153 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03988/4.569, allocations: 13.26 MB / 0.7255 GB, free: 147.8 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/4.579, allocations: 278.4 kB / 0.7258 GB, free: 147.8 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/4.581, allocations: 420.4 kB / 0.7262 GB, free: 147.8 MB / 466.8 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.00307/4.584, allocations: 465.1 kB / 0.7266 GB, free: 147.5 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/4.586, allocations: 371 kB / 0.727 GB, free: 147.5 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03504/4.621, allocations: 7.002 MB / 0.7338 GB, free: 145.3 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001722/4.621, allocations: 28.14 kB / 0.7339 GB, free: 145.3 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/4.621, allocations: 16.84 kB / 0.7339 GB, free: 145.3 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/4.621, allocations: 10.55 kB / 0.7339 GB, free: 145.3 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07681/4.698, allocations: 13.8 MB / 0.7474 GB, free: 140.3 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/4.698, allocations: 0 / 0.7474 GB, free: 140.3 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006587/4.705, allocations: 357.4 kB / 0.7477 GB, free: 140 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0254/4.73, allocations: 2.626 MB / 0.7503 GB, free: 138.2 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/4.731, allocations: 7.703 kB / 0.7503 GB, free: 138.2 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04533/4.777, allocations: 11.9 MB / 0.7619 GB, free: 128 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/4.777, allocations: 7.906 kB / 0.7619 GB, free: 128 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04515/4.822, allocations: 11.09 MB / 0.7727 GB, free: 118.4 MB / 466.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04621/4.868, allocations: 15.13 MB / 0.7875 GB, free: 105.2 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/4.872, allocations: 0.8709 MB / 0.7884 GB, free: 104.4 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/4.873, allocations: 0.7969 kB / 0.7884 GB, free: 104.4 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/4.879, allocations: 109.9 kB / 0.7885 GB, free: 104.4 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/4.88, allocations: 107.4 kB / 0.7886 GB, free: 104.3 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004286/4.881, allocations: 61.41 kB / 0.7886 GB, free: 104.2 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.01066/4.891, allocations: 2.249 MB / 0.7908 GB, free: 102.3 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.01232/4.904, allocations: 1.118 MB / 0.7919 GB, free: 101.2 MB / 466.8 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.001162/4.905, allocations: 152.3 kB / 0.7921 GB, free: 101 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.02027/4.925, allocations: 7.486 MB / 0.7994 GB, free: 93.84 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/4.925, allocations: 4 kB / 0.7994 GB, free: 93.84 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008039/4.933, allocations: 2.899 MB / 0.8022 GB, free: 90.93 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/4.937, allocations: 369.5 kB / 0.8026 GB, free: 90.58 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/4.971, allocations: 9.884 MB / 0.8122 GB, free: 80.65 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/4.983, allocations: 4.06 MB / 0.8162 GB, free: 76.58 MB / 466.8 MB Notification: Performance of SimCode: time 1.874e-06/4.983, allocations: 0 / 0.8162 GB, free: 76.58 MB / 466.8 MB