Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.833/2.833, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/3.016, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/3.304, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/3.742, allocations: 98.71 MB / 452.8 MB, free: 33.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/3.742, allocations: 83.52 kB / 452.9 MB, free: 33.05 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.3942/4.137, allocations: 81.57 MB / 0.5219 GB, free: 440 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/4.137, allocations: 12 kB / 0.5219 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03818/4.175, allocations: 3.937 MB / 0.5258 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03282/4.208, allocations: 4.557 MB / 0.5302 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004911/4.208, allocations: 120 kB / 0.5303 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003351/4.212, allocations: 223.9 kB / 0.5305 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02953/4.241, allocations: 5.782 MB / 0.5362 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/4.283, allocations: 8.83 MB / 0.5448 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004586/4.283, allocations: 55.47 kB / 0.5449 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003117/4.287, allocations: 32 kB / 0.5449 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002537/4.289, allocations: 0.9978 MB / 0.5459 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/4.398, allocations: 42.54 MB / 0.5874 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/4.411, allocations: 3.37 MB / 0.5907 GB, free: 7.566 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007841/4.419, allocations: 2.053 MB / 0.5927 GB, free: 5.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02389/4.443, allocations: 6.061 MB / 0.5986 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/4.443, allocations: 55.19 kB / 0.5987 GB, free: 15.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 6.122e-06/4.443, allocations: 3.938 kB / 0.5987 GB, free: 15.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.05805/4.501, allocations: 12.97 MB / 0.6114 GB, free: 2.078 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/4.502, allocations: 179.2 kB / 0.6115 GB, free: 1.867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2186/4.72, allocations: 2.783 MB / 0.6142 GB, free: 154.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005264/4.721, allocations: 25.7 kB / 0.6143 GB, free: 154.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002479/4.723, allocations: 2.723 MB / 0.6169 GB, free: 153.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/4.724, allocations: 0.6425 MB / 0.6176 GB, free: 153.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/4.725, allocations: 0 / 0.6176 GB, free: 153.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004605/4.726, allocations: 0.5504 MB / 0.6181 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006222/4.732, allocations: 2.063 MB / 0.6201 GB, free: 152.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0087/4.741, allocations: 5.525 MB / 0.6255 GB, free: 148.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009446/4.75, allocations: 3.384 MB / 0.6288 GB, free: 148.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/4.75, allocations: 33.38 kB / 0.6288 GB, free: 148.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02906/4.779, allocations: 7.453 MB / 0.6361 GB, free: 147.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/4.779, allocations: 7.438 kB / 0.6361 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003627/4.78, allocations: 121.6 kB / 0.6362 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007358/4.787, allocations: 0.8958 MB / 0.6371 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/4.802, allocations: 1.302 MB / 0.6384 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/4.819, allocations: 5.579 MB / 0.6438 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008654/4.828, allocations: 183.2 kB / 0.644 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/4.83, allocations: 353.5 kB / 0.6443 GB, free: 146.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * 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 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001803/4.832, allocations: 418 kB / 0.6447 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009024/4.832, allocations: 288 kB / 0.645 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/4.845, allocations: 3.326 MB / 0.6483 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001406/4.845, allocations: 15.5 kB / 0.6483 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/4.845, allocations: 7.344 kB / 0.6483 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.875e-05/4.846, allocations: 13.75 kB / 0.6483 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/4.873, allocations: 7.331 MB / 0.6555 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/4.873, allocations: 0 / 0.6555 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/4.877, allocations: 253 kB / 0.6557 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/4.881, allocations: 0.7043 MB / 0.6564 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005037/4.882, allocations: 7.203 kB / 0.6564 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/4.896, allocations: 5.101 MB / 0.6614 GB, free: 142.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/4.896, allocations: 0 / 0.6614 GB, free: 142.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02384/4.92, allocations: 6.134 MB / 0.6674 GB, free: 140 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02203/4.942, allocations: 8.655 MB / 0.6758 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/4.944, allocations: 0.6172 MB / 0.6764 GB, free: 135.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001552/4.946, allocations: 0 / 0.6764 GB, free: 135.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/4.95, allocations: 55.02 kB / 0.6765 GB, free: 135.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006845/4.951, allocations: 75.8 kB / 0.6765 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/4.951, allocations: 54.28 kB / 0.6766 GB, free: 135.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005259/4.956, allocations: 1.863 MB / 0.6784 GB, free: 135 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008523/4.965, allocations: 0.8007 MB / 0.6792 GB, free: 135 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 (132): * Single equations (assignments): 128 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008499/4.966, allocations: 138.7 kB / 0.6793 GB, free: 134.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01524/4.981, allocations: 5.025 MB / 0.6842 GB, free: 133.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/4.981, allocations: 0 / 0.6842 GB, free: 133.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006606/4.988, allocations: 1.776 MB / 0.686 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/4.991, allocations: 284.6 kB / 0.6862 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/5.022, allocations: 7.307 MB / 0.6934 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01483/5.037, allocations: 3.378 MB / 0.6967 GB, free: 127.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/5.037, allocations: 0 / 0.6967 GB, free: 127.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat