Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Revolute",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.524/2.524, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1938/2.718, allocations: 57.2 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/3.069, allocations: 54.87 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/3.527, allocations: 95.18 MB / 449.3 MB, free: 31.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004003/3.527, allocations: 75.2 kB / 449.4 MB, free: 31.59 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.4756/4.003, allocations: 86.71 MB / 0.5235 GB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/4.003, allocations: 12 kB / 0.5235 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03478/4.038, allocations: 2.802 MB / 0.5262 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02658/4.064, allocations: 4.198 MB / 0.5303 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005679/4.065, allocations: 127.9 kB / 0.5305 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004154/4.069, allocations: 220 kB / 0.5307 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0298/4.099, allocations: 7.447 MB / 0.5379 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/4.135, allocations: 9.643 MB / 0.5474 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/4.135, allocations: 27.72 kB / 0.5474 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/4.137, allocations: 12 kB / 0.5474 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/4.14, allocations: 1.281 MB / 0.5487 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/4.257, allocations: 33.35 MB / 0.5812 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/4.273, allocations: 4.289 MB / 0.5854 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009796/4.283, allocations: 2.381 MB / 0.5877 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04354/4.327, allocations: 10.13 MB / 0.5976 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/4.327, allocations: 47.88 kB / 0.5977 GB, free: 464 kB / 458.7 MB Notification: Performance of pre-optimization done (n=186): time 5.67e-06/4.327, allocations: 3.938 kB / 0.5977 GB, free: 460 kB / 458.7 MB Notification: Performance of matching and sorting (n=201): time 0.05469/4.381, allocations: 11.91 MB / 0.6093 GB, free: 4.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/4.382, allocations: 68.72 kB / 0.6094 GB, free: 4.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008255/4.39, allocations: 2.479 MB / 0.6118 GB, free: 1.891 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000656/4.391, allocations: 25.7 kB / 0.6118 GB, free: 1.859 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.19/4.581, allocations: 2.796 MB / 0.6146 GB, free: 159.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001362/4.582, allocations: 0.7294 MB / 0.6153 GB, free: 159.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000832/4.583, allocations: 2.969 kB / 0.6153 GB, free: 159.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007302/4.584, allocations: 0.5997 MB / 0.6159 GB, free: 158.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006616/4.59, allocations: 2.196 MB / 0.618 GB, free: 158.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009079/4.599, allocations: 5.317 MB / 0.6232 GB, free: 154.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/4.61, allocations: 3.475 MB / 0.6266 GB, free: 154.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002245/4.61, allocations: 30.5 kB / 0.6266 GB, free: 154.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02865/4.639, allocations: 7.504 MB / 0.6339 GB, free: 154.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/4.639, allocations: 3.844 kB / 0.6339 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/4.639, allocations: 115.1 kB / 0.6341 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005154/4.644, allocations: 0.762 MB / 0.6348 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009903/4.654, allocations: 1.255 MB / 0.636 GB, free: 154.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/4.666, allocations: 3.921 MB / 0.6399 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/4.678, allocations: 162.5 kB / 0.64 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002497/4.681, allocations: 334.8 kB / 0.6403 GB, free: 152.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (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 (680): * Single equations (assignments): 673 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003493/4.684, allocations: 381.9 kB / 0.6407 GB, free: 152.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/4.685, allocations: 259.9 kB / 0.6409 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02672/4.712, allocations: 4.18 MB / 0.645 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001571/4.712, allocations: 35.56 kB / 0.6451 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/4.712, allocations: 3.938 kB / 0.6451 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/4.713, allocations: 8.625 kB / 0.6451 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/4.75, allocations: 8.095 MB / 0.653 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/4.75, allocations: 0 / 0.653 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005263/4.755, allocations: 274 kB / 0.6532 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007534/4.763, allocations: 0.5833 MB / 0.6538 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008396/4.764, allocations: 0 / 0.6538 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/4.775, allocations: 3.436 MB / 0.6572 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/4.775, allocations: 0 / 0.6572 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01987/4.795, allocations: 6.384 MB / 0.6634 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02563/4.821, allocations: 9.172 MB / 0.6723 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/4.824, allocations: 0.6195 MB / 0.673 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/4.826, allocations: 1.125 kB / 0.673 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/4.829, allocations: 58.03 kB / 0.673 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/4.829, allocations: 73.7 kB / 0.6731 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/4.829, allocations: 53.17 kB / 0.6731 GB, free: 145.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006153/4.836, allocations: 1.628 MB / 0.6747 GB, free: 145.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01153/4.847, allocations: 0.8279 MB / 0.6755 GB, free: 145.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/4.848, allocations: 138.1 kB / 0.6757 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03057/4.879, allocations: 5.156 MB / 0.6807 GB, free: 143.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/4.879, allocations: 0 / 0.6807 GB, free: 143.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01493/4.894, allocations: 1.805 MB / 0.6825 GB, free: 142.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006511/4.901, allocations: 207.3 kB / 0.6827 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05055/4.951, allocations: 7.586 MB / 0.6901 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01562/4.967, allocations: 3.548 MB / 0.6935 GB, free: 133.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/4.967, allocations: 3.156 kB / 0.6935 GB, free: 133.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat