Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.697e-05, allocations: 0.9375 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4464, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.6462, allocations: 102.3 MB / 462.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.6466, allocations: 79.94 kB / 462.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3391/0.9857, allocations: 72.05 MB / 0.5218 GB, free: 2.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9857, allocations: 4 kB / 0.5218 GB, free: 2.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002524/0.986, allocations: 79.98 kB / 0.5218 GB, free: 1.992 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.3758/1.362, allocations: 3.866 MB / 0.5256 GB, free: 105.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.362, allocations: 13.41 kB / 0.5256 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003436/1.365, allocations: 0.7046 MB / 0.5263 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/1.372, allocations: 0.7146 MB / 0.527 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00977/1.382, allocations: 2.582 MB / 0.5295 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/1.383, allocations: 322.3 kB / 0.5299 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/1.385, allocations: 420.2 kB / 0.5303 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/1.419, allocations: 9.01 MB / 0.5391 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/1.419, allocations: 25.22 kB / 0.5391 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/1.421, allocations: 188.7 kB / 0.5393 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/1.424, allocations: 0.804 MB / 0.54 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/1.45, allocations: 7.074 MB / 0.5469 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05915/1.509, allocations: 29.67 MB / 0.5759 GB, free: 85.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.52, allocations: 2.115 MB / 0.578 GB, free: 85.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.522, allocations: 0.9268 MB / 0.5789 GB, free: 84.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/1.535, allocations: 6.737 MB / 0.5855 GB, free: 80.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.535, allocations: 46.81 kB / 0.5855 GB, free: 80.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.348e-06/1.535, allocations: 0 / 0.5855 GB, free: 80.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.0285/1.563, allocations: 6.889 MB / 0.5922 GB, free: 76.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/1.564, allocations: 166 kB / 0.5924 GB, free: 76.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004876/1.568, allocations: 2.363 MB / 0.5947 GB, free: 75.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.569, allocations: 41.36 kB / 0.5947 GB, free: 75.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.571, allocations: 2.528 MB / 0.5972 GB, free: 73.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/1.571, allocations: 395 kB / 0.5976 GB, free: 73.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/1.572, allocations: 79.38 kB / 0.5977 GB, free: 73.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/1.572, allocations: 472.2 kB / 0.5981 GB, free: 72.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.574, allocations: 1.057 MB / 0.5991 GB, free: 72.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/1.578, allocations: 3.348 MB / 0.6024 GB, free: 68.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/1.582, allocations: 1.837 MB / 0.6042 GB, free: 68.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.738e-05/1.582, allocations: 26.44 kB / 0.6042 GB, free: 68.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01086/1.593, allocations: 4.118 MB / 0.6083 GB, free: 66.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/1.593, allocations: 41.59 kB / 0.6083 GB, free: 66.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/1.593, allocations: 81.41 kB / 0.6084 GB, free: 66.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/1.594, allocations: 122.7 kB / 0.6085 GB, free: 66.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005768/1.599, allocations: 0.9469 MB / 0.6094 GB, free: 66.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001689/1.6, allocations: 161.2 kB / 0.6096 GB, free: 66.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.604, allocations: 212.5 kB / 0.6098 GB, free: 65.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000705/1.604, allocations: 235.6 kB / 0.61 GB, free: 65.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * 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.0006679/1.605, allocations: 431.9 kB / 0.6104 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.606, allocations: 232.9 kB / 0.6106 GB, free: 64.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/1.608, allocations: 1.155 MB / 0.6118 GB, free: 63.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.608, allocations: 11.61 kB / 0.6118 GB, free: 63.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.608, allocations: 4 kB / 0.6118 GB, free: 63.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.608, allocations: 3.328 kB / 0.6118 GB, free: 63.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.623, allocations: 6.737 MB / 0.6184 GB, free: 57.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/1.623, allocations: 24 kB / 0.6184 GB, free: 57.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/1.625, allocations: 289.2 kB / 0.6187 GB, free: 57.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.655e-05/1.625, allocations: 32 kB / 0.6187 GB, free: 57.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.625, allocations: 63.69 kB / 0.6187 GB, free: 57.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-05/1.625, allocations: 39.67 kB / 0.6188 GB, free: 57.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-05/1.625, allocations: 39.77 kB / 0.6188 GB, free: 57.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/1.63, allocations: 4.558 MB / 0.6233 GB, free: 52.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/1.63, allocations: 361.4 kB / 0.6236 GB, free: 51.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/1.631, allocations: 63.55 kB / 0.6237 GB, free: 51.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.633, allocations: 59.31 kB / 0.6237 GB, free: 51.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/1.634, allocations: 165.5 kB / 0.6239 GB, free: 51.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.634, allocations: 71.52 kB / 0.624 GB, free: 51.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004232/1.638, allocations: 1.737 MB / 0.6257 GB, free: 50.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.202e-06/1.638, allocations: 0 / 0.6257 GB, free: 50.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005402/1.643, allocations: 0.7084 MB / 0.6263 GB, free: 49.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.00595/1.649, allocations: 10.98 MB / 0.6371 GB, free: 37.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005636/1.655, allocations: 2.42 MB / 0.6394 GB, free: 35.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-05/1.655, allocations: 4 kB / 0.6394 GB, free: 35.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.657, allocations: 0.6706 MB / 0.6401 GB, free: 35.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.659, allocations: 332.8 kB / 0.6404 GB, free: 34.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.682, allocations: 7.404 MB / 0.6476 GB, free: 28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.688, allocations: 3.038 MB / 0.6506 GB, free: 25.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006037/1.694, allocations: 1.048 MB / 0.6516 GB, free: 24.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003764/1.698, allocations: 1.591 MB / 0.6532 GB, free: 23.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.834e-06/1.698, allocations: 0 / 0.6532 GB, free: 23.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/1.881, allocations: 53.47 MB / 0.7054 GB, free: 3.742 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/1.882, allocations: 146.5 kB / 0.7055 GB, free: 3.516 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.258/6.14, allocations: 0 / 0.7055 GB, free: 3.516 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat