Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.261/2.261, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1627/2.424, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/2.711, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/3.146, allocations: 99.44 MB / 453.4 MB, free: 33.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/3.146, allocations: 77.66 kB / 453.5 MB, free: 33.74 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.3313/3.478, allocations: 72.84 MB / 0.514 GB, free: 7.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/3.478, allocations: 8 kB / 0.514 GB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/3.5, allocations: 1.693 MB / 0.5157 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/3.521, allocations: 4.114 MB / 0.5197 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/3.521, allocations: 119.9 kB / 0.5198 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/3.524, allocations: 200 kB / 0.52 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01598/3.54, allocations: 5.182 MB / 0.525 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/3.568, allocations: 8.092 MB / 0.5329 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/3.568, allocations: 51.56 kB / 0.533 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/3.57, allocations: 28 kB / 0.533 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/3.572, allocations: 0.9341 MB / 0.5339 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07405/3.646, allocations: 41.6 MB / 0.5746 GB, free: 8.188 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/3.652, allocations: 2.555 MB / 0.5771 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003741/3.655, allocations: 1.525 MB / 0.5785 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/3.67, allocations: 5.144 MB / 0.5836 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/3.67, allocations: 43 kB / 0.5836 GB, free: 14.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 5.01e-06/3.67, allocations: 0 / 0.5836 GB, free: 14.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=123): time 0.04025/3.71, allocations: 10.64 MB / 0.594 GB, free: 3.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/3.71, allocations: 166.9 kB / 0.5942 GB, free: 3.559 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/3.721, allocations: 2.832 MB / 0.5969 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003704/3.722, allocations: 25.7 kB / 0.5969 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003767/3.725, allocations: 2.627 MB / 0.5995 GB, free: 14.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/3.727, allocations: 493.9 kB / 0.6 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006796/3.727, allocations: 4 kB / 0.6 GB, free: 13.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005616/3.728, allocations: 0.5295 MB / 0.6005 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005312/3.733, allocations: 1.619 MB / 0.6021 GB, free: 11.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008881/3.742, allocations: 5.127 MB / 0.6071 GB, free: 4.445 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/3.751, allocations: 2.908 MB / 0.6099 GB, free: 1.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/3.751, allocations: 36 kB / 0.61 GB, free: 1.504 MB / 474.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.1899/3.941, allocations: 6.013 MB / 0.6158 GB, free: 154.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/3.941, allocations: 6.625 kB / 0.6158 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/3.941, allocations: 125.3 kB / 0.616 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/3.942, allocations: 338.4 kB / 0.6163 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008843/3.951, allocations: 1.286 MB / 0.6175 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/3.955, allocations: 2.225 MB / 0.6197 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/3.961, allocations: 163 kB / 0.6199 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/3.963, allocations: 345.4 kB / 0.6202 GB, free: 153.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (681): * Single equations (assignments): 677 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001673/3.965, allocations: 425.7 kB / 0.6206 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008476/3.966, allocations: 277.8 kB / 0.6209 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009707/3.975, allocations: 2.188 MB / 0.623 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/3.976, allocations: 11.91 kB / 0.623 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/3.976, allocations: 3.75 kB / 0.623 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/3.976, allocations: 11.55 kB / 0.623 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/4.006, allocations: 5.195 MB / 0.6281 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/4.006, allocations: 3.469 kB / 0.6281 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/4.008, allocations: 159.2 kB / 0.6283 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004366/4.012, allocations: 0.6535 MB / 0.6289 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/4.012, allocations: 3.781 kB / 0.6289 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009116/4.022, allocations: 4.2 MB / 0.633 GB, free: 151.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/4.022, allocations: 3.938 kB / 0.633 GB, free: 151.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01162/4.033, allocations: 4.302 MB / 0.6372 GB, free: 151 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01406/4.047, allocations: 6.002 MB / 0.6431 GB, free: 149.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/4.049, allocations: 0.4945 MB / 0.6436 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007896/4.05, allocations: 3.438 kB / 0.6436 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/4.052, allocations: 41.92 kB / 0.6436 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/4.053, allocations: 53.81 kB / 0.6436 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/4.053, allocations: 39.47 kB / 0.6437 GB, free: 149.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005125/4.058, allocations: 1.888 MB / 0.6455 GB, free: 149.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01101/4.069, allocations: 0.6937 MB / 0.6462 GB, free: 149.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 87 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/4.07, allocations: 143.5 kB / 0.6463 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/4.081, allocations: 3.831 MB / 0.6501 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/4.081, allocations: 3.656 kB / 0.6501 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/4.083, allocations: 1.057 MB / 0.6511 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/4.086, allocations: 279.3 kB / 0.6514 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/4.109, allocations: 5.881 MB / 0.6571 GB, free: 147.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01154/4.121, allocations: 3.07 MB / 0.6601 GB, free: 146 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/4.121, allocations: 0 / 0.6601 GB, free: 146 MB / 474.7 MB