Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.536/2.536, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1891/2.725, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/3.047, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4841/3.531, allocations: 100.7 MB / 454.8 MB, free: 34.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/3.532, allocations: 79.64 kB / 454.9 MB, free: 34.04 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 1.492/5.024, allocations: 181.9 MB / 0.6219 GB, free: 94.84 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/5.024, allocations: 10.25 kB / 0.6219 GB, free: 94.84 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1208/5.145, allocations: 9.458 MB / 0.6311 GB, free: 94.22 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06724/5.212, allocations: 9.936 MB / 0.6408 GB, free: 93.75 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/5.213, allocations: 301.6 kB / 0.6411 GB, free: 93.75 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007743/5.221, allocations: 0.5425 MB / 0.6417 GB, free: 93.74 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06007/5.281, allocations: 13.33 MB / 0.6547 GB, free: 93.7 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07726/5.359, allocations: 19.59 MB / 0.6738 GB, free: 89.23 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000871/5.359, allocations: 111.3 kB / 0.6739 GB, free: 89.21 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005419/5.365, allocations: 50.09 kB / 0.674 GB, free: 89.21 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00522/5.37, allocations: 2.23 MB / 0.6761 GB, free: 89.2 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/5.561, allocations: 88.94 MB / 0.763 GB, free: 50.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/5.581, allocations: 8.268 MB / 0.7711 GB, free: 46.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01346/5.595, allocations: 5.97 MB / 0.7769 GB, free: 43.66 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06116/5.656, allocations: 15.38 MB / 0.7919 GB, free: 30.62 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/5.656, allocations: 73.34 kB / 0.792 GB, free: 30.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=394): time 1.489e-05/5.656, allocations: 0 / 0.792 GB, free: 30.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=460): time 0.4298/6.086, allocations: 38.61 MB / 0.8297 GB, free: 103.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/6.086, allocations: 283.6 kB / 0.83 GB, free: 102.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02701/6.113, allocations: 5.666 MB / 0.8355 GB, free: 102.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002042/6.115, allocations: 25.7 kB / 0.8355 GB, free: 102.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005712/6.121, allocations: 5.692 MB / 0.8411 GB, free: 100.6 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003261/6.124, allocations: 1.647 MB / 0.8427 GB, free: 99.62 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/6.127, allocations: 2.906 kB / 0.8427 GB, free: 99.62 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001335/6.128, allocations: 0.7924 MB / 0.8435 GB, free: 99.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01532/6.143, allocations: 4.93 MB / 0.8483 GB, free: 99.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01972/6.163, allocations: 11.22 MB / 0.8592 GB, free: 91.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/6.183, allocations: 7.39 MB / 0.8665 GB, free: 91.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003067/6.183, allocations: 62.44 kB / 0.8665 GB, free: 91.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.06486/6.248, allocations: 16.88 MB / 0.883 GB, free: 90.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/6.248, allocations: 10.25 kB / 0.883 GB, free: 90.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004473/6.249, allocations: 223 kB / 0.8832 GB, free: 90.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/6.263, allocations: 2.368 MB / 0.8855 GB, free: 90.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02263/6.285, allocations: 2.702 MB / 0.8882 GB, free: 90.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04263/6.328, allocations: 15.52 MB / 0.9033 GB, free: 86.28 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02868/6.357, allocations: 394.9 kB / 0.9037 GB, free: 86.26 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005136/6.362, allocations: 0.669 MB / 0.9044 GB, free: 86.26 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1410): * Single equations (assignments): 1404 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007398/6.37, allocations: 0.6689 MB / 0.905 GB, free: 85.78 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003846/6.373, allocations: 0.629 MB / 0.9056 GB, free: 85.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05812/6.432, allocations: 10.18 MB / 0.9156 GB, free: 84.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002251/6.432, allocations: 42.19 kB / 0.9156 GB, free: 84.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.787e-05/6.432, allocations: 15.84 kB / 0.9156 GB, free: 84.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001626/6.432, allocations: 19.97 kB / 0.9157 GB, free: 84.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1098/6.542, allocations: 20.36 MB / 0.9355 GB, free: 77.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.291e-05/6.542, allocations: 0 / 0.9355 GB, free: 77.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01725/6.559, allocations: 0.7749 MB / 0.9363 GB, free: 77.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01902/6.579, allocations: 1.974 MB / 0.9382 GB, free: 77.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001922/6.581, allocations: 15.44 kB / 0.9382 GB, free: 77.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05856/6.639, allocations: 14.36 MB / 0.9523 GB, free: 69.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/6.639, allocations: 7.828 kB / 0.9523 GB, free: 69.8 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07892/6.718, allocations: 16.49 MB / 0.9684 GB, free: 59.17 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09658/6.815, allocations: 22.95 MB / 0.9908 GB, free: 38.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008968/6.824, allocations: 1.412 MB / 0.9922 GB, free: 37.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003211/6.827, allocations: 7.906 kB / 0.9922 GB, free: 37.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009548/6.837, allocations: 192.3 kB / 0.9924 GB, free: 37.48 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/6.839, allocations: 212.6 kB / 0.9926 GB, free: 37.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00108/6.84, allocations: 115 kB / 0.9927 GB, free: 37.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01134/6.851, allocations: 3.829 MB / 0.9964 GB, free: 33.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01698/6.868, allocations: 1.94 MB / 0.9983 GB, free: 31.99 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/6.87, allocations: 164.6 kB / 0.9985 GB, free: 31.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.2548/7.125, allocations: 12.6 MB / 1.011 GB, free: 96.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/7.125, allocations: 0 / 1.011 GB, free: 96.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0175/7.143, allocations: 5.029 MB / 1.016 GB, free: 96.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/7.15, allocations: 0.6501 MB / 1.016 GB, free: 96.45 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07246/7.223, allocations: 18.25 MB / 1.034 GB, free: 93.42 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02628/7.249, allocations: 7.141 MB / 1.041 GB, free: 92.49 MB / 490.8 MB Notification: Performance of SimCode: time 2.154e-06/7.249, allocations: 0 / 1.041 GB, free: 92.49 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat