Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Force",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.712/2.712, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1758/2.888, allocations: 57.21 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/3.207, allocations: 54.84 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/3.655, allocations: 100.7 MB / 454.8 MB, free: 34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/3.655, allocations: 79.91 kB / 454.8 MB, free: 34 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.7304/4.386, allocations: 131.1 MB / 0.5722 GB, free: 12.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/4.386, allocations: 8 kB / 0.5722 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06208/4.448, allocations: 6.737 MB / 0.5788 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04186/4.49, allocations: 7.442 MB / 0.586 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006503/4.491, allocations: 227.9 kB / 0.5863 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00574/4.496, allocations: 387.8 kB / 0.5866 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04091/4.537, allocations: 9.437 MB / 0.5959 GB, free: 4.379 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05113/4.589, allocations: 14.37 MB / 0.6099 GB, free: 4.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007016/4.589, allocations: 91.12 kB / 0.61 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/4.593, allocations: 47.92 kB / 0.61 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004655/4.598, allocations: 1.646 MB / 0.6116 GB, free: 2.777 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4109/5.009, allocations: 70.39 MB / 0.6804 GB, free: 80.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/5.027, allocations: 5.695 MB / 0.6859 GB, free: 80.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/5.041, allocations: 3.962 MB / 0.6898 GB, free: 80.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03201/5.073, allocations: 10.57 MB / 0.7001 GB, free: 77.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/5.073, allocations: 65.38 kB / 0.7002 GB, free: 77.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=258): time 7.775e-06/5.073, allocations: 0 / 0.7002 GB, free: 77.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=300): time 0.1456/5.219, allocations: 26.31 MB / 0.7259 GB, free: 67.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/5.219, allocations: 238.6 kB / 0.7261 GB, free: 67.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02305/5.242, allocations: 4.78 MB / 0.7308 GB, free: 65.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001283/5.243, allocations: 25.7 kB / 0.7308 GB, free: 65.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005207/5.249, allocations: 4.371 MB / 0.7351 GB, free: 62.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002423/5.251, allocations: 1.106 MB / 0.7361 GB, free: 61.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/5.253, allocations: 3.938 kB / 0.7361 GB, free: 61.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001153/5.254, allocations: 0.6898 MB / 0.7368 GB, free: 61.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0112/5.266, allocations: 3.462 MB / 0.7402 GB, free: 59.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01595/5.282, allocations: 8.718 MB / 0.7487 GB, free: 51.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/5.298, allocations: 5.461 MB / 0.754 GB, free: 49.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003689/5.299, allocations: 57.34 kB / 0.7541 GB, free: 49.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.04321/5.342, allocations: 12.32 MB / 0.7661 GB, free: 41.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/5.342, allocations: 11.28 kB / 0.7661 GB, free: 41.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003285/5.342, allocations: 184 kB / 0.7663 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009229/5.352, allocations: 1.602 MB / 0.7679 GB, free: 40.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02104/5.373, allocations: 2.114 MB / 0.7699 GB, free: 38.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/5.403, allocations: 10.14 MB / 0.7798 GB, free: 29.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02068/5.424, allocations: 308.4 kB / 0.7801 GB, free: 29.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003326/5.428, allocations: 0.5417 MB / 0.7807 GB, free: 28.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1114): * Single equations (assignments): 1109 * 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 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004407/5.432, allocations: 0.574 MB / 0.7812 GB, free: 28.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/5.434, allocations: 0.4974 MB / 0.7817 GB, free: 27.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/5.461, allocations: 6.364 MB / 0.7879 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/5.461, allocations: 28 kB / 0.7879 GB, free: 22.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/5.461, allocations: 15.78 kB / 0.788 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-05/5.461, allocations: 9.984 kB / 0.788 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0532/5.514, allocations: 13.23 MB / 0.8009 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/5.514, allocations: 7.844 kB / 0.8009 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006819/5.521, allocations: 0.4976 MB / 0.8014 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008941/5.53, allocations: 1.289 MB / 0.8026 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/5.531, allocations: 14.94 kB / 0.8027 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.028/5.559, allocations: 9.488 MB / 0.8119 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/5.559, allocations: 3.891 kB / 0.8119 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2769/5.836, allocations: 11.07 MB / 0.8227 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04722/5.883, allocations: 14.96 MB / 0.8373 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004556/5.888, allocations: 1.014 MB / 0.8383 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/5.89, allocations: 3.625 kB / 0.8383 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006748/5.897, allocations: 106.4 kB / 0.8384 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/5.899, allocations: 136.7 kB / 0.8386 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001224/5.9, allocations: 71.94 kB / 0.8386 GB, free: 108.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01454/5.915, allocations: 3.233 MB / 0.8418 GB, free: 108.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0145/5.929, allocations: 1.384 MB / 0.8431 GB, free: 108.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 240 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/5.931, allocations: 157.6 kB / 0.8433 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02496/5.956, allocations: 8.453 MB / 0.8516 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/5.956, allocations: 0 / 0.8516 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01142/5.967, allocations: 3.219 MB / 0.8547 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/5.974, allocations: 0.5122 MB / 0.8552 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/6.03, allocations: 12.84 MB / 0.8677 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01901/6.049, allocations: 5.328 MB / 0.8729 GB, free: 105.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.667e-06/6.05, allocations: 0 / 0.8729 GB, free: 105.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat