Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_2_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 2.278/2.278, allocations: 234.9 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1902/2.468, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/2.743, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/3.188, allocations: 104.6 MB / 458.6 MB, free: 35.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/3.188, allocations: 76.48 kB / 458.7 MB, free: 35.19 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 1.424/4.613, allocations: 241.5 MB / 0.6838 GB, free: 44.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/4.613, allocations: 6.688 kB / 0.6838 GB, free: 44.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1036/4.716, allocations: 12.35 MB / 0.6959 GB, free: 44.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05268/4.769, allocations: 13.36 MB / 0.7089 GB, free: 42.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00131/4.77, allocations: 409.8 kB / 0.7093 GB, free: 42.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007545/4.778, allocations: 0.7427 MB / 0.71 GB, free: 42.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05119/4.829, allocations: 17.99 MB / 0.7276 GB, free: 40.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09138/4.921, allocations: 26.32 MB / 0.7533 GB, free: 16.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001203/4.922, allocations: 150.6 kB / 0.7535 GB, free: 16.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006965/4.929, allocations: 68 kB / 0.7535 GB, free: 16.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007288/4.936, allocations: 3.037 MB / 0.7565 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7435/5.68, allocations: 123.4 MB / 0.877 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/5.705, allocations: 11.63 MB / 0.8883 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02041/5.725, allocations: 8.337 MB / 0.8965 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08217/5.807, allocations: 22.7 MB / 0.9186 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/5.807, allocations: 93.23 kB / 0.9187 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=514): time 1.017e-05/5.807, allocations: 0 / 0.9187 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=598): time 0.2627/6.07, allocations: 57.45 MB / 0.9748 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/6.07, allocations: 376.8 kB / 0.9752 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03203/6.102, allocations: 8.187 MB / 0.9832 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002078/6.105, allocations: 25.7 kB / 0.9832 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.009277/6.114, allocations: 7.731 MB / 0.9908 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005617/6.12, allocations: 2.146 MB / 0.9929 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003722/6.123, allocations: 1.406 kB / 0.9929 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002283/6.126, allocations: 0.9719 MB / 0.9938 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02441/6.15, allocations: 6.572 MB / 1 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2493/6.4, allocations: 15.03 MB / 1.015 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02573/6.425, allocations: 9.876 MB / 1.025 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005269/6.426, allocations: 86.06 kB / 1.025 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2037) (initialization): time 0.08674/6.513, allocations: 22.55 MB / 1.047 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/6.513, allocations: 6.312 kB / 1.047 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001267/6.514, allocations: 299.9 kB / 1.047 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.023/6.537, allocations: 3.121 MB / 1.05 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04151/6.579, allocations: 3.711 MB / 1.054 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06024/6.639, allocations: 20.37 MB / 1.074 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02963/6.669, allocations: 0.5133 MB / 1.074 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00456/6.673, allocations: 0.9043 MB / 1.075 GB, free: 101.6 MB / 0.5105 GB 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.007543/6.681, allocations: 0.8788 MB / 1.076 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00458/6.686, allocations: 0.8883 MB / 1.077 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0483/6.734, allocations: 13.46 MB / 1.09 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001932/6.734, allocations: 58.03 kB / 1.09 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.495e-05/6.734, allocations: 17.44 kB / 1.09 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001669/6.735, allocations: 33.02 kB / 1.09 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09629/6.831, allocations: 27.34 MB / 1.117 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.979e-05/6.831, allocations: 0 / 1.117 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/6.844, allocations: 1.061 MB / 1.118 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01457/6.859, allocations: 2.612 MB / 1.12 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001975/6.861, allocations: 20.34 kB / 1.12 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05899/6.92, allocations: 19.13 MB / 1.139 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/6.92, allocations: 7.5 kB / 1.139 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0703/6.99, allocations: 21.73 MB / 1.16 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3431/7.333, allocations: 30.5 MB / 1.19 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008268/7.342, allocations: 1.881 MB / 1.192 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004836/7.346, allocations: 6.781 kB / 1.192 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01249/7.359, allocations: 224.9 kB / 1.192 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002596/7.362, allocations: 278.6 kB / 1.192 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002157/7.364, allocations: 141.7 kB / 1.192 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01761/7.382, allocations: 5.566 MB / 1.198 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02871/7.41, allocations: 2.608 MB / 1.2 GB, free: 104.6 MB / 0.5105 GB 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.002356/7.413, allocations: 191.4 kB / 1.201 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04368/7.456, allocations: 16.15 MB / 1.216 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/7.456, allocations: 3.562 kB / 1.216 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02322/7.48, allocations: 6.587 MB / 1.223 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01255/7.492, allocations: 0.9292 MB / 1.224 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/7.599, allocations: 24.89 MB / 1.248 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03725/7.636, allocations: 9.508 MB / 1.257 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.635e-06/7.636, allocations: 0 / 1.257 GB, free: 98.38 MB / 0.5105 GB