Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.674e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.6711, allocations: 109 MB / 0.5072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6715, allocations: 76.53 kB / 0.5072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2837/0.9552, allocations: 67.63 MB / 0.5733 GB, free: 7.016 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9553, allocations: 0 / 0.5733 GB, free: 7.016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002587/0.9556, allocations: 60 kB / 0.5733 GB, free: 6.957 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01759/0.9732, allocations: 3.25 MB / 0.5765 GB, free: 3.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.425e-05/0.9733, allocations: 16.02 kB / 0.5765 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002485/0.9758, allocations: 0.5523 MB / 0.5771 GB, free: 3.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006282/0.9821, allocations: 0.577 MB / 0.5776 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.9924, allocations: 2.021 MB / 0.5796 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.993, allocations: 258.7 kB / 0.5799 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.9949, allocations: 332 kB / 0.5802 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/1.026, allocations: 7.513 MB / 0.5875 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/1.027, allocations: 15.81 kB / 0.5875 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/1.028, allocations: 151.9 kB / 0.5877 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.029, allocations: 0.6026 MB / 0.5883 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/1.054, allocations: 6.128 MB / 0.5942 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4018/1.456, allocations: 24.13 MB / 0.6178 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.472, allocations: 1.815 MB / 0.6196 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/1.476, allocations: 0.792 MB / 0.6203 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/1.491, allocations: 5.822 MB / 0.626 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.491, allocations: 47.06 kB / 0.6261 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=75): time 3.597e-06/1.491, allocations: 1.625 kB / 0.6261 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.02504/1.516, allocations: 4.013 MB / 0.63 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.516, allocations: 62.36 kB / 0.6301 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004803/1.521, allocations: 2.001 MB / 0.632 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/1.521, allocations: 41.05 kB / 0.6321 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.523, allocations: 2.038 MB / 0.634 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/1.523, allocations: 373.3 kB / 0.6344 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/1.524, allocations: 69.94 kB / 0.6345 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000252/1.524, allocations: 446 kB / 0.6349 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/1.526, allocations: 0.8556 MB / 0.6357 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/1.53, allocations: 2.888 MB / 0.6385 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.533, allocations: 1.558 MB / 0.6401 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.534, allocations: 20.97 kB / 0.6401 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009667/1.543, allocations: 3.48 MB / 0.6435 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/1.543, allocations: 38.81 kB / 0.6435 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.544, allocations: 74.25 kB / 0.6436 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/1.544, allocations: 112.4 kB / 0.6437 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/1.548, allocations: 0.7837 MB / 0.6445 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/1.549, allocations: 147.9 kB / 0.6446 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.552, allocations: 151.3 kB / 0.6447 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/1.553, allocations: 209.1 kB / 0.6449 GB, free: 114.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (436): * Single equations (assignments): 436 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006088/1.553, allocations: 393.7 kB / 0.6453 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/1.554, allocations: 200.4 kB / 0.6455 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.556, allocations: 1.115 MB / 0.6466 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.556, allocations: 15.36 kB / 0.6466 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.556, allocations: 0 / 0.6466 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.556, allocations: 3.75 kB / 0.6466 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.567, allocations: 5.327 MB / 0.6518 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.567, allocations: 22.92 kB / 0.6518 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.569, allocations: 237.7 kB / 0.6521 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-05/1.569, allocations: 27.22 kB / 0.6521 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/1.569, allocations: 45.97 kB / 0.6521 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/1.569, allocations: 37.98 kB / 0.6522 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-05/1.569, allocations: 27.25 kB / 0.6522 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.572, allocations: 3.473 MB / 0.6556 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/1.573, allocations: 307 kB / 0.6559 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/1.573, allocations: 48.7 kB / 0.6559 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.575, allocations: 46.39 kB / 0.656 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.575, allocations: 139.4 kB / 0.6561 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.575, allocations: 59.19 kB / 0.6562 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002821/1.578, allocations: 1.439 MB / 0.6576 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.883e-06/1.578, allocations: 3.172 kB / 0.6576 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00426/1.582, allocations: 0.585 MB / 0.6582 GB, free: 108.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004432/1.587, allocations: 9.129 MB / 0.6671 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004475/1.591, allocations: 1.995 MB / 0.669 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.885e-05/1.591, allocations: 3.219 kB / 0.669 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.592, allocations: 0.5345 MB / 0.6695 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.595, allocations: 322.2 kB / 0.6698 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.611, allocations: 5.846 MB / 0.6756 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/1.615, allocations: 2.52 MB / 0.678 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004668/1.619, allocations: 0.9243 MB / 0.6789 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/1.622, allocations: 1.25 MB / 0.6801 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/1.622, allocations: 0 / 0.6801 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.731, allocations: 43.98 MB / 0.7231 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.731, allocations: 146.9 kB / 0.7232 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/5.882, allocations: 0 / 0.7232 GB, free: 70.46 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat