Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.075/2.075, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.905e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5809, allocations: 96.32 MB / 418.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5812, allocations: 75.95 kB / 418.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3559/0.9372, allocations: 73.59 MB / 491.9 MB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9373, allocations: 0 / 491.9 MB, free: 15.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002621/0.9375, allocations: 80 kB / 491.9 MB, free: 15 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01892/0.9565, allocations: 4.09 MB / 496 MB, free: 10.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.9566, allocations: 8.031 kB / 496 MB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003732/0.9603, allocations: 0.7123 MB / 496.8 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007522/0.9679, allocations: 0.7436 MB / 497.5 MB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.9785, allocations: 2.568 MB / 0.4883 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005648/0.9791, allocations: 320.4 kB / 0.4887 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/0.9815, allocations: 419.8 kB / 0.4891 GB, free: 6.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3337/1.315, allocations: 9.791 MB / 0.4986 GB, free: 99.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/1.315, allocations: 19.28 kB / 0.4986 GB, free: 99.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008517/1.316, allocations: 185.7 kB / 0.4988 GB, free: 99.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003227/1.32, allocations: 0.8594 MB / 0.4997 GB, free: 99.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/1.357, allocations: 8.263 MB / 0.5077 GB, free: 99.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07844/1.436, allocations: 31.85 MB / 0.5388 GB, free: 83.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/1.457, allocations: 2.981 MB / 0.5417 GB, free: 83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00424/1.461, allocations: 1.541 MB / 0.5432 GB, free: 82.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02408/1.485, allocations: 8.977 MB / 0.552 GB, free: 76.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.486, allocations: 47.06 kB / 0.5521 GB, free: 76.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 6.021e-06/1.486, allocations: 3.156 kB / 0.5521 GB, free: 76.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.04252/1.528, allocations: 7.609 MB / 0.5595 GB, free: 74.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.528, allocations: 114.9 kB / 0.5596 GB, free: 73.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/1.534, allocations: 2.501 MB / 0.562 GB, free: 72.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/1.534, allocations: 41.52 kB / 0.5621 GB, free: 72.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.536, allocations: 2.498 MB / 0.5645 GB, free: 70.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/1.537, allocations: 429.3 kB / 0.5649 GB, free: 70.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/1.537, allocations: 83.14 kB / 0.565 GB, free: 70.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002551/1.537, allocations: 478.2 kB / 0.5655 GB, free: 70.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/1.541, allocations: 1.405 MB / 0.5668 GB, free: 69.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/1.546, allocations: 3.697 MB / 0.5704 GB, free: 66.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/1.551, allocations: 2.215 MB / 0.5726 GB, free: 65.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.742e-05/1.551, allocations: 25.59 kB / 0.5726 GB, free: 65.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01307/1.564, allocations: 4.862 MB / 0.5774 GB, free: 63.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/1.564, allocations: 40.72 kB / 0.5774 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/1.564, allocations: 83.62 kB / 0.5775 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/1.564, allocations: 124 kB / 0.5776 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007188/1.572, allocations: 0.9908 MB / 0.5786 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001775/1.572, allocations: 164.6 kB / 0.5787 GB, free: 63.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/1.577, allocations: 243.3 kB / 0.579 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009578/1.578, allocations: 245.4 kB / 0.5792 GB, free: 63.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.0009992/1.579, allocations: 442.8 kB / 0.5796 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/1.58, allocations: 239.7 kB / 0.5799 GB, free: 62.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/1.585, allocations: 2.037 MB / 0.5819 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.585, allocations: 10.97 kB / 0.5819 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.585, allocations: 0 / 0.5819 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/1.585, allocations: 3.703 kB / 0.5819 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.604, allocations: 6.923 MB / 0.5886 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/1.604, allocations: 20 kB / 0.5886 GB, free: 56.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.607, allocations: 286.8 kB / 0.5889 GB, free: 56.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/1.607, allocations: 28 kB / 0.5889 GB, free: 56.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/1.607, allocations: 51.42 kB / 0.589 GB, free: 55.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.202e-05/1.607, allocations: 39.67 kB / 0.589 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-05/1.607, allocations: 27.88 kB / 0.5891 GB, free: 55.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006544/1.614, allocations: 4.237 MB / 0.5932 GB, free: 51.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.615, allocations: 355.1 kB / 0.5935 GB, free: 50.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008757/1.616, allocations: 51.38 kB / 0.5936 GB, free: 50.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/1.62, allocations: 70.53 kB / 0.5937 GB, free: 50.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005301/1.62, allocations: 154.5 kB / 0.5938 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.62, allocations: 60 kB / 0.5939 GB, free: 50.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005645/1.626, allocations: 1.755 MB / 0.5956 GB, free: 49.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.626, allocations: 0 / 0.5956 GB, free: 49.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007767/1.634, allocations: 0.762 MB / 0.5963 GB, free: 48.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.008619/1.643, allocations: 9.535 MB / 0.6056 GB, free: 38.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009866/1.652, allocations: 3.027 MB / 0.6086 GB, free: 35.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/1.653, allocations: 4 kB / 0.6086 GB, free: 35.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/1.655, allocations: 0.8486 MB / 0.6094 GB, free: 34.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.659, allocations: 314.7 kB / 0.6097 GB, free: 34.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/1.691, allocations: 7.496 MB / 0.617 GB, free: 27.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008812/1.7, allocations: 3.026 MB / 0.62 GB, free: 25.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007836/1.708, allocations: 1.044 MB / 0.621 GB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00556/1.713, allocations: 1.585 MB / 0.6226 GB, free: 23.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.424e-06/1.713, allocations: 0 / 0.6226 GB, free: 23.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4686/2.182, allocations: 56.53 MB / 0.6778 GB, free: 101.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/2.182, allocations: 147.2 kB / 0.6779 GB, free: 101.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/6.452, allocations: 4 kB / 0.6779 GB, free: 101.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat