Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointRRR",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.648/2.648, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1572/2.805, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/3.07, allocations: 54.87 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/3.521, allocations: 102.1 MB / 456.2 MB, free: 34.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/3.521, allocations: 77.72 kB / 456.3 MB, free: 34.55 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.3471/3.868, allocations: 74.85 MB / 0.5187 GB, free: 3.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/3.868, allocations: 8 kB / 0.5187 GB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/3.879, allocations: 0.7047 MB / 0.5194 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/3.891, allocations: 2.556 MB / 0.5219 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/3.892, allocations: 136 kB / 0.522 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/3.895, allocations: 240 kB / 0.5222 GB, free: 272 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02371/3.918, allocations: 6.263 MB / 0.5283 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/3.949, allocations: 7.91 MB / 0.5361 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002347/3.949, allocations: 19.81 kB / 0.5361 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002807/3.952, allocations: 15.94 kB / 0.5361 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003514/3.956, allocations: 0.8785 MB / 0.5369 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09615/4.052, allocations: 30.29 MB / 0.5665 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006837/4.059, allocations: 1.971 MB / 0.5684 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006109/4.065, allocations: 1.469 MB / 0.5699 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/4.096, allocations: 8.682 MB / 0.5784 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/4.096, allocations: 39.22 kB / 0.5784 GB, free: 5.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 4.969e-06/4.096, allocations: 0 / 0.5784 GB, free: 5.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.04162/4.138, allocations: 7.364 MB / 0.5856 GB, free: 13.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/4.138, allocations: 119.5 kB / 0.5857 GB, free: 13.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007431/4.145, allocations: 2.195 MB / 0.5878 GB, free: 11.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/4.146, allocations: 25.7 kB / 0.5879 GB, free: 11.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/4.149, allocations: 2.467 MB / 0.5903 GB, free: 8.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/4.15, allocations: 395.2 kB / 0.5907 GB, free: 8.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/4.15, allocations: 0 / 0.5907 GB, free: 8.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004721/4.151, allocations: 483 kB / 0.5911 GB, free: 8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00492/4.156, allocations: 1.332 MB / 0.5924 GB, free: 6.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00854/4.164, allocations: 3.761 MB / 0.5961 GB, free: 1.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009101/4.174, allocations: 2.219 MB / 0.5983 GB, free: 15.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/4.174, allocations: 31.94 kB / 0.5983 GB, free: 15.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.02211/4.196, allocations: 4.639 MB / 0.6028 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/4.196, allocations: 4 kB / 0.6028 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/4.196, allocations: 88 kB / 0.6029 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/4.196, allocations: 128.8 kB / 0.603 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009601/4.206, allocations: 0.9982 MB / 0.604 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002425/4.206, allocations: 179.2 kB / 0.6042 GB, free: 9.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/4.217, allocations: 143.6 kB / 0.6043 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001986/4.219, allocations: 252 kB / 0.6046 GB, free: 8.977 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (534): * Single equations (assignments): 533 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002327/4.221, allocations: 339.9 kB / 0.6049 GB, free: 8.637 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/4.222, allocations: 217.4 kB / 0.6051 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009379/4.232, allocations: 1.753 MB / 0.6068 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/4.232, allocations: 11.91 kB / 0.6068 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/4.232, allocations: 4 kB / 0.6068 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/4.232, allocations: 3.984 kB / 0.6068 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/4.253, allocations: 5.708 MB / 0.6124 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/4.253, allocations: 16 kB / 0.6124 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/4.255, allocations: 263.6 kB / 0.6127 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-05/4.255, allocations: 24 kB / 0.6127 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/4.256, allocations: 20 kB / 0.6127 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.256e-05/4.256, allocations: 35.86 kB / 0.6127 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.193e-05/4.256, allocations: 28.38 kB / 0.6128 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2053/4.461, allocations: 3.528 MB / 0.6162 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007297/4.469, allocations: 3.94 MB / 0.6201 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/4.47, allocations: 321.8 kB / 0.6204 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/4.472, allocations: 26.3 kB / 0.6204 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007469/4.479, allocations: 34.2 kB / 0.6204 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/4.48, allocations: 119.4 kB / 0.6205 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/4.48, allocations: 61.56 kB / 0.6206 GB, free: 147.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009513/4.49, allocations: 1.459 MB / 0.622 GB, free: 147 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01066/4.5, allocations: 0.6609 MB / 0.6227 GB, free: 147 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009524/4.501, allocations: 192.3 kB / 0.6228 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/4.511, allocations: 2.951 MB / 0.6257 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.562e-05/4.512, allocations: 3.938 kB / 0.6257 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/4.514, allocations: 0.7851 MB / 0.6265 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/4.518, allocations: 219.9 kB / 0.6267 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/4.546, allocations: 6.245 MB / 0.6328 GB, free: 145.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01062/4.557, allocations: 3.225 MB / 0.636 GB, free: 144.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.735e-06/4.557, allocations: 0 / 0.636 GB, free: 144.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat