Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Joints",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.355/2.355, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1601/2.515, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/2.793, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/3.247, allocations: 106.4 MB / 460.4 MB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/3.248, allocations: 77.64 kB / 460.4 MB, free: 35.9 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: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 1.483/4.731, allocations: 263.7 MB / 0.7071 GB, free: 45.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/4.731, allocations: 6.781 kB / 0.7071 GB, free: 45.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1865/4.917, allocations: 25.52 MB / 0.7321 GB, free: 45.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1056/5.023, allocations: 27.26 MB / 0.7587 GB, free: 23.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008501/5.024, allocations: 388 kB / 0.759 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006885/5.031, allocations: 0.7454 MB / 0.7598 GB, free: 21.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05338/5.084, allocations: 16.7 MB / 0.7761 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4785/5.563, allocations: 24.36 MB / 0.7999 GB, free: 80.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001311/5.564, allocations: 180 kB / 0.8 GB, free: 80.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006539/5.571, allocations: 59.75 kB / 0.8001 GB, free: 80.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007669/5.579, allocations: 2.64 MB / 0.8027 GB, free: 80.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2625/5.841, allocations: 120.8 MB / 0.9206 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02329/5.865, allocations: 11.2 MB / 0.9316 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01896/5.884, allocations: 9.727 MB / 0.9411 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09541/5.979, allocations: 25.51 MB / 0.966 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/5.979, allocations: 92.44 kB / 0.9661 GB, free: 27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=544): time 1.879e-05/5.979, allocations: 0 / 0.9661 GB, free: 27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.7927/6.772, allocations: 105.4 MB / 1.069 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002914/6.772, allocations: 0.6635 MB / 1.07 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02722/6.8, allocations: 8.391 MB / 1.078 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002781/6.802, allocations: 28.86 kB / 1.078 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007314/6.81, allocations: 6.799 MB / 1.084 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008211/6.818, allocations: 2.66 MB / 1.087 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005678/6.824, allocations: 0 / 1.087 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003098/6.827, allocations: 0.925 MB / 1.088 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02687/6.854, allocations: 9.716 MB / 1.097 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03844/6.892, allocations: 16.71 MB / 1.114 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04589/6.938, allocations: 12.7 MB / 1.126 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003769/6.939, allocations: 66.19 kB / 1.126 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1898) (initialization): time 0.343/7.282, allocations: 40.96 MB / 1.166 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/7.282, allocations: 8 kB / 1.166 GB, free: 74.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.493/7.775, allocations: 31.42 MB / 1.197 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.186/7.961, allocations: 17.09 MB / 1.214 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02985/7.991, allocations: 3.148 MB / 1.217 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.22/8.211, allocations: 57.52 MB / 1.273 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03094/8.242, allocations: 0.7331 MB / 1.274 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008243/8.25, allocations: 0.8068 MB / 1.274 GB, free: 96.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1091 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1626): * Single equations (assignments): 1614 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,67.5%) 194} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0121/8.263, allocations: 0.7629 MB / 1.275 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005528/8.268, allocations: 1.023 MB / 1.276 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1483/8.416, allocations: 27.66 MB / 1.303 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.11/8.527, allocations: 25.03 MB / 1.328 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001425/8.527, allocations: 40 kB / 1.328 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002724/8.527, allocations: 36.05 kB / 1.328 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5395/9.067, allocations: 56.99 MB / 1.383 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001405/9.067, allocations: 6.25 kB / 1.383 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01708/9.084, allocations: 1.067 MB / 1.384 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07083/9.155, allocations: 10.97 MB / 1.395 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004916/9.16, allocations: 55.86 kB / 1.395 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1896/9.349, allocations: 48.25 MB / 1.442 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002075/9.352, allocations: 1.602 MB / 1.444 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1769/9.528, allocations: 40.73 MB / 1.484 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4846/10.01, allocations: 56.1 MB / 1.538 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01995/10.03, allocations: 2.782 MB / 1.541 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007513/10.04, allocations: 28.92 kB / 1.541 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02286/10.06, allocations: 400.8 kB / 1.542 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003628/10.07, allocations: 356.2 kB / 1.542 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002824/10.07, allocations: 199.5 kB / 1.542 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01911/10.09, allocations: 5.91 MB / 1.548 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03232/10.12, allocations: 3.805 MB / 1.552 GB, free: 104.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (519): * Single equations (assignments): 510 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,63.9%) 190} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003742/10.13, allocations: 210.4 kB / 1.552 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0898/10.22, allocations: 25.03 MB / 1.576 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/10.22, allocations: 0 / 1.576 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04733/10.26, allocations: 12.39 MB / 1.588 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/10.28, allocations: 1.333 MB / 1.59 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1478/10.43, allocations: 33.2 MB / 1.622 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03854/10.46, allocations: 10.33 MB / 1.632 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.415e-06/10.46, allocations: 0 / 1.632 GB, free: 92.5 MB / 0.5105 GB