Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.94e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4614, allocations: 54.86 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.6508, allocations: 99.19 MB / 459.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.6511, allocations: 76.47 kB / 459.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.868/1.519, allocations: 128.6 MB / 0.5739 GB, free: 105 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.519, allocations: 0 / 0.5739 GB, free: 105 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003727/1.52, allocations: 117.5 kB / 0.574 GB, free: 105 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: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.02713/1.547, allocations: 6.241 MB / 0.5801 GB, free: 102.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.547, allocations: 7.906 kB / 0.5801 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005302/1.552, allocations: 1.099 MB / 0.5812 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04846/1.601, allocations: 6.455 MB / 0.5875 GB, free: 98.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02963/1.63, allocations: 8.572 MB / 0.5959 GB, free: 93.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000556/1.631, allocations: 435.1 kB / 0.5963 GB, free: 93.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00409/1.635, allocations: 0.5891 MB / 0.5969 GB, free: 92.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04827/1.683, allocations: 15.29 MB / 0.6118 GB, free: 76.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004211/1.684, allocations: 55.5 kB / 0.6119 GB, free: 76.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003458/1.687, allocations: 260.3 kB / 0.6121 GB, free: 76.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004056/1.691, allocations: 1.698 MB / 0.6138 GB, free: 74.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04425/1.736, allocations: 14.63 MB / 0.6281 GB, free: 60.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/1.858, allocations: 56.26 MB / 0.683 GB, free: 3.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03184/1.89, allocations: 7.963 MB / 0.6908 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/1.901, allocations: 4.696 MB / 0.6954 GB, free: 6.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/1.905, allocations: 2.21 MB / 0.6975 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.375e-05/1.905, allocations: 65.08 kB / 0.6976 GB, free: 3.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=367): time 9.348e-06/1.905, allocations: 0 / 0.6976 GB, free: 3.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.5344/2.439, allocations: 33.38 MB / 0.7302 GB, free: 109.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/2.44, allocations: 116.9 kB / 0.7303 GB, free: 109.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01583/2.455, allocations: 3.823 MB / 0.734 GB, free: 108.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001658/2.457, allocations: 86.7 kB / 0.7341 GB, free: 108.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005309/2.462, allocations: 3.909 MB / 0.7379 GB, free: 105.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003836/2.466, allocations: 1.484 MB / 0.7394 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/2.469, allocations: 152.6 kB / 0.7395 GB, free: 104.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00122/2.47, allocations: 0.6403 MB / 0.7402 GB, free: 104 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01549/2.486, allocations: 3.83 MB / 0.7439 GB, free: 102.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01918/2.505, allocations: 7.604 MB / 0.7513 GB, free: 96.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/2.525, allocations: 5.411 MB / 0.7566 GB, free: 94.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001889/2.525, allocations: 36.94 kB / 0.7566 GB, free: 94.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.05415/2.58, allocations: 13.94 MB / 0.7703 GB, free: 90.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/2.58, allocations: 60.66 kB / 0.7703 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/2.58, allocations: 139.5 kB / 0.7704 GB, free: 90.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02043/2.601, allocations: 2.626 MB / 0.773 GB, free: 89.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02182/2.622, allocations: 1.945 MB / 0.7749 GB, free: 88.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04586/2.668, allocations: 13.6 MB / 0.7882 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/2.678, allocations: 480.7 kB / 0.7887 GB, free: 75.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/2.681, allocations: 431.9 kB / 0.7891 GB, free: 75.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (920): * Single equations (assignments): 912 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004038/2.685, allocations: 0.6557 MB / 0.7897 GB, free: 74.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/2.687, allocations: 466.8 kB / 0.7901 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03629/2.723, allocations: 10.36 MB / 0.8003 GB, free: 66.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/2.723, allocations: 64.73 kB / 0.8003 GB, free: 66.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/2.723, allocations: 8 kB / 0.8003 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.724, allocations: 18.23 kB / 0.8004 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06604/2.79, allocations: 20.99 MB / 0.8209 GB, free: 47.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.049e-05/2.79, allocations: 12 kB / 0.8209 GB, free: 47.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007601/2.797, allocations: 0.7883 MB / 0.8216 GB, free: 46.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01367/2.811, allocations: 2.404 MB / 0.824 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001238/2.812, allocations: 77.41 kB / 0.8241 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/2.84, allocations: 12.36 MB / 0.8361 GB, free: 31.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/2.84, allocations: 15.94 kB / 0.8361 GB, free: 31.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0416/2.881, allocations: 16.14 MB / 0.8519 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005048/2.886, allocations: 1.155 MB / 0.853 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/2.888, allocations: 79.98 kB / 0.8531 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/2.894, allocations: 297.1 kB / 0.8534 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/2.895, allocations: 262.7 kB / 0.8536 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005089/2.896, allocations: 109.8 kB / 0.8537 GB, free: 12.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00612/2.902, allocations: 2.667 MB / 0.8563 GB, free: 9.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.902, allocations: 4 kB / 0.8564 GB, free: 9.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01098/2.913, allocations: 1.647 MB / 0.858 GB, free: 8.145 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04695/2.96, allocations: 19.35 MB / 0.8769 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.37/3.33, allocations: 9.595 MB / 0.8862 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/3.33, allocations: 4.5 kB / 0.8862 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01202/3.342, allocations: 4.199 MB / 0.8903 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006366/3.349, allocations: 0.6364 MB / 0.891 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05224/3.401, allocations: 15.35 MB / 0.9059 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/3.412, allocations: 4.751 MB / 0.9106 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01231/3.425, allocations: 2.736 MB / 0.9133 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0078/3.432, allocations: 2.904 MB / 0.9161 GB, free: 116.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/3.432, allocations: 0 / 0.9161 GB, free: 116.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.262/3.695, allocations: 122.6 MB / 1.036 GB, free: 20.37 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/3.695, allocations: 183.9 kB / 1.036 GB, free: 20.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/10.43, allocations: 3.938 kB / 1.036 GB, free: 20.12 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat