Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",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 1.977/1.977, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2607/2.238, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/2.377, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/2.794, allocations: 98.05 MB / 414 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/2.795, allocations: 75.14 kB / 414.1 MB, free: 10.97 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 1.375/4.169, allocations: 241.1 MB / 0.6399 GB, free: 4.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/4.169, allocations: 12 kB / 0.6399 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.502/4.671, allocations: 12.35 MB / 0.652 GB, free: 71.62 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06288/4.734, allocations: 13.35 MB / 0.665 GB, free: 71.03 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/4.736, allocations: 413.2 kB / 0.6654 GB, free: 71.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009053/4.745, allocations: 0.7299 MB / 0.6661 GB, free: 71.02 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05987/4.805, allocations: 17.98 MB / 0.6837 GB, free: 70.95 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08736/4.892, allocations: 26.3 MB / 0.7093 GB, free: 65.03 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001405/4.893, allocations: 139.3 kB / 0.7095 GB, free: 65.02 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006938/4.9, allocations: 63.62 kB / 0.7095 GB, free: 65.02 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006718/4.907, allocations: 3.039 MB / 0.7125 GB, free: 64.99 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5321/5.439, allocations: 123.3 MB / 0.8329 GB, free: 37.43 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03437/5.474, allocations: 11.62 MB / 0.8443 GB, free: 36.12 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02463/5.499, allocations: 8.329 MB / 0.8524 GB, free: 36.04 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09403/5.593, allocations: 22.71 MB / 0.8746 GB, free: 32.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/5.593, allocations: 89.66 kB / 0.8747 GB, free: 32.36 MB / 458.8 MB Notification: Performance of pre-optimization done (n=514): time 1.749e-05/5.593, allocations: 0 / 0.8747 GB, free: 32.36 MB / 458.8 MB Notification: Performance of matching and sorting (n=598): time 0.292/5.885, allocations: 57.44 MB / 0.9308 GB, free: 12.77 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/5.885, allocations: 374.7 kB / 0.9311 GB, free: 12.39 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02787/5.913, allocations: 8.198 MB / 0.9391 GB, free: 6.734 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001916/5.915, allocations: 31.95 kB / 0.9392 GB, free: 6.699 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009761/5.925, allocations: 7.709 MB / 0.9467 GB, free: 15.8 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004998/5.93, allocations: 2.149 MB / 0.9488 GB, free: 13.86 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003062/5.933, allocations: 4 kB / 0.9488 GB, free: 13.86 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.002284/5.935, allocations: 0.9719 MB / 0.9497 GB, free: 13.07 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02199/5.957, allocations: 6.57 MB / 0.9562 GB, free: 7.188 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2697/6.227, allocations: 15.03 MB / 0.9708 GB, free: 96.14 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02793/6.255, allocations: 9.877 MB / 0.9805 GB, free: 96.08 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005649/6.256, allocations: 84.34 kB / 0.9806 GB, free: 96.08 MB / 474.8 MB Notification: Performance of matching and sorting (n=2037) (initialization): time 0.09897/6.355, allocations: 22.55 MB / 1.003 GB, free: 95.46 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/6.355, allocations: 4.438 kB / 1.003 GB, free: 95.46 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001014/6.356, allocations: 304.1 kB / 1.003 GB, free: 95.46 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/6.376, allocations: 3.125 MB / 1.006 GB, free: 95.42 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0282/6.404, allocations: 3.7 MB / 1.01 GB, free: 95.11 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04781/6.452, allocations: 20.38 MB / 1.029 GB, free: 89.84 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02191/6.474, allocations: 0.5134 MB / 1.03 GB, free: 89.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004945/6.479, allocations: 0.899 MB / 1.031 GB, free: 89.84 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1919): * Single equations (assignments): 1912 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008155/6.487, allocations: 0.8785 MB / 1.032 GB, free: 89.41 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004142/6.491, allocations: 0.8923 MB / 1.033 GB, free: 89.41 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04958/6.541, allocations: 13.46 MB / 1.046 GB, free: 89.12 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002007/6.541, allocations: 64 kB / 1.046 GB, free: 89.12 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.094e-05/6.541, allocations: 15.75 kB / 1.046 GB, free: 89.12 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001616/6.541, allocations: 28.8 kB / 1.046 GB, free: 89.12 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1054/6.647, allocations: 27.35 MB / 1.072 GB, free: 80.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/6.647, allocations: 3.719 kB / 1.073 GB, free: 80.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01374/6.661, allocations: 1.058 MB / 1.074 GB, free: 80.12 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/6.676, allocations: 2.609 MB / 1.076 GB, free: 79.55 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002166/6.678, allocations: 16.69 kB / 1.076 GB, free: 79.55 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05422/6.732, allocations: 19.16 MB / 1.095 GB, free: 65.33 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/6.732, allocations: 4 kB / 1.095 GB, free: 65.32 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0769/6.809, allocations: 21.72 MB / 1.116 GB, free: 46.48 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3424/7.152, allocations: 31.35 MB / 1.147 GB, free: 95.59 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008197/7.16, allocations: 1.887 MB / 1.148 GB, free: 95.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006705/7.167, allocations: 6.641 kB / 1.148 GB, free: 95.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01749/7.184, allocations: 220.7 kB / 1.149 GB, free: 95.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00324/7.188, allocations: 272.4 kB / 1.149 GB, free: 95.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002228/7.19, allocations: 149.9 kB / 1.149 GB, free: 95.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.02512/7.215, allocations: 5.568 MB / 1.155 GB, free: 95.25 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.03386/7.249, allocations: 2.615 MB / 1.157 GB, free: 95.25 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003095/7.252, allocations: 183.8 kB / 1.157 GB, free: 95.16 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.05824/7.31, allocations: 16.14 MB / 1.173 GB, free: 94.67 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/7.31, allocations: 0 / 1.173 GB, free: 94.67 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02075/7.331, allocations: 6.594 MB / 1.179 GB, free: 94.24 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/7.344, allocations: 0.9349 MB / 1.18 GB, free: 94.21 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08773/7.432, allocations: 24.88 MB / 1.205 GB, free: 88.03 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03345/7.466, allocations: 9.493 MB / 1.214 GB, free: 85.51 MB / 474.8 MB Notification: Performance of SimCode: time 1.824e-06/7.466, allocations: 0 / 1.214 GB, free: 85.51 MB / 474.8 MB