Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSR",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.282/2.282, allocations: 234.9 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1814/2.463, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/2.753, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/3.201, allocations: 99.24 MB / 453.2 MB, free: 33.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/3.202, allocations: 73.5 kB / 453.3 MB, free: 33.31 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.2713/3.473, allocations: 56.87 MB / 0.4982 GB, free: 18.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/3.473, allocations: 13.03 kB / 0.4982 GB, free: 18.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/3.478, allocations: 433.4 kB / 0.4986 GB, free: 18.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/3.484, allocations: 1.547 MB / 0.5001 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/3.485, allocations: 91 kB / 0.5002 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/3.486, allocations: 164.2 kB / 0.5004 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01162/3.498, allocations: 3.887 MB / 0.5042 GB, free: 17.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/3.516, allocations: 5.038 MB / 0.5091 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/3.516, allocations: 15.88 kB / 0.5091 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/3.518, allocations: 8 kB / 0.5091 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/3.52, allocations: 0.5359 MB / 0.5096 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05748/3.578, allocations: 20.19 MB / 0.5294 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/3.581, allocations: 0.8377 MB / 0.5302 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/3.583, allocations: 0.6491 MB / 0.5308 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/3.595, allocations: 4.666 MB / 0.5354 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/3.595, allocations: 39.06 kB / 0.5354 GB, free: 1.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 4.278e-06/3.595, allocations: 4 kB / 0.5354 GB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.04357/3.639, allocations: 5.64 MB / 0.5409 GB, free: 11.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/3.639, allocations: 93.83 kB / 0.541 GB, free: 11.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/3.644, allocations: 1.433 MB / 0.5424 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/3.645, allocations: 25.7 kB / 0.5424 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/3.647, allocations: 1.631 MB / 0.544 GB, free: 8.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/3.648, allocations: 331.6 kB / 0.5443 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/3.648, allocations: 0 / 0.5443 GB, free: 8.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006377/3.649, allocations: 480.7 kB / 0.5448 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/3.653, allocations: 0.8686 MB / 0.5456 GB, free: 6.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006182/3.659, allocations: 2.496 MB / 0.5481 GB, free: 3.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008455/3.668, allocations: 1.678 MB / 0.5497 GB, free: 1.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/3.668, allocations: 19.94 kB / 0.5497 GB, free: 1.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01817/3.686, allocations: 3.272 MB / 0.5529 GB, free: 14.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/3.686, allocations: 12.25 kB / 0.5529 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/3.686, allocations: 56.09 kB / 0.553 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/3.687, allocations: 91.98 kB / 0.5531 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/3.692, allocations: 0.6862 MB / 0.5538 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/3.693, allocations: 115.6 kB / 0.5539 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/3.696, allocations: 87.78 kB / 0.5539 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007789/3.697, allocations: 172 kB / 0.5541 GB, free: 13.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 366 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007128/3.698, allocations: 262.5 kB / 0.5544 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/3.698, allocations: 150 kB / 0.5545 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/3.704, allocations: 1.516 MB / 0.556 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/3.704, allocations: 8 kB / 0.556 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/3.704, allocations: 0 / 0.556 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/3.704, allocations: 3.984 kB / 0.556 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/3.718, allocations: 4.125 MB / 0.56 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/3.718, allocations: 8 kB / 0.56 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/3.72, allocations: 191.7 kB / 0.5602 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.598e-05/3.72, allocations: 11.98 kB / 0.5602 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/3.72, allocations: 11.94 kB / 0.5602 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/3.72, allocations: 8.375 kB / 0.5602 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/3.72, allocations: 11.94 kB / 0.5603 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005281/3.726, allocations: 1.836 MB / 0.5621 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007885/3.734, allocations: 2.231 MB / 0.5642 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/3.735, allocations: 227.1 kB / 0.5644 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/3.735, allocations: 7.984 kB / 0.5645 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/3.738, allocations: 27.97 kB / 0.5645 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/3.738, allocations: 52.44 kB / 0.5645 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/3.738, allocations: 35.98 kB / 0.5646 GB, free: 2.078 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002811/3.741, allocations: 0.964 MB / 0.5655 GB, free: 1.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005103/3.746, allocations: 479.9 kB / 0.566 GB, free: 0.6484 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/3.747, allocations: 167 kB / 0.5661 GB, free: 488 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006046/3.753, allocations: 2.018 MB / 0.5681 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/3.753, allocations: 0 / 0.5681 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/3.755, allocations: 0.5762 MB / 0.5687 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/3.756, allocations: 138.7 kB / 0.5688 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/3.772, allocations: 3.926 MB / 0.5726 GB, free: 9.711 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008189/3.78, allocations: 2.352 MB / 0.5749 GB, free: 7.328 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/3.78, allocations: 0 / 0.5749 GB, free: 7.328 MB / 442.7 MB