Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointRRP",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.656/2.656, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1698/2.826, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/3.151, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/3.623, allocations: 101.5 MB / 455.6 MB, free: 34.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/3.623, allocations: 78.73 kB / 455.7 MB, free: 34.27 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.3772/4, allocations: 73.24 MB / 0.5165 GB, free: 6.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/4, allocations: 8 kB / 0.5165 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/4.009, allocations: 0.6813 MB / 0.5172 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/4.021, allocations: 2.575 MB / 0.5197 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/4.021, allocations: 136 kB / 0.5198 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/4.024, allocations: 251.9 kB / 0.5201 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02518/4.049, allocations: 5.826 MB / 0.5258 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/4.086, allocations: 7.53 MB / 0.5331 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004258/4.087, allocations: 19.81 kB / 0.5331 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/4.09, allocations: 16 kB / 0.5332 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/4.094, allocations: 0.8239 MB / 0.534 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09443/4.189, allocations: 27.64 MB / 0.561 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/4.193, allocations: 1.312 MB / 0.5622 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002856/4.196, allocations: 0.8768 MB / 0.5631 GB, free: 5.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/4.215, allocations: 6.378 MB / 0.5693 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/4.215, allocations: 43.06 kB / 0.5694 GB, free: 14.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 5.03e-06/4.215, allocations: 0 / 0.5694 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.03341/4.248, allocations: 5.817 MB / 0.575 GB, free: 8.488 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/4.249, allocations: 170.8 kB / 0.5752 GB, free: 8.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006788/4.255, allocations: 2.076 MB / 0.5772 GB, free: 6.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/4.256, allocations: 25.7 kB / 0.5773 GB, free: 6.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003091/4.259, allocations: 2.466 MB / 0.5797 GB, free: 3.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006714/4.26, allocations: 328 kB / 0.58 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/4.26, allocations: 0 / 0.58 GB, free: 3.328 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005134/4.261, allocations: 466.3 kB / 0.5804 GB, free: 2.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/4.265, allocations: 0.9721 MB / 0.5814 GB, free: 1.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006361/4.271, allocations: 3.383 MB / 0.5847 GB, free: 13.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/4.277, allocations: 1.784 MB / 0.5864 GB, free: 11.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/4.277, allocations: 28 kB / 0.5864 GB, free: 11.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01436/4.291, allocations: 3.777 MB / 0.5901 GB, free: 7.699 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/4.291, allocations: 4.188 kB / 0.5901 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/4.292, allocations: 92 kB / 0.5902 GB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/4.292, allocations: 128 kB / 0.5903 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008537/4.3, allocations: 0.928 MB / 0.5913 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003481/4.301, allocations: 171.3 kB / 0.5914 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008791/4.31, allocations: 123.6 kB / 0.5915 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/4.311, allocations: 244 kB / 0.5918 GB, free: 6.023 MB / 458.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: 43 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (498): * Single equations (assignments): 497 * 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.001567/4.313, allocations: 338.7 kB / 0.5921 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008691/4.314, allocations: 205.3 kB / 0.5923 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/4.317, allocations: 0.9679 MB / 0.5932 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/4.317, allocations: 12 kB / 0.5932 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/4.317, allocations: 0 / 0.5932 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/4.317, allocations: 8.078 kB / 0.5933 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/4.333, allocations: 4.828 MB / 0.598 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/4.333, allocations: 16 kB / 0.598 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/4.335, allocations: 251.6 kB / 0.5982 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.966e-05/4.336, allocations: 31.91 kB / 0.5983 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/4.336, allocations: 24 kB / 0.5983 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/4.336, allocations: 35.86 kB / 0.5983 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-05/4.336, allocations: 31.88 kB / 0.5983 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006041/4.342, allocations: 3.582 MB / 0.6018 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006378/4.348, allocations: 4.004 MB / 0.6057 GB, free: 5.637 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/4.349, allocations: 314 kB / 0.606 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007318/4.35, allocations: 27.98 kB / 0.6061 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/4.353, allocations: 27.98 kB / 0.6061 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/4.353, allocations: 123.4 kB / 0.6062 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/4.354, allocations: 63.98 kB / 0.6063 GB, free: 5.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005132/4.359, allocations: 1.382 MB / 0.6076 GB, free: 3.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009034/4.368, allocations: 0.5937 MB / 0.6082 GB, free: 3.082 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.001073/4.369, allocations: 178.7 kB / 0.6084 GB, free: 2.895 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/4.38, allocations: 2.311 MB / 0.6106 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.46e-05/4.38, allocations: 4 kB / 0.6106 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/4.383, allocations: 0.5896 MB / 0.6112 GB, free: 12 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2173/4.6, allocations: 231.8 kB / 0.6114 GB, free: 159.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/4.623, allocations: 5.992 MB / 0.6173 GB, free: 158.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01026/4.634, allocations: 3.221 MB / 0.6204 GB, free: 157.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/4.634, allocations: 3.969 kB / 0.6204 GB, free: 157.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat