Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.76/2.76, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1525/2.913, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/3.286, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/3.759, allocations: 101.7 MB / 455.8 MB, free: 34.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/3.759, allocations: 81.05 kB / 455.8 MB, free: 34.39 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.5325/4.292, allocations: 107.7 MB / 0.5503 GB, free: 3.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/4.292, allocations: 12 kB / 0.5503 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06088/4.353, allocations: 6.516 MB / 0.5567 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03329/4.386, allocations: 6.934 MB / 0.5635 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006379/4.387, allocations: 176 kB / 0.5636 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003112/4.39, allocations: 319.8 kB / 0.5639 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02797/4.418, allocations: 7.452 MB / 0.5712 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/4.457, allocations: 11.36 MB / 0.5823 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003818/4.457, allocations: 75.25 kB / 0.5824 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/4.459, allocations: 40 kB / 0.5824 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003258/4.462, allocations: 1.211 MB / 0.5836 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3395/4.802, allocations: 56.73 MB / 0.639 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/4.81, allocations: 3.492 MB / 0.6424 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006497/4.816, allocations: 2.459 MB / 0.6448 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03092/4.847, allocations: 7.714 MB / 0.6523 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.437e-05/4.847, allocations: 60.84 kB / 0.6524 GB, free: 100.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 9.347e-06/4.847, allocations: 0 / 0.6524 GB, free: 100.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.1021/4.95, allocations: 18.54 MB / 0.6705 GB, free: 97.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/4.95, allocations: 200.5 kB / 0.6707 GB, free: 96.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/4.962, allocations: 3.726 MB / 0.6743 GB, free: 96.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000694/4.963, allocations: 29.48 kB / 0.6744 GB, free: 96.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00322/4.966, allocations: 3.449 MB / 0.6777 GB, free: 94.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/4.967, allocations: 0.7963 MB / 0.6785 GB, free: 94.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009029/4.968, allocations: 0 / 0.6785 GB, free: 94.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006009/4.969, allocations: 0.5898 MB / 0.6791 GB, free: 93.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/4.979, allocations: 2.159 MB / 0.6812 GB, free: 93.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/4.992, allocations: 6.224 MB / 0.6873 GB, free: 88.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009942/5.002, allocations: 3.683 MB / 0.6909 GB, free: 87.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/5.002, allocations: 45.03 kB / 0.6909 GB, free: 87.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02813/5.03, allocations: 8.108 MB / 0.6988 GB, free: 85.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/5.03, allocations: 3.781 kB / 0.6988 GB, free: 85.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/5.03, allocations: 149.1 kB / 0.699 GB, free: 85.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005571/5.036, allocations: 0.9043 MB / 0.6999 GB, free: 85.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/5.048, allocations: 1.539 MB / 0.7014 GB, free: 85.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/5.064, allocations: 6.707 MB / 0.7079 GB, free: 81.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009072/5.073, allocations: 211.6 kB / 0.7081 GB, free: 81.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/5.075, allocations: 412.8 kB / 0.7085 GB, free: 80.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (820): * Single equations (assignments): 815 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002519/5.078, allocations: 473.1 kB / 0.709 GB, free: 80.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/5.079, allocations: 400.8 kB / 0.7093 GB, free: 80.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/5.093, allocations: 3.37 MB / 0.7126 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/5.093, allocations: 18.41 kB / 0.7126 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/5.093, allocations: 5.469 kB / 0.7126 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/5.093, allocations: 17.08 kB / 0.7127 GB, free: 79.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/5.121, allocations: 8.057 MB / 0.7205 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/5.121, allocations: 1.406 kB / 0.7205 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003946/5.125, allocations: 317.1 kB / 0.7208 GB, free: 76.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/5.13, allocations: 0.6645 MB / 0.7215 GB, free: 76.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/5.131, allocations: 13.16 kB / 0.7215 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/5.145, allocations: 6.031 MB / 0.7274 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/5.145, allocations: 8.266 kB / 0.7274 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01749/5.162, allocations: 6.153 MB / 0.7334 GB, free: 68.66 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02099/5.183, allocations: 8.673 MB / 0.7419 GB, free: 60.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/5.186, allocations: 0.6948 MB / 0.7426 GB, free: 60.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/5.187, allocations: 4 kB / 0.7426 GB, free: 60.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/5.191, allocations: 62.89 kB / 0.7426 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004569/5.191, allocations: 96.69 kB / 0.7427 GB, free: 60.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/5.191, allocations: 59.09 kB / 0.7428 GB, free: 60.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006541/5.198, allocations: 2.549 MB / 0.7453 GB, free: 57.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01486/5.213, allocations: 1.004 MB / 0.7462 GB, free: 56.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 159 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/5.214, allocations: 141.4 kB / 0.7464 GB, free: 56.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01565/5.23, allocations: 5.376 MB / 0.7516 GB, free: 51.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/5.23, allocations: 0.7188 kB / 0.7516 GB, free: 51.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005958/5.236, allocations: 1.841 MB / 0.7534 GB, free: 50.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/5.241, allocations: 442.5 kB / 0.7538 GB, free: 49.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/5.28, allocations: 9.287 MB / 0.7629 GB, free: 41.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/5.293, allocations: 4.404 MB / 0.7672 GB, free: 38.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/5.293, allocations: 0 / 0.7672 GB, free: 38.18 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat