Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.708e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5492, allocations: 94.36 MB / 416.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5496, allocations: 79.94 kB / 416.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3584/0.908, allocations: 75.72 MB / 492 MB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.908, allocations: 0 / 492 MB, free: 14.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002019/0.9082, allocations: 72 kB / 492.1 MB, free: 14.75 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.0164/0.9246, allocations: 3.796 MB / 495.9 MB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.9247, allocations: 8.031 kB / 495.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003344/0.9281, allocations: 0.6634 MB / 496.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00709/0.9352, allocations: 0.6776 MB / 497.3 MB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008939/0.9442, allocations: 2.208 MB / 499.5 MB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/0.9447, allocations: 291.7 kB / 499.8 MB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.9467, allocations: 379.8 kB / 0.4884 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3102/1.257, allocations: 8.778 MB / 0.497 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.257, allocations: 18.28 kB / 0.497 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00218/1.259, allocations: 171.6 kB / 0.4972 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/1.263, allocations: 0.8387 MB / 0.498 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03994/1.303, allocations: 7.066 MB / 0.5049 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09288/1.396, allocations: 29.02 MB / 0.5332 GB, free: 88.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.416, allocations: 2.248 MB / 0.5354 GB, free: 87.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/1.419, allocations: 1.057 MB / 0.5364 GB, free: 87.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/1.441, allocations: 7.602 MB / 0.5439 GB, free: 82.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.441, allocations: 43.09 kB / 0.5439 GB, free: 82.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 6.092e-06/1.441, allocations: 3.469 kB / 0.5439 GB, free: 82.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.04488/1.486, allocations: 6.476 MB / 0.5502 GB, free: 79.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/1.486, allocations: 140.5 kB / 0.5504 GB, free: 79.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/1.491, allocations: 2.312 MB / 0.5526 GB, free: 78.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/1.491, allocations: 41.64 kB / 0.5527 GB, free: 78.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.493, allocations: 2.408 MB / 0.555 GB, free: 76.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00051/1.494, allocations: 396 kB / 0.5554 GB, free: 76.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.494, allocations: 85.41 kB / 0.5555 GB, free: 76.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/1.494, allocations: 465 kB / 0.5559 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/1.497, allocations: 1.042 MB / 0.5569 GB, free: 75.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/1.5, allocations: 3.402 MB / 0.5603 GB, free: 72.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/1.504, allocations: 1.834 MB / 0.5621 GB, free: 71.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.03e-05/1.505, allocations: 26.25 kB / 0.5621 GB, free: 71.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01058/1.515, allocations: 4.116 MB / 0.5661 GB, free: 70.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/1.515, allocations: 41.66 kB / 0.5661 GB, free: 70.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/1.515, allocations: 85.62 kB / 0.5662 GB, free: 70.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/1.516, allocations: 124.2 kB / 0.5663 GB, free: 70.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/1.521, allocations: 0.9468 MB / 0.5673 GB, free: 70.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001646/1.522, allocations: 169.5 kB / 0.5674 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/1.526, allocations: 198.3 kB / 0.5676 GB, free: 69.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007917/1.527, allocations: 232.8 kB / 0.5678 GB, free: 69.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],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.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 (497): * Single equations (assignments): 497 * 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.0008936/1.528, allocations: 422.2 kB / 0.5682 GB, free: 69.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.528, allocations: 224.3 kB / 0.5685 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/1.532, allocations: 1.364 MB / 0.5698 GB, free: 68.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.532, allocations: 14.5 kB / 0.5698 GB, free: 68.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.532, allocations: 0 / 0.5698 GB, free: 68.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/1.532, allocations: 7.188 kB / 0.5698 GB, free: 68.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02353/1.556, allocations: 6.103 MB / 0.5758 GB, free: 65.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/1.556, allocations: 17.59 kB / 0.5758 GB, free: 65.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/1.558, allocations: 242.3 kB / 0.576 GB, free: 65.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-05/1.558, allocations: 33.86 kB / 0.576 GB, free: 65.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/1.559, allocations: 42.97 kB / 0.5761 GB, free: 65.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.847e-05/1.559, allocations: 37.73 kB / 0.5761 GB, free: 65.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.078e-05/1.559, allocations: 29.47 kB / 0.5761 GB, free: 65.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/1.565, allocations: 3.551 MB / 0.5796 GB, free: 62.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.566, allocations: 323.9 kB / 0.5799 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/1.568, allocations: 49.28 kB / 0.58 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.571, allocations: 57.86 kB / 0.58 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/1.572, allocations: 135.6 kB / 0.5802 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.572, allocations: 52.44 kB / 0.5802 GB, free: 62.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005159/1.577, allocations: 1.639 MB / 0.5818 GB, free: 61.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.392e-06/1.577, allocations: 3.938 kB / 0.5818 GB, free: 61.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007264/1.584, allocations: 0.6827 MB / 0.5825 GB, free: 61.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.006621/1.591, allocations: 8.649 MB / 0.5909 GB, free: 53.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007746/1.599, allocations: 2.357 MB / 0.5932 GB, free: 51.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-05/1.599, allocations: 256 / 0.5932 GB, free: 51.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.601, allocations: 0.5772 MB / 0.5938 GB, free: 50.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.604, allocations: 303.7 kB / 0.5941 GB, free: 50.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/1.626, allocations: 6.577 MB / 0.6005 GB, free: 44.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005075/1.631, allocations: 2.805 MB / 0.6032 GB, free: 42.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005147/1.637, allocations: 1.05 MB / 0.6043 GB, free: 41.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.64, allocations: 1.455 MB / 0.6057 GB, free: 40.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/1.64, allocations: 0 / 0.6057 GB, free: 40.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/1.782, allocations: 49.92 MB / 0.6544 GB, free: 10.21 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.782, allocations: 138.5 kB / 0.6546 GB, free: 9.996 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/6.089, allocations: 3.938 kB / 0.6546 GB, free: 9.992 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat