Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.674/2.674, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.512e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.5813, allocations: 98.3 MB / 480.6 MB, free: 10.09 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.5817, allocations: 71.97 kB / 480.7 MB, free: 10.02 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.09628/0.678, allocations: 20.56 MB / 0.4895 GB, free: 5.328 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.073e-06/0.678, allocations: 0 / 0.4895 GB, free: 5.328 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.092e-05/0.6781, allocations: 24 kB / 0.4895 GB, free: 5.305 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004823/0.6829, allocations: 1.386 MB / 0.4909 GB, free: 3.871 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.683, allocations: 8.031 kB / 0.4909 GB, free: 3.863 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006692/0.6837, allocations: 198.3 kB / 0.4911 GB, free: 3.66 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.6855, allocations: 202.3 kB / 0.4913 GB, free: 3.461 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.6879, allocations: 0.7205 MB / 0.492 GB, free: 2.695 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.6881, allocations: 78.03 kB / 0.492 GB, free: 2.617 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/0.6886, allocations: 99.98 kB / 0.4921 GB, free: 2.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.6987, allocations: 2.65 MB / 0.4947 GB, free: 15.7 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/0.6988, allocations: 11.88 kB / 0.4947 GB, free: 15.68 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.699, allocations: 47.97 kB / 0.4948 GB, free: 15.64 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005129/0.6996, allocations: 213.8 kB / 0.495 GB, free: 15.43 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.71, allocations: 2.35 MB / 0.4973 GB, free: 13.08 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.7258, allocations: 8.63 MB / 0.5057 GB, free: 4.176 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/0.7331, allocations: 1.01 MB / 0.5067 GB, free: 3.152 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.7338, allocations: 248.8 kB / 0.5069 GB, free: 2.906 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002443/0.7363, allocations: 1.73 MB / 0.5086 GB, free: 0.8984 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.7364, allocations: 38.56 kB / 0.5086 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.7364, allocations: 0 / 0.5086 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of matching and sorting (n=58): time 0.01977/0.7562, allocations: 2.693 MB / 0.5113 GB, free: 14.14 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.7563, allocations: 59.95 kB / 0.5113 GB, free: 14.07 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.758, allocations: 0.8007 MB / 0.5121 GB, free: 13.26 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.7582, allocations: 33.7 kB / 0.5121 GB, free: 13.22 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.7588, allocations: 0.6642 MB / 0.5128 GB, free: 12.55 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.7591, allocations: 205.2 kB / 0.513 GB, free: 12.34 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.7592, allocations: 24 kB / 0.513 GB, free: 12.32 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.7594, allocations: 406.7 kB / 0.5134 GB, free: 11.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.7607, allocations: 358.5 kB / 0.5137 GB, free: 11.56 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.7621, allocations: 0.9616 MB / 0.5147 GB, free: 10.29 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.7636, allocations: 0.5729 MB / 0.5152 GB, free: 9.715 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/0.7636, allocations: 8 kB / 0.5153 GB, free: 9.707 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003516/0.7672, allocations: 1.307 MB / 0.5165 GB, free: 8.395 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.7672, allocations: 16 kB / 0.5165 GB, free: 8.379 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.7673, allocations: 20.84 kB / 0.5166 GB, free: 8.359 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-05/0.7674, allocations: 39.95 kB / 0.5166 GB, free: 8.32 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.7698, allocations: 323.5 kB / 0.5169 GB, free: 8.004 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.7711, allocations: 1.368 MB / 0.5182 GB, free: 6.508 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7724, allocations: 55.89 kB / 0.5183 GB, free: 6.453 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.7725, allocations: 68 kB / 0.5184 GB, free: 6.387 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.7731, allocations: 211.5 kB / 0.5186 GB, free: 6.172 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.7734, allocations: 90.97 kB / 0.5187 GB, free: 6.082 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.774, allocations: 116.7 kB / 0.5188 GB, free: 5.969 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.774, allocations: 15.89 kB / 0.5188 GB, free: 5.953 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.774, allocations: 0 / 0.5188 GB, free: 5.953 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.7741, allocations: 3.984 kB / 0.5188 GB, free: 5.949 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009842/0.7839, allocations: 2.139 MB / 0.5209 GB, free: 3.672 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.784, allocations: 8.797 kB / 0.5209 GB, free: 3.664 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.7856, allocations: 135.8 kB / 0.521 GB, free: 3.531 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.425e-05/0.7857, allocations: 12 kB / 0.521 GB, free: 3.52 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.7858, allocations: 16 kB / 0.521 GB, free: 3.504 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.7871, allocations: 1.333 MB / 0.5223 GB, free: 2.035 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.7872, allocations: 11.94 kB / 0.5223 GB, free: 2.023 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.789, allocations: 1.123 MB / 0.5234 GB, free: 0.6328 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.7895, allocations: 203.9 kB / 0.5236 GB, free: 424 kB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.7897, allocations: 23.95 kB / 0.5237 GB, free: 400 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.7903, allocations: 15.98 kB / 0.5237 GB, free: 384 kB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.7904, allocations: 51.84 kB / 0.5237 GB, free: 332 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.7905, allocations: 24 kB / 0.5238 GB, free: 308 kB / 458.8 MB Notification: Performance of sorting global known variables: time 0.3346/1.125, allocations: 0.5833 MB / 0.5243 GB, free: 129.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.643e-06/1.125, allocations: 0 / 0.5243 GB, free: 129.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002855/1.128, allocations: 217.8 kB / 0.5245 GB, free: 129.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003848/1.132, allocations: 3.475 MB / 0.5279 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003722/1.136, allocations: 0.8028 MB / 0.5287 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.136, allocations: 0.875 kB / 0.5287 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.137, allocations: 261.6 kB / 0.529 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.139, allocations: 108.1 kB / 0.5291 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/1.148, allocations: 1.942 MB / 0.531 GB, free: 125.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.15, allocations: 1.246 MB / 0.5322 GB, free: 124.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002572/1.153, allocations: 346.5 kB / 0.5325 GB, free: 124.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.154, allocations: 402.1 kB / 0.5329 GB, free: 124.7 MB / 458.8 MB Notification: Performance of SimCode: time 2.264e-06/1.154, allocations: 2.344 kB / 0.5329 GB, free: 124.7 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/1.211, allocations: 16.9 MB / 0.5494 GB, free: 122.1 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.211, allocations: 149.3 kB / 0.5495 GB, free: 121.9 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/4.295, allocations: 0 / 0.5495 GB, free: 121.9 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat