Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute2",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.492/2.492, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2192/2.711, allocations: 57.2 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/2.972, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/3.387, allocations: 98.46 MB / 452.4 MB, free: 32.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/3.388, allocations: 76.89 kB / 452.5 MB, free: 32.98 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: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.7048/4.093, allocations: 130.7 MB / 0.5695 GB, free: 15.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/4.093, allocations: 8 kB / 0.5695 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04977/4.143, allocations: 5.591 MB / 0.575 GB, free: 9.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03771/4.18, allocations: 8.667 MB / 0.5835 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/4.181, allocations: 184 kB / 0.5836 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004048/4.185, allocations: 351.8 kB / 0.584 GB, free: 396 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03982/4.225, allocations: 10.94 MB / 0.5946 GB, free: 5.441 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06489/4.29, allocations: 14.09 MB / 0.6084 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005896/4.29, allocations: 63.41 kB / 0.6085 GB, free: 6.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004299/4.295, allocations: 20 kB / 0.6085 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005175/4.3, allocations: 1.812 MB / 0.6103 GB, free: 4.734 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3779/4.678, allocations: 54.9 MB / 0.6639 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/4.696, allocations: 5.778 MB / 0.6695 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01513/4.711, allocations: 5.139 MB / 0.6745 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06063/4.772, allocations: 18.26 MB / 0.6924 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/4.772, allocations: 70.8 kB / 0.6924 GB, free: 101 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 4.468e-05/4.772, allocations: 0 / 0.6924 GB, free: 101 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1597/4.932, allocations: 34.03 MB / 0.7257 GB, free: 89.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/4.932, allocations: 115.6 kB / 0.7258 GB, free: 89.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/4.944, allocations: 3.767 MB / 0.7294 GB, free: 86.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001301/4.946, allocations: 25.7 kB / 0.7295 GB, free: 86.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004273/4.95, allocations: 3.748 MB / 0.7331 GB, free: 83.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003186/4.953, allocations: 1.352 MB / 0.7345 GB, free: 81.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/4.955, allocations: 0 / 0.7345 GB, free: 81.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007979/4.956, allocations: 0.6602 MB / 0.7351 GB, free: 81.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01255/4.968, allocations: 3.901 MB / 0.7389 GB, free: 77.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/4.982, allocations: 7.914 MB / 0.7466 GB, free: 68.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/4.996, allocations: 5.609 MB / 0.7521 GB, free: 64.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/4.996, allocations: 43.78 kB / 0.7522 GB, free: 64.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=1065) (initialization): time 0.05981/5.056, allocations: 13.34 MB / 0.7652 GB, free: 53.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/5.056, allocations: 8 kB / 0.7652 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002519/5.056, allocations: 140 kB / 0.7653 GB, free: 53.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/5.071, allocations: 2.427 MB / 0.7677 GB, free: 51.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/5.088, allocations: 1.916 MB / 0.7696 GB, free: 49.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/5.118, allocations: 12.47 MB / 0.7817 GB, free: 38.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/5.129, allocations: 251.5 kB / 0.782 GB, free: 38.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/5.132, allocations: 454.2 kB / 0.7824 GB, free: 38.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (968): * Single equations (assignments): 960 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003072/5.135, allocations: 489.6 kB / 0.7829 GB, free: 37.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/5.137, allocations: 450.2 kB / 0.7833 GB, free: 37.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04281/5.179, allocations: 9.548 MB / 0.7926 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002518/5.18, allocations: 47.89 kB / 0.7927 GB, free: 29.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/5.18, allocations: 8 kB / 0.7927 GB, free: 29.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/5.18, allocations: 22.92 kB / 0.7927 GB, free: 29.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07306/5.253, allocations: 17.71 MB / 0.81 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-05/5.253, allocations: 4 kB / 0.81 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007544/5.261, allocations: 0.6366 MB / 0.8106 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/5.276, allocations: 2.193 MB / 0.8128 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/5.277, allocations: 19.98 kB / 0.8128 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02785/5.305, allocations: 11.37 MB / 0.8239 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/5.305, allocations: 7.938 kB / 0.8239 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2633/5.569, allocations: 14.6 MB / 0.8382 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06091/5.63, allocations: 20.03 MB / 0.8577 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005873/5.636, allocations: 1.116 MB / 0.8588 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00253/5.638, allocations: 12.55 kB / 0.8588 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006508/5.645, allocations: 146.3 kB / 0.859 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001571/5.646, allocations: 171.1 kB / 0.8591 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001119/5.647, allocations: 106.2 kB / 0.8592 GB, free: 117.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007672/5.655, allocations: 2.55 MB / 0.8617 GB, free: 117.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0128/5.668, allocations: 1.432 MB / 0.8631 GB, free: 117.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/5.67, allocations: 170.6 kB / 0.8633 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02434/5.694, allocations: 9.396 MB / 0.8725 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/5.694, allocations: 0.75 kB / 0.8725 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01127/5.706, allocations: 3.975 MB / 0.8763 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/5.712, allocations: 463.4 kB / 0.8768 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/5.756, allocations: 12.97 MB / 0.8894 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01434/5.77, allocations: 5.094 MB / 0.8944 GB, free: 110.6 MB / 474.7 MB Notification: Performance of SimCode: time 3.356e-06/5.77, allocations: 0 / 0.8944 GB, free: 110.6 MB / 474.7 MB