Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.079e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5909/0.7249, allocations: 103.7 MB / 0.502 GB, free: 360 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.7253, allocations: 73.05 kB / 0.5021 GB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4321/1.157, allocations: 85.97 MB / 0.586 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.206e-06/1.157, allocations: 3.938 kB / 0.586 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002216/1.158, allocations: 67.98 kB / 0.5861 GB, free: 9.562 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01549/1.173, allocations: 3.592 MB / 0.5896 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/1.173, allocations: 8.031 kB / 0.5896 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004071/1.177, allocations: 0.7746 MB / 0.5904 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02808/1.206, allocations: 3.489 MB / 0.5938 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.224, allocations: 3.983 MB / 0.5977 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004958/1.224, allocations: 291.4 kB / 0.5979 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/1.227, allocations: 371.8 kB / 0.5983 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/1.261, allocations: 10.01 MB / 0.6081 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002634/1.261, allocations: 27.8 kB / 0.6081 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002612/1.264, allocations: 171.9 kB / 0.6083 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/1.267, allocations: 1.176 MB / 0.6094 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4141/1.681, allocations: 9.671 MB / 0.6189 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08372/1.765, allocations: 34.7 MB / 0.6527 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02168/1.787, allocations: 4.911 MB / 0.6575 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005129/1.792, allocations: 2.273 MB / 0.6598 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/1.794, allocations: 1.881 MB / 0.6616 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/1.794, allocations: 55.62 kB / 0.6617 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.592e-06/1.794, allocations: 0 / 0.6617 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.04631/1.841, allocations: 11.16 MB / 0.6726 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.841, allocations: 70.97 kB / 0.6726 GB, free: 104 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00535/1.846, allocations: 2.333 MB / 0.6749 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005543/1.847, allocations: 57.2 kB / 0.675 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.849, allocations: 2.636 MB / 0.6775 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.85, allocations: 0.8476 MB / 0.6784 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/1.851, allocations: 109 kB / 0.6785 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004959/1.852, allocations: 0.5312 MB / 0.679 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005479/1.857, allocations: 2.136 MB / 0.6811 GB, free: 99.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007654/1.865, allocations: 4.951 MB / 0.6859 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007619/1.873, allocations: 3.298 MB / 0.6891 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.873, allocations: 29.22 kB / 0.6891 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.02229/1.895, allocations: 7.447 MB / 0.6964 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.3e-05/1.895, allocations: 46.66 kB / 0.6965 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.895, allocations: 100.3 kB / 0.6966 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/1.9, allocations: 0.8043 MB / 0.6973 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007794/1.907, allocations: 1.183 MB / 0.6985 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/1.916, allocations: 4.138 MB / 0.7025 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/1.922, allocations: 284.9 kB / 0.7028 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.923, allocations: 308.2 kB / 0.7031 GB, free: 86.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (630): * Single equations (assignments): 623 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001897/1.925, allocations: 490.4 kB / 0.7036 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/1.926, allocations: 264.6 kB / 0.7038 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.94, allocations: 4.665 MB / 0.7084 GB, free: 82.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/1.94, allocations: 47.69 kB / 0.7084 GB, free: 82.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.94, allocations: 4 kB / 0.7084 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-05/1.94, allocations: 9.516 kB / 0.7084 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.971, allocations: 10.5 MB / 0.7187 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/1.971, allocations: 8 kB / 0.7187 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.974, allocations: 368.3 kB / 0.7191 GB, free: 73.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003721/1.978, allocations: 0.6437 MB / 0.7197 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005897/1.979, allocations: 52.3 kB / 0.7197 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/1.986, allocations: 3.593 MB / 0.7232 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.986, allocations: 11.94 kB / 0.7232 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/2.004, allocations: 7.597 MB / 0.7307 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/2.005, allocations: 312.2 kB / 0.731 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/2.006, allocations: 44.97 kB / 0.731 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/2.009, allocations: 128.5 kB / 0.7311 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007309/2.01, allocations: 142.3 kB / 0.7313 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/2.01, allocations: 64.25 kB / 0.7313 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003948/2.014, allocations: 1.581 MB / 0.7329 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/2.014, allocations: 0 / 0.7329 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006818/2.021, allocations: 0.9346 MB / 0.7338 GB, free: 59.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01858/2.039, allocations: 10.05 MB / 0.7436 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01189/2.051, allocations: 5.096 MB / 0.7486 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/2.051, allocations: 4 kB / 0.7486 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004708/2.056, allocations: 1.969 MB / 0.7505 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/2.059, allocations: 323.2 kB / 0.7508 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/2.089, allocations: 9.15 MB / 0.7597 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007149/2.096, allocations: 3.256 MB / 0.7629 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008653/2.105, allocations: 1.957 MB / 0.7648 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004503/2.109, allocations: 1.706 MB / 0.7665 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of SimCode: time 3.957e-06/2.109, allocations: 0 / 0.7665 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5533/2.663, allocations: 64.16 MB / 0.8292 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/2.663, allocations: 164.5 kB / 0.8293 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.948/7.612, allocations: 3.938 kB / 0.8293 GB, free: 128.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat