Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.553e-05, allocations: 0 / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4474, allocations: 61.88 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.6351, allocations: 99.76 MB / 0.4982 GB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.6354, allocations: 75.97 kB / 0.4982 GB, free: 6.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09875/0.7342, allocations: 20.84 MB / 0.5186 GB, free: 1.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7343, allocations: 7.938 kB / 0.5186 GB, free: 1.637 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.287e-05/0.7344, allocations: 20 kB / 0.5186 GB, free: 1.617 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.005017/0.7394, allocations: 1.38 MB / 0.52 GB, free: 192 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.7395, allocations: 19.95 kB / 0.52 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3381/1.078, allocations: 185.9 kB / 0.5202 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/1.08, allocations: 203.3 kB / 0.5204 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/1.082, allocations: 0.7091 MB / 0.5211 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.082, allocations: 83.7 kB / 0.5211 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/1.082, allocations: 108.8 kB / 0.5212 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/1.092, allocations: 2.651 MB / 0.5238 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/1.093, allocations: 9.125 kB / 0.5238 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/1.093, allocations: 53.55 kB / 0.5239 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004743/1.093, allocations: 205 kB / 0.5241 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/1.105, allocations: 2.348 MB / 0.5264 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/1.123, allocations: 8.631 MB / 0.5348 GB, free: 96.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00997/1.133, allocations: 0.9834 MB / 0.5358 GB, free: 96.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/1.134, allocations: 248.5 kB / 0.536 GB, free: 95.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/1.136, allocations: 1.746 MB / 0.5377 GB, free: 94.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.136, allocations: 38.28 kB / 0.5377 GB, free: 94.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 5.24e-06/1.136, allocations: 0 / 0.5377 GB, free: 94.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02563/1.162, allocations: 2.698 MB / 0.5404 GB, free: 93.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.162, allocations: 60.12 kB / 0.5404 GB, free: 93.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.163, allocations: 0.8046 MB / 0.5412 GB, free: 93.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/1.163, allocations: 33.27 kB / 0.5412 GB, free: 93.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/1.164, allocations: 0.6514 MB / 0.5419 GB, free: 92.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.164, allocations: 216.8 kB / 0.5421 GB, free: 92.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/1.164, allocations: 23.53 kB / 0.5421 GB, free: 92.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/1.164, allocations: 410.4 kB / 0.5425 GB, free: 92.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/1.165, allocations: 356.1 kB / 0.5428 GB, free: 92.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.166, allocations: 0.9679 MB / 0.5438 GB, free: 91.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.167, allocations: 0.5763 MB / 0.5444 GB, free: 91.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/1.167, allocations: 7.188 kB / 0.5444 GB, free: 91.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002818/1.17, allocations: 1.304 MB / 0.5456 GB, free: 90.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.17, allocations: 14.88 kB / 0.5456 GB, free: 90.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.17, allocations: 22.22 kB / 0.5457 GB, free: 90.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.242e-05/1.17, allocations: 35.75 kB / 0.5457 GB, free: 90.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/1.173, allocations: 327.2 kB / 0.546 GB, free: 90.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.174, allocations: 1.369 MB / 0.5474 GB, free: 89.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.175, allocations: 55.38 kB / 0.5474 GB, free: 88.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.175, allocations: 64 kB / 0.5475 GB, free: 88.93 MB / 442.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.0002693/1.176, allocations: 216.2 kB / 0.5477 GB, free: 88.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.176, allocations: 86.88 kB / 0.5478 GB, free: 88.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.176, allocations: 118.2 kB / 0.5479 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.176, allocations: 7.938 kB / 0.5479 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.176, allocations: 4 kB / 0.5479 GB, free: 88.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.176, allocations: 4.125 kB / 0.5479 GB, free: 88.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/1.181, allocations: 2.122 MB / 0.55 GB, free: 86.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.181, allocations: 11.95 kB / 0.55 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.182, allocations: 127 kB / 0.5501 GB, free: 86.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/1.182, allocations: 15.94 kB / 0.5501 GB, free: 86.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/1.182, allocations: 23.69 kB / 0.5501 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008937/1.183, allocations: 1.339 MB / 0.5514 GB, free: 85.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.183, allocations: 4 kB / 0.5514 GB, free: 85.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.185, allocations: 1.122 MB / 0.5525 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/1.185, allocations: 171.1 kB / 0.5527 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.185, allocations: 20 kB / 0.5527 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/1.186, allocations: 19.42 kB / 0.5527 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.186, allocations: 54.34 kB / 0.5528 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/1.186, allocations: 24 kB / 0.5528 GB, free: 83.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001051/1.187, allocations: 0.5834 MB / 0.5534 GB, free: 82.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.187, allocations: 0 / 0.5534 GB, free: 82.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001433/1.188, allocations: 219.9 kB / 0.5536 GB, free: 82.7 MB / 442.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.00196/1.19, allocations: 3.473 MB / 0.557 GB, free: 79.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/1.192, allocations: 0.8077 MB / 0.5578 GB, free: 78.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.192, allocations: 6.5 kB / 0.5578 GB, free: 78.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/1.193, allocations: 260.1 kB / 0.558 GB, free: 78.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/1.194, allocations: 107.6 kB / 0.5581 GB, free: 78.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/1.199, allocations: 1.932 MB / 0.56 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.2, allocations: 1.245 MB / 0.5612 GB, free: 75.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001526/1.202, allocations: 345.3 kB / 0.5616 GB, free: 74.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/1.202, allocations: 408.2 kB / 0.5619 GB, free: 74.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/1.202, allocations: 0 / 0.5619 GB, free: 74.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05218/1.255, allocations: 16.89 MB / 0.5784 GB, free: 59.03 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/1.255, allocations: 155.8 kB / 0.5786 GB, free: 58.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.205, allocations: 4.062 kB / 0.5786 GB, free: 58.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat