Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",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(Modelica): time 1.726/1.726, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2196/1.945, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/2.042, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/2.363, allocations: 86.14 MB / 344.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/2.363, allocations: 85.89 kB / 344.2 MB, free: 2.207 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.6685/3.032, allocations: 119.4 MB / 463.7 MB, free: 70.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/3.032, allocations: 11.25 kB / 463.7 MB, free: 70.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/3.054, allocations: 2.268 MB / 465.9 MB, free: 70.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03546/3.09, allocations: 7.715 MB / 473.7 MB, free: 67.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000648/3.09, allocations: 193.7 kB / 473.8 MB, free: 67.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004263/3.095, allocations: 358.4 kB / 474.2 MB, free: 67.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0394/3.134, allocations: 10.11 MB / 484.3 MB, free: 62.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05218/3.186, allocations: 13.98 MB / 498.3 MB, free: 48.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005011/3.187, allocations: 83.23 kB / 498.4 MB, free: 48.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003361/3.19, allocations: 40 kB / 498.4 MB, free: 48.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004339/3.195, allocations: 1.566 MB / 500 MB, free: 46.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.321/3.516, allocations: 69.73 MB / 0.5564 GB, free: 65.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/3.534, allocations: 6.399 MB / 0.5626 GB, free: 64.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01542/3.549, allocations: 5.257 MB / 0.5677 GB, free: 64.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05072/3.6, allocations: 14.97 MB / 0.5824 GB, free: 58.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/3.6, allocations: 73.25 kB / 0.5824 GB, free: 58.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=278): time 1.037e-05/3.6, allocations: 0 / 0.5824 GB, free: 58.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=373): time 0.2011/3.801, allocations: 36.26 MB / 0.6178 GB, free: 41.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/3.802, allocations: 171 kB / 0.618 GB, free: 41.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/3.814, allocations: 3.85 MB / 0.6218 GB, free: 37.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002169/3.816, allocations: 25.7 kB / 0.6218 GB, free: 37.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003457/3.82, allocations: 3.674 MB / 0.6254 GB, free: 34.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002747/3.823, allocations: 1.322 MB / 0.6267 GB, free: 33.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/3.825, allocations: 0 / 0.6267 GB, free: 33.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0008358/3.826, allocations: 0.659 MB / 0.6273 GB, free: 32.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01184/3.838, allocations: 4.449 MB / 0.6316 GB, free: 28.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01495/3.853, allocations: 8.785 MB / 0.6402 GB, free: 18.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/3.867, allocations: 6.263 MB / 0.6463 GB, free: 13.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/3.867, allocations: 44 kB / 0.6464 GB, free: 13.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=1080) (initialization): time 0.2251/4.092, allocations: 17.59 MB / 0.6636 GB, free: 88.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/4.093, allocations: 3 kB / 0.6636 GB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/4.093, allocations: 155 kB / 0.6637 GB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03819/4.131, allocations: 6.068 MB / 0.6696 GB, free: 88.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/4.144, allocations: 1.767 MB / 0.6714 GB, free: 88.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09728/4.241, allocations: 31.6 MB / 0.7022 GB, free: 81.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/4.253, allocations: 317.8 kB / 0.7025 GB, free: 81.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/4.256, allocations: 481.7 kB / 0.703 GB, free: 81.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (921): * Single equations (assignments): 913 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,77.6%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003389/4.259, allocations: 0.496 MB / 0.7035 GB, free: 81.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/4.261, allocations: 459.9 kB / 0.7039 GB, free: 81.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06436/4.325, allocations: 13.03 MB / 0.7166 GB, free: 76.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001828/4.326, allocations: 36.38 kB / 0.7167 GB, free: 76.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/4.326, allocations: 30.56 kB / 0.7167 GB, free: 76.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/4.326, allocations: 16.92 kB / 0.7167 GB, free: 76.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1148/4.441, allocations: 24.37 MB / 0.7405 GB, free: 62.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.696e-05/4.441, allocations: 6.656 kB / 0.7405 GB, free: 62.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008147/4.449, allocations: 497.1 kB / 0.741 GB, free: 61.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03958/4.489, allocations: 5.84 MB / 0.7467 GB, free: 57.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001395/4.49, allocations: 24.25 kB / 0.7467 GB, free: 57.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08176/4.572, allocations: 29.23 MB / 0.7753 GB, free: 28.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/4.572, allocations: 0 / 0.7753 GB, free: 28.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2163/4.788, allocations: 19.62 MB / 0.7944 GB, free: 88.07 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08915/4.877, allocations: 26.06 MB / 0.8199 GB, free: 80.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007253/4.885, allocations: 1.273 MB / 0.8211 GB, free: 80 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003246/4.888, allocations: 3.938 kB / 0.8211 GB, free: 80 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008473/4.897, allocations: 176.5 kB / 0.8213 GB, free: 80 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001634/4.898, allocations: 186.3 kB / 0.8215 GB, free: 79.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006608/4.899, allocations: 96.66 kB / 0.8216 GB, free: 79.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.007692/4.907, allocations: 2.609 MB / 0.8241 GB, free: 78.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01444/4.921, allocations: 1.58 MB / 0.8256 GB, free: 78.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,71.9%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/4.923, allocations: 164 kB / 0.8258 GB, free: 78.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.04162/4.964, allocations: 11.3 MB / 0.8368 GB, free: 73.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/4.965, allocations: 1.531 kB / 0.8368 GB, free: 73.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0155/4.98, allocations: 5.242 MB / 0.842 GB, free: 68.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/4.985, allocations: 439.7 kB / 0.8424 GB, free: 68.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0741/5.06, allocations: 14.46 MB / 0.8565 GB, free: 55.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01795/5.078, allocations: 4.986 MB / 0.8614 GB, free: 52.15 MB / 346.7 MB Notification: Performance of SimCode: time 2.665e-06/5.078, allocations: 0 / 0.8614 GB, free: 52.15 MB / 346.7 MB