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.405/2.405, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.139e-05, allocations: 11.98 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4239, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.6586, allocations: 95.93 MB / 455.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.659, allocations: 75.95 kB / 455.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9292/1.588, allocations: 85.63 MB / 0.5288 GB, free: 106.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.588, allocations: 0 / 0.5288 GB, free: 106.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002991/1.589, allocations: 69.2 kB / 0.5289 GB, free: 106.9 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.02439/1.613, allocations: 3.661 MB / 0.5325 GB, free: 105.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/1.613, allocations: 12.47 kB / 0.5325 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005852/1.619, allocations: 0.7872 MB / 0.5332 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03353/1.653, allocations: 3.505 MB / 0.5367 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.671, allocations: 4.142 MB / 0.5407 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006392/1.672, allocations: 293.3 kB / 0.541 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/1.675, allocations: 391.3 kB / 0.5414 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03627/1.712, allocations: 10.17 MB / 0.5513 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/1.712, allocations: 27.44 kB / 0.5513 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/1.715, allocations: 184.2 kB / 0.5515 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/1.718, allocations: 1.212 MB / 0.5527 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/1.747, allocations: 9.743 MB / 0.5622 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08052/1.827, allocations: 35.48 MB / 0.5968 GB, free: 81.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.842, allocations: 4.905 MB / 0.6016 GB, free: 79.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004881/1.847, allocations: 2.272 MB / 0.6039 GB, free: 77.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00241/1.85, allocations: 1.884 MB / 0.6057 GB, free: 75.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/1.85, allocations: 56.56 kB / 0.6058 GB, free: 75.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=229): time 8.436e-06/1.85, allocations: 0 / 0.6058 GB, free: 75.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=235): time 0.04763/1.898, allocations: 11.24 MB / 0.6167 GB, free: 65.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.898, allocations: 73.41 kB / 0.6168 GB, free: 65.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005473/1.903, allocations: 2.339 MB / 0.6191 GB, free: 63.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.904, allocations: 61.61 kB / 0.6191 GB, free: 63.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.906, allocations: 2.691 MB / 0.6218 GB, free: 60.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.907, allocations: 0.8541 MB / 0.6226 GB, free: 60.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/1.908, allocations: 103.9 kB / 0.6227 GB, free: 60.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004853/1.909, allocations: 0.5315 MB / 0.6232 GB, free: 59.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005504/1.914, allocations: 2.139 MB / 0.6253 GB, free: 57.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/1.922, allocations: 5 MB / 0.6302 GB, free: 51.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007609/1.929, allocations: 3.312 MB / 0.6334 GB, free: 48.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/1.93, allocations: 28 kB / 0.6335 GB, free: 48.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02401/1.954, allocations: 7.495 MB / 0.6408 GB, free: 42.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.954, allocations: 50.66 kB / 0.6408 GB, free: 42.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001796/1.954, allocations: 104 kB / 0.6409 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/1.958, allocations: 0.8016 MB / 0.6417 GB, free: 41.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.966, allocations: 1.193 MB / 0.6429 GB, free: 39.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00865/1.975, allocations: 4.142 MB / 0.6469 GB, free: 35.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.981, allocations: 291.8 kB / 0.6472 GB, free: 35.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.983, allocations: 303.9 kB / 0.6475 GB, free: 35.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 (636): * Single equations (assignments): 629 * 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.002136/1.985, allocations: 0.4919 MB / 0.648 GB, free: 34.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/1.986, allocations: 264.6 kB / 0.6482 GB, free: 34.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/2, allocations: 4.663 MB / 0.6528 GB, free: 29.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/2, allocations: 43.98 kB / 0.6528 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/2, allocations: 4 kB / 0.6528 GB, free: 29.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-05/2, allocations: 7.969 kB / 0.6528 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/2.031, allocations: 10.58 MB / 0.6631 GB, free: 18.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/2.031, allocations: 8 kB / 0.6632 GB, free: 18.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.035, allocations: 367.4 kB / 0.6635 GB, free: 18.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/2.039, allocations: 0.6522 MB / 0.6641 GB, free: 17.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005645/2.039, allocations: 44 kB / 0.6642 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/2.047, allocations: 3.591 MB / 0.6677 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/2.047, allocations: 8.703 kB / 0.6677 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/2.065, allocations: 7.617 MB / 0.6751 GB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/2.068, allocations: 0.6421 MB / 0.6758 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/2.069, allocations: 46.52 kB / 0.6758 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/2.072, allocations: 131.8 kB / 0.6759 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007956/2.073, allocations: 133 kB / 0.6761 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/2.073, allocations: 67.81 kB / 0.6761 GB, free: 5.211 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00411/2.077, allocations: 1.591 MB / 0.6777 GB, free: 3.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.077, allocations: 0 / 0.6777 GB, free: 3.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007306/2.084, allocations: 0.9491 MB / 0.6786 GB, free: 2.656 MB / 458.7 MB 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.02286/2.107, allocations: 10.04 MB / 0.6884 GB, free: 8.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01474/2.122, allocations: 5.109 MB / 0.6934 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/2.122, allocations: 4 kB / 0.6934 GB, free: 3.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005643/2.128, allocations: 1.969 MB / 0.6953 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/2.131, allocations: 311.9 kB / 0.6956 GB, free: 1.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3969/2.528, allocations: 9.284 MB / 0.7047 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/2.538, allocations: 3.309 MB / 0.7079 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0108/2.549, allocations: 1.966 MB / 0.7098 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005339/2.555, allocations: 1.771 MB / 0.7116 GB, free: 108.9 MB / 474.7 MB Notification: Performance of SimCode: time 3.266e-06/2.555, allocations: 0 / 0.7116 GB, free: 108.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2139/2.769, allocations: 64.55 MB / 0.7746 GB, free: 87.04 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/2.769, allocations: 165.6 kB / 0.7748 GB, free: 86.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/7.551, allocations: 0 / 0.7748 GB, free: 86.81 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