Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Universal",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.513/2.513, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1643/2.677, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/2.994, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/3.449, allocations: 96.17 MB / 450.3 MB, free: 27.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/3.449, allocations: 71.84 kB / 450.3 MB, free: 27.17 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.5188/3.968, allocations: 95.71 MB / 0.5332 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/3.968, allocations: 12 kB / 0.5332 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03529/4.004, allocations: 2.903 MB / 0.5361 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02535/4.029, allocations: 4.503 MB / 0.5405 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/4.03, allocations: 144 kB / 0.5406 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004381/4.034, allocations: 267.8 kB / 0.5409 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03355/4.068, allocations: 8.362 MB / 0.549 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04091/4.109, allocations: 10.9 MB / 0.5597 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003294/4.109, allocations: 35.64 kB / 0.5597 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/4.112, allocations: 16 kB / 0.5597 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004118/4.116, allocations: 1.411 MB / 0.5611 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/4.231, allocations: 39.17 MB / 0.5994 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/4.245, allocations: 5.23 MB / 0.6045 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008521/4.253, allocations: 3.091 MB / 0.6075 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04113/4.295, allocations: 11.65 MB / 0.6189 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/4.295, allocations: 52.56 kB / 0.6189 GB, free: 5.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=219): time 7.304e-06/4.295, allocations: 0 / 0.6189 GB, free: 5.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.291/4.586, allocations: 16.11 MB / 0.6346 GB, free: 166.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/4.586, allocations: 75.75 kB / 0.6347 GB, free: 166.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/4.598, allocations: 2.692 MB / 0.6373 GB, free: 166 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000972/4.599, allocations: 29.45 kB / 0.6374 GB, free: 166 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004112/4.603, allocations: 3.071 MB / 0.6404 GB, free: 164.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002419/4.606, allocations: 0.8939 MB / 0.6412 GB, free: 163.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/4.607, allocations: 0 / 0.6412 GB, free: 163.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00127/4.609, allocations: 0.5741 MB / 0.6418 GB, free: 163.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/4.622, allocations: 2.816 MB / 0.6446 GB, free: 163.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01637/4.638, allocations: 6.199 MB / 0.6506 GB, free: 159.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/4.655, allocations: 4.228 MB / 0.6547 GB, free: 159.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/4.656, allocations: 32.94 kB / 0.6548 GB, free: 159.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03722/4.693, allocations: 9.473 MB / 0.664 GB, free: 158.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/4.693, allocations: 3.938 kB / 0.664 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003894/4.693, allocations: 121.2 kB / 0.6641 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009491/4.703, allocations: 1.28 MB / 0.6654 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/4.717, allocations: 1.433 MB / 0.6668 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/4.738, allocations: 6.789 MB / 0.6734 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/4.748, allocations: 234.6 kB / 0.6736 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/4.75, allocations: 369.3 kB / 0.674 GB, free: 157.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 751 * Array equations: 6 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002561/4.753, allocations: 414.2 kB / 0.6744 GB, free: 156.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/4.754, allocations: 290 kB / 0.6747 GB, free: 156.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02574/4.78, allocations: 5.987 MB / 0.6805 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002195/4.78, allocations: 38.39 kB / 0.6805 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/4.78, allocations: 3.844 kB / 0.6806 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/4.78, allocations: 14.75 kB / 0.6806 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06126/4.841, allocations: 11.32 MB / 0.6916 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/4.841, allocations: 2.625 kB / 0.6916 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006721/4.848, allocations: 358.1 kB / 0.692 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008556/4.857, allocations: 1.111 MB / 0.693 GB, free: 150.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008029/4.858, allocations: 11.2 kB / 0.6931 GB, free: 150.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/4.883, allocations: 5.907 MB / 0.6988 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/4.883, allocations: 0 / 0.6988 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0389/4.922, allocations: 9.075 MB / 0.7077 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04422/4.967, allocations: 12.86 MB / 0.7202 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003517/4.97, allocations: 0.789 MB / 0.721 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/4.972, allocations: 3.141 kB / 0.721 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00467/4.977, allocations: 105.5 kB / 0.7211 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/4.978, allocations: 93.23 kB / 0.7212 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005541/4.978, allocations: 63.56 kB / 0.7213 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005622/4.984, allocations: 1.772 MB / 0.723 GB, free: 130.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01018/4.994, allocations: 0.9926 MB / 0.724 GB, free: 129.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (186): * Single equations (assignments): 179 * Array equations: 6 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/4.995, allocations: 160.1 kB / 0.7241 GB, free: 129.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02326/5.019, allocations: 6.607 MB / 0.7306 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/5.019, allocations: 0 / 0.7306 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008393/5.027, allocations: 2.6 MB / 0.7331 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/5.03, allocations: 224.1 kB / 0.7333 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/5.066, allocations: 9.219 MB / 0.7423 GB, free: 112.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0135/5.08, allocations: 3.947 MB / 0.7462 GB, free: 109.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.893e-06/5.08, allocations: 0 / 0.7462 GB, free: 109.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat