Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS2",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.675/2.675, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.213/2.888, allocations: 57.21 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/3.266, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/3.766, allocations: 101.3 MB / 455.3 MB, free: 34.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/3.767, allocations: 77.2 kB / 455.4 MB, free: 34.08 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.5539/4.321, allocations: 100.6 MB / 0.543 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/4.321, allocations: 8 kB / 0.543 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04033/4.361, allocations: 4.193 MB / 0.5471 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/4.391, allocations: 6.12 MB / 0.5531 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/4.392, allocations: 148 kB / 0.5532 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/4.395, allocations: 271.9 kB / 0.5535 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02589/4.421, allocations: 7.66 MB / 0.561 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/4.46, allocations: 11.07 MB / 0.5718 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000419/4.461, allocations: 67.31 kB / 0.5719 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002812/4.463, allocations: 32 kB / 0.5719 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003911/4.467, allocations: 1.339 MB / 0.5732 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3538/4.821, allocations: 55.33 MB / 0.6272 GB, free: 113.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/4.836, allocations: 4.441 MB / 0.6316 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/4.847, allocations: 3.235 MB / 0.6347 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0539/4.901, allocations: 12.96 MB / 0.6474 GB, free: 110.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.778e-05/4.901, allocations: 53.19 kB / 0.6474 GB, free: 110.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 1.159e-05/4.901, allocations: 0 / 0.6474 GB, free: 110.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.2159/5.117, allocations: 27.71 MB / 0.6745 GB, free: 105.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/5.117, allocations: 205.5 kB / 0.6747 GB, free: 105.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/5.132, allocations: 3.349 MB / 0.678 GB, free: 104.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001032/5.133, allocations: 25.7 kB / 0.678 GB, free: 104.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004591/5.138, allocations: 3.229 MB / 0.6811 GB, free: 102.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002652/5.14, allocations: 0.9187 MB / 0.682 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/5.142, allocations: 0 / 0.682 GB, free: 101.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009431/5.143, allocations: 0.6011 MB / 0.6826 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01251/5.156, allocations: 2.995 MB / 0.6856 GB, free: 100 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/5.168, allocations: 7.019 MB / 0.6924 GB, free: 93.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/5.181, allocations: 4.536 MB / 0.6968 GB, free: 92.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/5.181, allocations: 40.28 kB / 0.6969 GB, free: 92.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.05773/5.239, allocations: 11.5 MB / 0.7081 GB, free: 89.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/5.239, allocations: 5.469 kB / 0.7081 GB, free: 89.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00033/5.239, allocations: 142.3 kB / 0.7083 GB, free: 89.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02159/5.261, allocations: 2.948 MB / 0.7111 GB, free: 88.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/5.274, allocations: 1.576 MB / 0.7127 GB, free: 88.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05265/5.327, allocations: 13.27 MB / 0.7256 GB, free: 76.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/5.338, allocations: 284.5 kB / 0.7259 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/5.341, allocations: 421.9 kB / 0.7263 GB, free: 76.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002632/5.343, allocations: 461 kB / 0.7267 GB, free: 75.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/5.345, allocations: 375.1 kB / 0.7271 GB, free: 75.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03614/5.381, allocations: 7.007 MB / 0.7339 GB, free: 70.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/5.381, allocations: 24 kB / 0.734 GB, free: 70.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/5.381, allocations: 8 kB / 0.734 GB, free: 70.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-05/5.381, allocations: 18.44 kB / 0.734 GB, free: 70 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05711/5.438, allocations: 13.79 MB / 0.7475 GB, free: 58.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/5.438, allocations: 0.5312 kB / 0.7475 GB, free: 58.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004946/5.443, allocations: 353 kB / 0.7478 GB, free: 58.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02047/5.464, allocations: 2.624 MB / 0.7504 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008445/5.465, allocations: 7.906 kB / 0.7504 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04151/5.506, allocations: 11.92 MB / 0.762 GB, free: 46.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/5.506, allocations: 0 / 0.762 GB, free: 46.47 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1082/5.615, allocations: 11.11 MB / 0.7728 GB, free: 36.95 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0742/5.689, allocations: 15.12 MB / 0.7876 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005506/5.694, allocations: 0.8748 MB / 0.7885 GB, free: 21.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/5.697, allocations: 4 kB / 0.7885 GB, free: 21.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008134/5.705, allocations: 107.8 kB / 0.7886 GB, free: 21.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/5.707, allocations: 105.8 kB / 0.7887 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007086/5.707, allocations: 64 kB / 0.7887 GB, free: 21.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0101/5.718, allocations: 2.249 MB / 0.7909 GB, free: 19.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01708/5.735, allocations: 1.124 MB / 0.792 GB, free: 18.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/5.736, allocations: 142.9 kB / 0.7922 GB, free: 18.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03411/5.771, allocations: 7.485 MB / 0.7995 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/5.771, allocations: 4 kB / 0.7995 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01365/5.784, allocations: 2.899 MB / 0.8023 GB, free: 7.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/5.791, allocations: 357.5 kB / 0.8027 GB, free: 7.414 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.292/6.083, allocations: 9.884 MB / 0.8123 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01253/6.095, allocations: 4.055 MB / 0.8163 GB, free: 136.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.615e-06/6.095, allocations: 0 / 0.8163 GB, free: 136.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat