Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.644/2.644, allocations: 270 MB / 283.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.108e-05/5.118e-05, allocations: 4 kB / 348.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4295, allocations: 61.89 MB / 410.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.6536, allocations: 109.7 MB / 0.5078 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6539, allocations: 75.95 kB / 0.5079 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6358/1.29, allocations: 68.98 MB / 0.5753 GB, free: 66.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.29, allocations: 0 / 0.5753 GB, free: 66.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001963/1.29, allocations: 75.86 kB / 0.5754 GB, free: 66.91 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01473/1.305, allocations: 3.453 MB / 0.5787 GB, free: 63.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.305, allocations: 8.031 kB / 0.5787 GB, free: 63.39 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002394/1.307, allocations: 0.5604 MB / 0.5793 GB, free: 62.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/1.312, allocations: 0.5741 MB / 0.5798 GB, free: 62.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007496/1.32, allocations: 2.056 MB / 0.5819 GB, free: 60.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/1.32, allocations: 254.6 kB / 0.5821 GB, free: 59.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.322, allocations: 319.9 kB / 0.5824 GB, free: 59.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/1.349, allocations: 7.881 MB / 0.5901 GB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/1.349, allocations: 11.88 kB / 0.5901 GB, free: 51.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.35, allocations: 155.9 kB / 0.5903 GB, free: 51.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001287/1.351, allocations: 0.6538 MB / 0.5909 GB, free: 50.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/1.376, allocations: 6.66 MB / 0.5974 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04448/1.42, allocations: 25.7 MB / 0.6225 GB, free: 17.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.432, allocations: 2.204 MB / 0.6247 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/1.434, allocations: 1.038 MB / 0.6257 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/1.447, allocations: 7.069 MB / 0.6326 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.447, allocations: 39.34 kB / 0.6326 GB, free: 6.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 3.537e-06/1.447, allocations: 0 / 0.6326 GB, free: 6.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.0416/1.489, allocations: 4.711 MB / 0.6372 GB, free: 1.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/1.489, allocations: 60.19 kB / 0.6373 GB, free: 1.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/1.493, allocations: 2.11 MB / 0.6393 GB, free: 15.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/1.494, allocations: 41.7 kB / 0.6394 GB, free: 15.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.496, allocations: 2.062 MB / 0.6414 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/1.497, allocations: 383.2 kB / 0.6417 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/1.497, allocations: 75.94 kB / 0.6418 GB, free: 13.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003572/1.497, allocations: 461.4 kB / 0.6423 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.5, allocations: 0.9832 MB / 0.6432 GB, free: 11.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/1.505, allocations: 3.121 MB / 0.6463 GB, free: 7.375 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/1.51, allocations: 1.714 MB / 0.6479 GB, free: 5.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.587e-05/1.51, allocations: 20 kB / 0.648 GB, free: 5.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.01335/1.523, allocations: 3.814 MB / 0.6517 GB, free: 1.816 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/1.523, allocations: 40 kB / 0.6517 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/1.524, allocations: 76 kB / 0.6518 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/1.524, allocations: 112 kB / 0.6519 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005489/1.529, allocations: 0.8466 MB / 0.6527 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001972/1.53, allocations: 151.4 kB / 0.6529 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/1.533, allocations: 179.8 kB / 0.653 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006421/1.534, allocations: 212 kB / 0.6532 GB, free: 220 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (453): * Single equations (assignments): 453 * 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.0007881/1.535, allocations: 408.3 kB / 0.6536 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/1.535, allocations: 201.4 kB / 0.6538 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/1.539, allocations: 1.385 MB / 0.6552 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.539, allocations: 11.98 kB / 0.6552 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.539, allocations: 7.938 kB / 0.6552 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.539, allocations: 3.984 kB / 0.6552 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.553, allocations: 5.348 MB / 0.6604 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-05/1.554, allocations: 16 kB / 0.6604 GB, free: 8.504 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.555, allocations: 235.7 kB / 0.6607 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.724e-05/1.555, allocations: 31.94 kB / 0.6607 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.556, allocations: 51.98 kB / 0.6607 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-05/1.556, allocations: 27.88 kB / 0.6608 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.499e-05/1.556, allocations: 23.94 kB / 0.6608 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/1.56, allocations: 3.263 MB / 0.664 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008226/1.561, allocations: 314 kB / 0.6643 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/1.562, allocations: 43.98 kB / 0.6643 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.563, allocations: 51.97 kB / 0.6644 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.563, allocations: 136 kB / 0.6645 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.564, allocations: 52 kB / 0.6646 GB, free: 3.668 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003956/1.567, allocations: 1.485 MB / 0.666 GB, free: 2.164 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.193e-06/1.568, allocations: 0 / 0.666 GB, free: 2.164 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00461/1.572, allocations: 0.6171 MB / 0.6666 GB, free: 1.547 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.007369/1.58, allocations: 8.114 MB / 0.6745 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006332/1.586, allocations: 2.223 MB / 0.6767 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-05/1.586, allocations: 4 kB / 0.6767 GB, free: 6.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.588, allocations: 0.5816 MB / 0.6773 GB, free: 6.133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.59, allocations: 315.8 kB / 0.6776 GB, free: 5.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.614, allocations: 5.813 MB / 0.6832 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007689/1.621, allocations: 2.52 MB / 0.6857 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007815/1.629, allocations: 0.9768 MB / 0.6867 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004295/1.634, allocations: 1.245 MB / 0.6879 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/1.634, allocations: 0 / 0.6879 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5347/2.168, allocations: 45.85 MB / 0.7327 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/2.169, allocations: 145.4 kB / 0.7328 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/6.014, allocations: 0 / 0.7328 GB, free: 139.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat