Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.587/2.587, allocations: 235.1 MB / 242 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/2.76, allocations: 57.19 MB / 299.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/3.088, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/3.513, allocations: 105 MB / 459.1 MB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/3.514, allocations: 76.83 kB / 459.2 MB, free: 35.22 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.7592/4.273, allocations: 138.1 MB / 0.5833 GB, free: 1.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/4.273, allocations: 12 kB / 0.5833 GB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06626/4.339, allocations: 6.994 MB / 0.5901 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05556/4.395, allocations: 9.841 MB / 0.5997 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/4.396, allocations: 208 kB / 0.5999 GB, free: 420 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004739/4.401, allocations: 403.6 kB / 0.6003 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03489/4.436, allocations: 10.08 MB / 0.6102 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2584/4.694, allocations: 14.61 MB / 0.6244 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005794/4.695, allocations: 95.17 kB / 0.6245 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003381/4.698, allocations: 54.06 kB / 0.6246 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004302/4.703, allocations: 1.695 MB / 0.6262 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/4.855, allocations: 75.92 MB / 0.7004 GB, free: 69.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/4.868, allocations: 5.329 MB / 0.7056 GB, free: 69.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/4.878, allocations: 4.344 MB / 0.7098 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04589/4.924, allocations: 14.34 MB / 0.7238 GB, free: 59.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/4.924, allocations: 65.5 kB / 0.7239 GB, free: 59.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 1.269e-05/4.924, allocations: 0 / 0.7239 GB, free: 59.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.2347/5.159, allocations: 41.21 MB / 0.7641 GB, free: 46.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/5.159, allocations: 275.6 kB / 0.7644 GB, free: 45.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01702/5.176, allocations: 4.733 MB / 0.769 GB, free: 44.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/5.177, allocations: 30.67 kB / 0.769 GB, free: 44.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004518/5.182, allocations: 4.305 MB / 0.7732 GB, free: 40.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002722/5.185, allocations: 1.312 MB / 0.7745 GB, free: 39.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/5.187, allocations: 0 / 0.7745 GB, free: 39.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001074/5.188, allocations: 0.7034 MB / 0.7752 GB, free: 39.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/5.2, allocations: 3.706 MB / 0.7788 GB, free: 36.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01581/5.216, allocations: 9.033 MB / 0.7877 GB, free: 25.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/5.235, allocations: 6.042 MB / 0.7936 GB, free: 20.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/5.235, allocations: 52 kB / 0.7936 GB, free: 20.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.07498/5.31, allocations: 15.72 MB / 0.809 GB, free: 7.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/5.31, allocations: 4 kB / 0.809 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/5.31, allocations: 188 kB / 0.8091 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03083/5.341, allocations: 3.854 MB / 0.8129 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/5.359, allocations: 2.077 MB / 0.8149 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3322/5.691, allocations: 21.2 MB / 0.8356 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/5.706, allocations: 338.1 kB / 0.836 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/5.708, allocations: 0.5604 MB / 0.8365 GB, free: 105.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1116): * Single equations (assignments): 1111 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003949/5.712, allocations: 0.5765 MB / 0.8371 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/5.714, allocations: 0.5393 MB / 0.8376 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05881/5.773, allocations: 9.749 MB / 0.8471 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001686/5.774, allocations: 36.53 kB / 0.8472 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/5.774, allocations: 16.5 kB / 0.8472 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/5.774, allocations: 23.14 kB / 0.8472 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08404/5.858, allocations: 18.16 MB / 0.8649 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-05/5.858, allocations: 3.688 kB / 0.8649 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00665/5.865, allocations: 485.8 kB / 0.8654 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04037/5.905, allocations: 3.416 MB / 0.8687 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001743/5.907, allocations: 17.75 kB / 0.8687 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07912/5.986, allocations: 18.39 MB / 0.8867 GB, free: 99.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/5.986, allocations: 7.078 kB / 0.8867 GB, free: 99.59 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09481/6.081, allocations: 14.48 MB / 0.9008 GB, free: 94.83 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09362/6.175, allocations: 19.27 MB / 0.9197 GB, free: 87.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/6.18, allocations: 1.078 MB / 0.9207 GB, free: 87.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00264/6.183, allocations: 2.938 kB / 0.9207 GB, free: 87.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007724/6.19, allocations: 124.5 kB / 0.9208 GB, free: 87.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/6.192, allocations: 168.4 kB / 0.921 GB, free: 87.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00081/6.193, allocations: 98.52 kB / 0.9211 GB, free: 87.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01147/6.204, allocations: 3.199 MB / 0.9242 GB, free: 85.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01564/6.22, allocations: 1.585 MB / 0.9258 GB, free: 84.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 261 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 39,(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00187/6.222, allocations: 188.7 kB / 0.926 GB, free: 84.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02677/6.249, allocations: 9.244 MB / 0.935 GB, free: 76.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/6.249, allocations: 0 / 0.935 GB, free: 76.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/6.26, allocations: 3.598 MB / 0.9385 GB, free: 73.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007484/6.267, allocations: 0.5676 MB / 0.939 GB, free: 72.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05173/6.319, allocations: 13.39 MB / 0.9521 GB, free: 61.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01803/6.337, allocations: 5.388 MB / 0.9574 GB, free: 57.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.894e-06/6.337, allocations: 0 / 0.9574 GB, free: 57.04 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat