Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Cylindrical",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.784/2.784, allocations: 235 MB / 242 MB, free: 13.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2213/3.006, allocations: 57.2 MB / 299.2 MB, free: 3.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/3.347, allocations: 54.86 MB / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/3.831, allocations: 98.22 MB / 452.3 MB, free: 33.88 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/3.832, allocations: 74.38 kB / 452.4 MB, free: 33.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.5039/4.336, allocations: 91.85 MB / 0.5315 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/4.336, allocations: 12 kB / 0.5315 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03598/4.372, allocations: 2.849 MB / 0.5343 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/4.401, allocations: 4.464 MB / 0.5386 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000608/4.402, allocations: 147.9 kB / 0.5388 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004403/4.407, allocations: 244 kB / 0.539 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03175/4.438, allocations: 7.862 MB / 0.5467 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04866/4.487, allocations: 10.21 MB / 0.5566 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/4.487, allocations: 27.81 kB / 0.5567 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003004/4.491, allocations: 12 kB / 0.5567 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004049/4.495, allocations: 1.329 MB / 0.558 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/4.612, allocations: 35.58 MB / 0.5927 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009764/4.622, allocations: 3.105 MB / 0.5958 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007727/4.629, allocations: 2.475 MB / 0.5982 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04063/4.67, allocations: 9.697 MB / 0.6076 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/4.67, allocations: 51.88 kB / 0.6077 GB, free: 13.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 1.016e-05/4.67, allocations: 7.984 kB / 0.6077 GB, free: 13.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=232): time 0.272/4.942, allocations: 15.64 MB / 0.623 GB, free: 156.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/4.942, allocations: 73.16 kB / 0.623 GB, free: 156.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009962/4.952, allocations: 2.539 MB / 0.6255 GB, free: 156.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006276/4.953, allocations: 25.7 kB / 0.6255 GB, free: 156.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/4.956, allocations: 2.922 MB / 0.6284 GB, free: 155.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001695/4.958, allocations: 0.8296 MB / 0.6292 GB, free: 154.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008899/4.959, allocations: 0 / 0.6292 GB, free: 154.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007163/4.959, allocations: 0.5614 MB / 0.6298 GB, free: 154.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00712/4.966, allocations: 2.384 MB / 0.6321 GB, free: 154.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009552/4.976, allocations: 5.568 MB / 0.6375 GB, free: 150.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/4.987, allocations: 3.715 MB / 0.6412 GB, free: 150.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/4.987, allocations: 31.94 kB / 0.6412 GB, free: 150.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02945/5.016, allocations: 8.078 MB / 0.6491 GB, free: 149.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/5.016, allocations: 6.078 kB / 0.6491 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/5.017, allocations: 113.9 kB / 0.6492 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006391/5.023, allocations: 0.8938 MB / 0.6501 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/5.034, allocations: 1.313 MB / 0.6513 GB, free: 149.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/5.047, allocations: 4.478 MB / 0.6557 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008467/5.055, allocations: 168.9 kB / 0.6559 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/5.058, allocations: 339.1 kB / 0.6562 GB, free: 148.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (717): * Single equations (assignments): 710 * 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 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002312/5.06, allocations: 395.6 kB / 0.6566 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008825/5.061, allocations: 280.2 kB / 0.6568 GB, free: 148 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/5.079, allocations: 4.749 MB / 0.6615 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001591/5.079, allocations: 40.39 kB / 0.6615 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/5.079, allocations: 10.02 kB / 0.6615 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-05/5.079, allocations: 7.172 kB / 0.6615 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03476/5.114, allocations: 9.331 MB / 0.6706 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/5.114, allocations: 2.625 kB / 0.6707 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00429/5.118, allocations: 327.8 kB / 0.671 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005701/5.124, allocations: 0.6862 MB / 0.6716 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006941/5.125, allocations: 14.84 kB / 0.6716 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/5.136, allocations: 3.81 MB / 0.6754 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.186e-05/5.136, allocations: 10.67 kB / 0.6754 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02786/5.164, allocations: 7.447 MB / 0.6827 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02988/5.194, allocations: 10.49 MB / 0.6929 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/5.197, allocations: 0.6745 MB / 0.6936 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/5.198, allocations: 3.812 kB / 0.6936 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/5.202, allocations: 63.97 kB / 0.6936 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/5.203, allocations: 99.73 kB / 0.6937 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000358/5.203, allocations: 57.16 kB / 0.6938 GB, free: 137.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 0.005387/5.208, allocations: 1.679 MB / 0.6954 GB, free: 136.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009525/5.218, allocations: 0.8937 MB / 0.6963 GB, free: 136.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/5.219, allocations: 151.6 kB / 0.6964 GB, free: 136.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02082/5.24, allocations: 5.598 MB / 0.7019 GB, free: 133.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/5.24, allocations: 0 / 0.7019 GB, free: 133.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005753/5.246, allocations: 2.028 MB / 0.7039 GB, free: 131.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/5.249, allocations: 224.2 kB / 0.7041 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/5.279, allocations: 8.329 MB / 0.7122 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/5.291, allocations: 3.787 MB / 0.7159 GB, free: 121 MB / 478.1 MB Notification: Performance of SimCode: time 1.754e-06/5.291, allocations: 0 / 0.7159 GB, free: 121 MB / 478.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat