Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",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.657/1.657, allocations: 171.2 MB / 178.1 MB, free: 8.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1967/1.854, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/1.955, allocations: 38.77 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/2.289, allocations: 91.24 MB / 349.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/2.29, allocations: 89.31 kB / 349.4 MB, free: 13.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.7465/3.036, allocations: 125 MB / 474.4 MB, free: 69.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/3.036, allocations: 17.09 kB / 474.4 MB, free: 69.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/3.059, allocations: 2.294 MB / 476.7 MB, free: 68.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/3.088, allocations: 7.876 MB / 484.5 MB, free: 64.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/3.088, allocations: 204 kB / 484.7 MB, free: 63.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003567/3.092, allocations: 375.9 kB / 485.1 MB, free: 63.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02836/3.12, allocations: 10.44 MB / 495.6 MB, free: 53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04688/3.167, allocations: 14.55 MB / 0.4981 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008209/3.168, allocations: 87.19 kB / 0.4982 GB, free: 37.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004454/3.173, allocations: 43.98 kB / 0.4983 GB, free: 37.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005506/3.178, allocations: 1.591 MB / 0.4998 GB, free: 35.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2784/3.457, allocations: 72.9 MB / 0.571 GB, free: 57.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/3.47, allocations: 6.555 MB / 0.5774 GB, free: 56.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/3.482, allocations: 5.406 MB / 0.5827 GB, free: 56.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03975/3.522, allocations: 15.4 MB / 0.5977 GB, free: 50.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01682/3.538, allocations: 4.843 MB / 0.6025 GB, free: 49.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=289): time 2.086e-05/3.539, allocations: 3.469 kB / 0.6025 GB, free: 49.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=380): time 0.2007/3.739, allocations: 35.67 MB / 0.6373 GB, free: 31.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/3.739, allocations: 169.5 kB / 0.6375 GB, free: 31.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/3.75, allocations: 4.12 MB / 0.6415 GB, free: 27.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001501/3.752, allocations: 28.66 kB / 0.6415 GB, free: 27.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004401/3.756, allocations: 3.933 MB / 0.6454 GB, free: 24.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002825/3.759, allocations: 1.358 MB / 0.6467 GB, free: 23.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/3.761, allocations: 0 / 0.6467 GB, free: 23.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007654/3.762, allocations: 0.67 MB / 0.6473 GB, free: 22.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0119/3.774, allocations: 4.532 MB / 0.6518 GB, free: 18.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01513/3.789, allocations: 9.099 MB / 0.6606 GB, free: 7.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/3.804, allocations: 6.432 MB / 0.6669 GB, free: 2.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001845/3.805, allocations: 48 kB / 0.667 GB, free: 2.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=1130) (initialization): time 0.2329/4.037, allocations: 18.24 MB / 0.6848 GB, free: 86.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/4.038, allocations: 6.562 kB / 0.6848 GB, free: 86.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/4.038, allocations: 162.7 kB / 0.6849 GB, free: 86.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03856/4.076, allocations: 6.158 MB / 0.691 GB, free: 86.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/4.089, allocations: 1.837 MB / 0.6927 GB, free: 86.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09765/4.187, allocations: 31.69 MB / 0.7237 GB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01909/4.206, allocations: 325 kB / 0.724 GB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004388/4.211, allocations: 0.4942 MB / 0.7245 GB, free: 77.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 737 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (966): * Single equations (assignments): 957 * Array equations: 3 * Algorithm blocks: 1 * 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,70.3%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006286/4.217, allocations: 0.5266 MB / 0.725 GB, free: 77.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003216/4.22, allocations: 470.2 kB / 0.7255 GB, free: 76.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07567/4.296, allocations: 13.13 MB / 0.7383 GB, free: 70.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/4.296, allocations: 36 kB / 0.7383 GB, free: 70.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.148e-05/4.296, allocations: 28 kB / 0.7383 GB, free: 70.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/4.297, allocations: 17.67 kB / 0.7384 GB, free: 70.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1067/4.403, allocations: 24.62 MB / 0.7624 GB, free: 49.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-05/4.403, allocations: 4 kB / 0.7624 GB, free: 49.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00854/4.412, allocations: 495.2 kB / 0.7629 GB, free: 48.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04669/4.459, allocations: 5.879 MB / 0.7686 GB, free: 43.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001448/4.46, allocations: 15.98 kB / 0.7686 GB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2507/4.711, allocations: 30.6 MB / 0.7985 GB, free: 82.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/4.711, allocations: 9.25 kB / 0.7985 GB, free: 82.18 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0701/4.781, allocations: 19.53 MB / 0.8176 GB, free: 80.4 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.102/4.883, allocations: 26.01 MB / 0.843 GB, free: 70.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006848/4.89, allocations: 1.3 MB / 0.8443 GB, free: 69.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003054/4.893, allocations: 9.594 kB / 0.8443 GB, free: 69.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009255/4.903, allocations: 173.8 kB / 0.8444 GB, free: 69.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001914/4.905, allocations: 181.1 kB / 0.8446 GB, free: 69.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/4.906, allocations: 95.52 kB / 0.8447 GB, free: 69.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00928/4.915, allocations: 2.795 MB / 0.8474 GB, free: 68.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01931/4.935, allocations: 1.651 MB / 0.849 GB, free: 68.53 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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002631/4.937, allocations: 322.7 kB / 0.8494 GB, free: 68.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.03907/4.976, allocations: 11.53 MB / 0.8606 GB, free: 59.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/4.976, allocations: 4 kB / 0.8606 GB, free: 59.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01677/4.993, allocations: 5.315 MB / 0.8658 GB, free: 54.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005891/4.999, allocations: 476.7 kB / 0.8663 GB, free: 54.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06926/5.068, allocations: 14.8 MB / 0.8807 GB, free: 41.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01503/5.084, allocations: 5.183 MB / 0.8858 GB, free: 37.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/5.084, allocations: 0 / 0.8858 GB, free: 37.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat