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 1.938/1.938, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.698e-05, allocations: 4 kB / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 48.72 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5728, allocations: 96.31 MB / 418.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5731, allocations: 79.95 kB / 418.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3084/0.8815, allocations: 73.59 MB / 491.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8816, allocations: 0 / 491.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.8819, allocations: 80 kB / 491.9 MB, free: 15.04 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.01806/0.8999, allocations: 4.09 MB / 496 MB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.9, allocations: 15.97 kB / 496 MB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003235/0.9033, allocations: 0.7085 MB / 496.7 MB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00747/0.9108, allocations: 0.7475 MB / 497.5 MB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.9209, allocations: 2.564 MB / 0.4883 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.9214, allocations: 324.4 kB / 0.4886 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.9236, allocations: 415.8 kB / 0.489 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3362/1.26, allocations: 9.842 MB / 0.4986 GB, free: 98.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/1.26, allocations: 15.53 kB / 0.4987 GB, free: 98.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.262, allocations: 183.7 kB / 0.4988 GB, free: 98.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003082/1.265, allocations: 0.8645 MB / 0.4997 GB, free: 98.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0311/1.296, allocations: 8.364 MB / 0.5078 GB, free: 98.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07204/1.368, allocations: 31.85 MB / 0.5389 GB, free: 83.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02225/1.391, allocations: 3.009 MB / 0.5419 GB, free: 82.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/1.394, allocations: 1.538 MB / 0.5434 GB, free: 82.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.019/1.413, allocations: 8.971 MB / 0.5521 GB, free: 76.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.413, allocations: 47.64 kB / 0.5522 GB, free: 76.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.408e-06/1.413, allocations: 0 / 0.5522 GB, free: 76.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03731/1.45, allocations: 7.609 MB / 0.5596 GB, free: 73.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/1.451, allocations: 124.9 kB / 0.5597 GB, free: 73.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/1.455, allocations: 2.489 MB / 0.5622 GB, free: 72.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.456, allocations: 41.48 kB / 0.5622 GB, free: 72.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.457, allocations: 2.511 MB / 0.5647 GB, free: 70.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/1.458, allocations: 432.7 kB / 0.5651 GB, free: 70.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/1.458, allocations: 79.53 kB / 0.5651 GB, free: 70.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002986/1.459, allocations: 479.3 kB / 0.5656 GB, free: 70.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.462, allocations: 1.405 MB / 0.567 GB, free: 69.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/1.466, allocations: 3.716 MB / 0.5706 GB, free: 65.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/1.472, allocations: 2.217 MB / 0.5728 GB, free: 65.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-05/1.472, allocations: 21.69 kB / 0.5728 GB, free: 65.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01292/1.485, allocations: 5.094 MB / 0.5778 GB, free: 63.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/1.485, allocations: 44.25 kB / 0.5778 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.485, allocations: 83.28 kB / 0.5779 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/1.485, allocations: 123.7 kB / 0.578 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/1.491, allocations: 0.9933 MB / 0.579 GB, free: 62.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001596/1.492, allocations: 163.1 kB / 0.5791 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.497, allocations: 243.7 kB / 0.5794 GB, free: 62.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007723/1.497, allocations: 240.4 kB / 0.5796 GB, free: 62.79 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.0008099/1.498, allocations: 442.1 kB / 0.58 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/1.499, allocations: 237 kB / 0.5802 GB, free: 62.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/1.503, allocations: 2.034 MB / 0.5822 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.503, allocations: 15.53 kB / 0.5822 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.503, allocations: 0 / 0.5822 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.503, allocations: 7.453 kB / 0.5822 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.522, allocations: 6.962 MB / 0.589 GB, free: 55.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/1.522, allocations: 20 kB / 0.5891 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003043/1.525, allocations: 298.6 kB / 0.5894 GB, free: 55.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.441e-05/1.526, allocations: 28 kB / 0.5894 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003064/1.526, allocations: 48 kB / 0.5894 GB, free: 55.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.794e-05/1.526, allocations: 36.33 kB / 0.5895 GB, free: 55.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.144e-05/1.526, allocations: 31.88 kB / 0.5895 GB, free: 55.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/1.533, allocations: 4.232 MB / 0.5936 GB, free: 50.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.535, allocations: 355.9 kB / 0.594 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008414/1.536, allocations: 58.09 kB / 0.594 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.539, allocations: 69.12 kB / 0.5941 GB, free: 50.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/1.539, allocations: 153.6 kB / 0.5942 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.539, allocations: 63.33 kB / 0.5943 GB, free: 50.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006019/1.545, allocations: 1.753 MB / 0.596 GB, free: 48.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.634e-06/1.545, allocations: 0 / 0.596 GB, free: 48.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008795/1.554, allocations: 0.7688 MB / 0.5968 GB, free: 47.93 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.009016/1.563, allocations: 9.537 MB / 0.6061 GB, free: 38.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.574, allocations: 3.152 MB / 0.6091 GB, free: 35.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.779e-05/1.574, allocations: 7.688 kB / 0.6091 GB, free: 35.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/1.577, allocations: 0.8795 MB / 0.61 GB, free: 34.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.58, allocations: 317.4 kB / 0.6103 GB, free: 34.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/1.611, allocations: 7.511 MB / 0.6176 GB, free: 27.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00463/1.616, allocations: 3.032 MB / 0.6206 GB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005534/1.622, allocations: 1.036 MB / 0.6216 GB, free: 24.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003702/1.625, allocations: 1.586 MB / 0.6232 GB, free: 22.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/1.625, allocations: 0 / 0.6232 GB, free: 22.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/2.115, allocations: 56.92 MB / 0.6788 GB, free: 102.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/2.116, allocations: 152.6 kB / 0.6789 GB, free: 102.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.562/6.678, allocations: 0 / 0.6789 GB, free: 102.1 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