Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.217e-05, allocations: 5.828 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5571/0.7038, allocations: 100.6 MB / 0.499 GB, free: 3.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.7041, allocations: 71.97 kB / 0.4991 GB, free: 3.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1297/0.8338, allocations: 30.55 MB / 0.5289 GB, free: 4.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8338, allocations: 0 / 0.5289 GB, free: 4.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.834, allocations: 36.19 kB / 0.529 GB, free: 4.484 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.00807/0.842, allocations: 2.004 MB / 0.5309 GB, free: 2.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.8421, allocations: 8.031 kB / 0.5309 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.8433, allocations: 312.4 kB / 0.5312 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.8459, allocations: 317.3 kB / 0.5315 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.8499, allocations: 1.045 MB / 0.5326 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.8501, allocations: 119.2 kB / 0.5327 GB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007237/0.8508, allocations: 160 kB / 0.5328 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.8671, allocations: 4.219 MB / 0.5369 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/0.8672, allocations: 15.86 kB / 0.537 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.8676, allocations: 71.97 kB / 0.537 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009748/0.8686, allocations: 414.5 kB / 0.5374 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.8879, allocations: 3.491 MB / 0.5408 GB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.9169, allocations: 14.54 MB / 0.555 GB, free: 9.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.9244, allocations: 1.209 MB / 0.5562 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.926, allocations: 0.6781 MB / 0.5569 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008609/0.9346, allocations: 3.722 MB / 0.5605 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.9347, allocations: 38.92 kB / 0.5605 GB, free: 3.129 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 3.837e-06/0.9347, allocations: 0 / 0.5605 GB, free: 3.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.01076/0.9455, allocations: 1.459 MB / 0.562 GB, free: 1.664 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.9456, allocations: 55.41 kB / 0.562 GB, free: 1.598 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.9484, allocations: 1.311 MB / 0.5633 GB, free: 280 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.9485, allocations: 33.7 kB / 0.5633 GB, free: 240 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.9498, allocations: 1.197 MB / 0.5645 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.9501, allocations: 178 kB / 0.5647 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.9502, allocations: 40 kB / 0.5647 GB, free: 14.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/0.9505, allocations: 442.9 kB / 0.5651 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.9517, allocations: 468.1 kB / 0.5656 GB, free: 13.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.9542, allocations: 1.85 MB / 0.5674 GB, free: 11.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.9564, allocations: 0.8975 MB / 0.5683 GB, free: 10.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/0.9565, allocations: 16 kB / 0.5683 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00583/0.9624, allocations: 2.069 MB / 0.5703 GB, free: 8.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.9625, allocations: 24 kB / 0.5703 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.519e-05/0.9626, allocations: 52 kB / 0.5704 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.9627, allocations: 75.95 kB / 0.5704 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.9656, allocations: 499 kB / 0.5709 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001294/0.9658, allocations: 99.58 kB / 0.571 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.9681, allocations: 300.9 kB / 0.5713 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.9684, allocations: 132.3 kB / 0.5714 GB, free: 7.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.0004812/0.9689, allocations: 299.6 kB / 0.5717 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.9692, allocations: 122.4 kB / 0.5718 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.9696, allocations: 136.6 kB / 0.572 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.9696, allocations: 8 kB / 0.572 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.9696, allocations: 3.953 kB / 0.572 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.9696, allocations: 7.984 kB / 0.572 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.9773, allocations: 2.801 MB / 0.5747 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.9774, allocations: 15.94 kB / 0.5747 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.978, allocations: 91.77 kB / 0.5748 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.512e-05/0.978, allocations: 16 kB / 0.5748 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.9781, allocations: 24.69 kB / 0.5749 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.646e-05/0.9781, allocations: 27.91 kB / 0.5749 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/0.9782, allocations: 19.94 kB / 0.5749 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9801, allocations: 1.51 MB / 0.5764 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.9805, allocations: 211.4 kB / 0.5766 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.9808, allocations: 31.94 kB / 0.5766 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.9816, allocations: 24 kB / 0.5766 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.9817, allocations: 63.73 kB / 0.5767 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.9818, allocations: 28 kB / 0.5767 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001947/0.9837, allocations: 0.888 MB / 0.5776 GB, free: 76 kB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9837, allocations: 4 kB / 0.5776 GB, free: 72 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.00259/0.9863, allocations: 406.6 kB / 0.578 GB, free: 15.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.003577/0.9899, allocations: 5.268 MB / 0.5831 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.9929, allocations: 1.073 MB / 0.5842 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.993, allocations: 3.938 kB / 0.5842 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.9935, allocations: 213.3 kB / 0.5844 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.9948, allocations: 190.2 kB / 0.5846 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/1.004, allocations: 2.897 MB / 0.5874 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.006, allocations: 1.556 MB / 0.5889 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002756/1.009, allocations: 0.5736 MB / 0.5895 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.011, allocations: 0.6164 MB / 0.5901 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/1.011, allocations: 0 / 0.5901 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4176/1.428, allocations: 23.35 MB / 0.6129 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/1.429, allocations: 142.8 kB / 0.613 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/4.89, allocations: 0 / 0.613 GB, free: 151.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat