Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.253e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5288/0.6654, allocations: 99.77 MB / 0.4982 GB, free: 4.195 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.6657, allocations: 71.97 kB / 0.4982 GB, free: 4.125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1418/0.8074, allocations: 20.84 MB / 0.5186 GB, free: 15.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8075, allocations: 4 kB / 0.5186 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.8076, allocations: 20 kB / 0.5186 GB, free: 15.14 MB / 442.7 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.01521/0.8229, allocations: 1.392 MB / 0.52 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.8229, allocations: 12.03 kB / 0.52 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007352/0.8237, allocations: 194.3 kB / 0.5202 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.8257, allocations: 198.3 kB / 0.5204 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.8282, allocations: 0.7089 MB / 0.5211 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.8284, allocations: 85.98 kB / 0.5211 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.8289, allocations: 99.89 kB / 0.5212 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009909/0.8388, allocations: 2.654 MB / 0.5238 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.8389, allocations: 7.938 kB / 0.5238 GB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.8391, allocations: 51.97 kB / 0.5239 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004674/0.8396, allocations: 205.8 kB / 0.5241 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00932/0.8489, allocations: 2.357 MB / 0.5264 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.8636, allocations: 8.618 MB / 0.5348 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/0.8707, allocations: 0.987 MB / 0.5358 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.8714, allocations: 256.8 kB / 0.536 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/0.8737, allocations: 1.735 MB / 0.5377 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.8738, allocations: 34.56 kB / 0.5377 GB, free: 10.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 5.22e-06/0.8738, allocations: 0 / 0.5377 GB, free: 10.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01921/0.893, allocations: 2.708 MB / 0.5404 GB, free: 7.996 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.8931, allocations: 59.97 kB / 0.5404 GB, free: 7.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.8947, allocations: 0.7929 MB / 0.5412 GB, free: 7.125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.8948, allocations: 33.7 kB / 0.5412 GB, free: 7.086 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/0.8954, allocations: 0.6604 MB / 0.5419 GB, free: 6.414 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.8957, allocations: 209.1 kB / 0.5421 GB, free: 6.207 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.8957, allocations: 28 kB / 0.5421 GB, free: 6.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.896, allocations: 406.7 kB / 0.5425 GB, free: 5.773 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008932/0.8969, allocations: 354.4 kB / 0.5428 GB, free: 5.426 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.8983, allocations: 0.9732 MB / 0.5438 GB, free: 4.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.8996, allocations: 0.5729 MB / 0.5443 GB, free: 3.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/0.8997, allocations: 8 kB / 0.5444 GB, free: 3.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003187/0.9029, allocations: 1.307 MB / 0.5456 GB, free: 2.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.9029, allocations: 16 kB / 0.5456 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.903, allocations: 24.91 kB / 0.5457 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.716e-05/0.903, allocations: 35.98 kB / 0.5457 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.9054, allocations: 319.5 kB / 0.546 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.9068, allocations: 1.364 MB / 0.5473 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.9079, allocations: 55.94 kB / 0.5474 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.908, allocations: 68 kB / 0.5475 GB, free: 256 kB / 458.7 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.0003147/0.9083, allocations: 203.6 kB / 0.5476 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.9085, allocations: 94.92 kB / 0.5477 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.9089, allocations: 112.7 kB / 0.5478 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.9089, allocations: 11.98 kB / 0.5479 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9089, allocations: 3.938 kB / 0.5479 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.9089, allocations: 0 / 0.5479 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.9143, allocations: 2.125 MB / 0.5499 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.9143, allocations: 11.94 kB / 0.5499 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.9154, allocations: 127.8 kB / 0.5501 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/0.9154, allocations: 12 kB / 0.5501 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.9154, allocations: 12 kB / 0.5501 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.9166, allocations: 1.339 MB / 0.5514 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.9167, allocations: 11.94 kB / 0.5514 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.9184, allocations: 1.135 MB / 0.5525 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.9187, allocations: 164 kB / 0.5527 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.9188, allocations: 16 kB / 0.5527 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.9194, allocations: 16 kB / 0.5527 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9195, allocations: 59.78 kB / 0.5528 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.9196, allocations: 24 kB / 0.5528 GB, free: 10.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.9209, allocations: 0.5772 MB / 0.5534 GB, free: 9.652 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.9209, allocations: 4 kB / 0.5534 GB, free: 9.648 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001428/0.9223, allocations: 220 kB / 0.5536 GB, free: 9.434 MB / 474.7 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.002622/0.9249, allocations: 3.487 MB / 0.557 GB, free: 5.742 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.9272, allocations: 0.8065 MB / 0.5578 GB, free: 4.938 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9272, allocations: 0 / 0.5578 GB, free: 4.938 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.9279, allocations: 266.4 kB / 0.558 GB, free: 4.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.9289, allocations: 123.2 kB / 0.5581 GB, free: 4.559 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.9342, allocations: 1.929 MB / 0.56 GB, free: 2.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.9356, allocations: 1.256 MB / 0.5612 GB, free: 1.223 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001569/0.9372, allocations: 347.6 kB / 0.5616 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/0.938, allocations: 399.3 kB / 0.562 GB, free: 500 kB / 474.7 MB Notification: Performance of SimCode: time 1.123e-06/0.938, allocations: 0 / 0.562 GB, free: 500 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05567/0.9937, allocations: 16.89 MB / 0.5784 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.9941, allocations: 149.7 kB / 0.5786 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/4.082, allocations: 0 / 0.5786 GB, free: 15.53 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat