Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.198e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/0.6413, allocations: 95.26 MB / 449.6 MB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.6416, allocations: 83.89 kB / 449.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7022/1.344, allocations: 84.1 MB / 0.5213 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.344, allocations: 0 / 0.5213 GB, free: 100.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001676/1.344, allocations: 67.59 kB / 0.5213 GB, free: 100.8 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01382/1.358, allocations: 3.654 MB / 0.5249 GB, free: 98.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.358, allocations: 14.59 kB / 0.5249 GB, free: 98.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/1.385, allocations: 3.504 MB / 0.5283 GB, free: 97.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/1.401, allocations: 4.143 MB / 0.5324 GB, free: 95.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.401, allocations: 124.9 kB / 0.5325 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/1.404, allocations: 220.5 kB / 0.5327 GB, free: 94.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01671/1.42, allocations: 7.27 MB / 0.5398 GB, free: 87.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/1.445, allocations: 9.481 MB / 0.5491 GB, free: 77.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/1.446, allocations: 27.72 kB / 0.5491 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/1.447, allocations: 12 kB / 0.5491 GB, free: 77.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/1.45, allocations: 1.206 MB / 0.5503 GB, free: 76.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.069/1.519, allocations: 32.98 MB / 0.5825 GB, free: 43.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/1.526, allocations: 4.175 MB / 0.5866 GB, free: 38.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/1.53, allocations: 2.229 MB / 0.5887 GB, free: 36.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/1.532, allocations: 1.89 MB / 0.5906 GB, free: 34.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.532, allocations: 48.56 kB / 0.5906 GB, free: 34.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 6.522e-06/1.532, allocations: 0 / 0.5906 GB, free: 34.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=238): time 0.05119/1.583, allocations: 14.06 MB / 0.6044 GB, free: 20.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.584, allocations: 77.41 kB / 0.6044 GB, free: 20.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.591, allocations: 2.244 MB / 0.6066 GB, free: 17.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007117/1.591, allocations: 25.7 kB / 0.6066 GB, free: 17.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.595, allocations: 2.786 MB / 0.6094 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.597, allocations: 0.84 MB / 0.6102 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007624/1.597, allocations: 0 / 0.6102 GB, free: 14.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007864/1.598, allocations: 0.6051 MB / 0.6108 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00737/1.606, allocations: 2.127 MB / 0.6129 GB, free: 11.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/1.616, allocations: 5.254 MB / 0.618 GB, free: 4.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.628, allocations: 3.374 MB / 0.6213 GB, free: 1.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/1.628, allocations: 28 kB / 0.6213 GB, free: 1.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.03161/1.66, allocations: 7.452 MB / 0.6286 GB, free: 9.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.66, allocations: 52 kB / 0.6286 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.66, allocations: 112 kB / 0.6287 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/1.664, allocations: 0.8164 MB / 0.6295 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008704/1.673, allocations: 1.283 MB / 0.6308 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009088/1.682, allocations: 3.981 MB / 0.6347 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/1.688, allocations: 195.8 kB / 0.6349 GB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/1.69, allocations: 332 kB / 0.6352 GB, free: 2.789 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (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 (684): * Single equations (assignments): 677 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002022/1.692, allocations: 384.4 kB / 0.6355 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01296/1.705, allocations: 4.086 MB / 0.6395 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/1.706, allocations: 260.6 kB / 0.6398 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.72, allocations: 4.58 MB / 0.6443 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001418/1.721, allocations: 51.69 kB / 0.6443 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.721, allocations: 0 / 0.6443 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/1.721, allocations: 11.95 kB / 0.6443 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/1.751, allocations: 9.561 MB / 0.6537 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/1.751, allocations: 12.16 kB / 0.6537 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003472/1.755, allocations: 375.4 kB / 0.654 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003788/1.758, allocations: 0.6482 MB / 0.6547 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004979/1.759, allocations: 12 kB / 0.6547 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/1.767, allocations: 3.469 MB / 0.6581 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/1.767, allocations: 12.03 kB / 0.6581 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.786, allocations: 7.595 MB / 0.6655 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/1.788, allocations: 0.6459 MB / 0.6661 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009252/1.789, allocations: 8 kB / 0.6661 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.792, allocations: 103.8 kB / 0.6662 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/1.793, allocations: 137 kB / 0.6664 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.793, allocations: 64 kB / 0.6664 GB, free: 2.184 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003616/1.797, allocations: 1.475 MB / 0.6679 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.797, allocations: 0 / 0.6679 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.3627/2.16, allocations: 0.8261 MB / 0.6687 GB, free: 133.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (181): * Single equations (assignments): 174 * 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.02048/2.18, allocations: 10.11 MB / 0.6785 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/2.191, allocations: 5.186 MB / 0.6836 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.192, allocations: 0 / 0.6836 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004045/2.196, allocations: 1.96 MB / 0.6855 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/2.198, allocations: 213.4 kB / 0.6857 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/2.226, allocations: 9.162 MB / 0.6947 GB, free: 127.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007565/2.234, allocations: 3.307 MB / 0.6979 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008861/2.243, allocations: 2.076 MB / 0.6999 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004563/2.248, allocations: 1.797 MB / 0.7017 GB, free: 124.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/2.248, allocations: 0 / 0.7017 GB, free: 124.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/2.4, allocations: 61.83 MB / 0.7621 GB, free: 79.06 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/2.4, allocations: 131.5 kB / 0.7622 GB, free: 78.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.745/7.145, allocations: 3.938 kB / 0.7622 GB, free: 78.86 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat