Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Spherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.414/3.414, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.77e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4795, allocations: 54.87 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.7457, allocations: 94.56 MB / 449 MB, free: 476 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/0.7462, allocations: 75.95 kB / 449.1 MB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9285/1.675, allocations: 81.54 MB / 0.5182 GB, free: 46.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.819e-06/1.675, allocations: 0 / 0.5182 GB, free: 46.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002048/1.675, allocations: 67.94 kB / 0.5182 GB, free: 46.4 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02522/1.7, allocations: 3.845 MB / 0.522 GB, free: 42.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/1.7, allocations: 8.031 kB / 0.522 GB, free: 42.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003829/1.704, allocations: 0.5977 MB / 0.5226 GB, free: 41.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05134/1.755, allocations: 5.875 MB / 0.5283 GB, free: 35.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0241/1.78, allocations: 5.294 MB / 0.5335 GB, free: 30.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/1.78, allocations: 155.9 kB / 0.5336 GB, free: 30.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/1.783, allocations: 216 kB / 0.5338 GB, free: 30.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02153/1.804, allocations: 6.887 MB / 0.5406 GB, free: 23.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.842, allocations: 9.19 MB / 0.5495 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002857/1.843, allocations: 27.72 kB / 0.5496 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002738/1.845, allocations: 16 kB / 0.5496 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/1.85, allocations: 1.156 MB / 0.5507 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/1.959, allocations: 35.03 MB / 0.5849 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/1.97, allocations: 4.075 MB / 0.5889 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006866/1.977, allocations: 2.271 MB / 0.5911 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003532/1.98, allocations: 1.88 MB / 0.5929 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.933e-05/1.98, allocations: 56.5 kB / 0.593 GB, free: 15.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=226): time 8.596e-06/1.98, allocations: 0 / 0.593 GB, free: 15.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.05749/2.038, allocations: 11.81 MB / 0.6045 GB, free: 4.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/2.038, allocations: 77.41 kB / 0.6046 GB, free: 3.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/2.045, allocations: 2.383 MB / 0.6069 GB, free: 1.535 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006947/2.045, allocations: 25.7 kB / 0.607 GB, free: 1.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003815/2.049, allocations: 2.754 MB / 0.6096 GB, free: 14.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/2.051, allocations: 0.8401 MB / 0.6105 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/2.052, allocations: 3.938 kB / 0.6105 GB, free: 13.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006794/2.053, allocations: 0.5578 MB / 0.611 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008082/2.061, allocations: 2.522 MB / 0.6135 GB, free: 10.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/2.073, allocations: 5.721 MB / 0.6191 GB, free: 3.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4111/2.484, allocations: 3.812 MB / 0.6228 GB, free: 113.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002013/2.484, allocations: 32.03 kB / 0.6228 GB, free: 113.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.1764/2.661, allocations: 18.49 MB / 0.6409 GB, free: 113.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000186/2.661, allocations: 52.75 kB / 0.6409 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1442/2.805, allocations: 11.89 MB / 0.6525 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1416/2.947, allocations: 10.31 MB / 0.6626 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/2.959, allocations: 1.314 MB / 0.6639 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06336/3.022, allocations: 15.1 MB / 0.6786 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/3.035, allocations: 341.4 kB / 0.679 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003082/3.038, allocations: 336.5 kB / 0.6793 GB, free: 100.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 21 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (693): * Single equations (assignments): 682 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002343/3.04, allocations: 399.8 kB / 0.6797 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/3.041, allocations: 266.6 kB / 0.6799 GB, free: 99.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/3.059, allocations: 4.978 MB / 0.6848 GB, free: 94.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01607/3.075, allocations: 4.279 MB / 0.689 GB, free: 90.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/3.075, allocations: 7.531 kB / 0.689 GB, free: 90.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.311e-05/3.075, allocations: 11.91 kB / 0.689 GB, free: 90.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/3.117, allocations: 11.95 MB / 0.7007 GB, free: 78.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/3.117, allocations: 8 kB / 0.7007 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004662/3.121, allocations: 407.3 kB / 0.701 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006794/3.128, allocations: 0.9306 MB / 0.702 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/3.129, allocations: 27.92 kB / 0.702 GB, free: 77.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/3.14, allocations: 5.284 MB / 0.7071 GB, free: 71.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001413/3.142, allocations: 1.399 MB / 0.7085 GB, free: 70.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/3.166, allocations: 8.261 MB / 0.7166 GB, free: 61.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/3.168, allocations: 333.5 kB / 0.7169 GB, free: 61.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/3.169, allocations: 19.92 kB / 0.7169 GB, free: 61.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/3.175, allocations: 167.7 kB / 0.7171 GB, free: 61.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/3.176, allocations: 144.9 kB / 0.7172 GB, free: 61.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004985/3.176, allocations: 67.97 kB / 0.7173 GB, free: 61.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00594/3.182, allocations: 1.564 MB / 0.7188 GB, free: 59.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.995e-06/3.182, allocations: 0 / 0.7188 GB, free: 59.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01244/3.195, allocations: 1.005 MB / 0.7198 GB, free: 58.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03438/3.229, allocations: 10.95 MB / 0.7305 GB, free: 47.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02684/3.256, allocations: 6.331 MB / 0.7367 GB, free: 41.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/3.256, allocations: 3.938 kB / 0.7367 GB, free: 41.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009006/3.265, allocations: 2.46 MB / 0.7391 GB, free: 38.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/3.269, allocations: 243.3 kB / 0.7393 GB, free: 38.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/3.309, allocations: 9.678 MB / 0.7487 GB, free: 28.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00769/3.317, allocations: 3.231 MB / 0.7519 GB, free: 25.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01255/3.329, allocations: 2.157 MB / 0.754 GB, free: 23.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00566/3.335, allocations: 1.675 MB / 0.7556 GB, free: 21.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.395e-06/3.335, allocations: 0 / 0.7556 GB, free: 21.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7026/4.038, allocations: 77.69 MB / 0.8315 GB, free: 131.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003099/4.038, allocations: 139.8 kB / 0.8317 GB, free: 131.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.224/10.26, allocations: 0 / 0.8317 GB, free: 131.6 MB / 490.7 MB