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.292/2.292, allocations: 235 MB / 247.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.671e-05, allocations: 4 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4544, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.6383, allocations: 95.92 MB / 455.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6387, allocations: 71.97 kB / 455.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7457/1.384, allocations: 85.63 MB / 0.5288 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.384, allocations: 1.781 kB / 0.5288 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002036/1.385, allocations: 70.84 kB / 0.5289 GB, free: 106.8 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.01596/1.401, allocations: 3.664 MB / 0.5324 GB, free: 105.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.401, allocations: 9.859 kB / 0.5324 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003789/1.405, allocations: 0.7823 MB / 0.5332 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/1.433, allocations: 3.504 MB / 0.5366 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.45, allocations: 4.146 MB / 0.5407 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.451, allocations: 302 kB / 0.541 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002863/1.453, allocations: 383.4 kB / 0.5413 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03278/1.486, allocations: 10.21 MB / 0.5513 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/1.487, allocations: 36.47 kB / 0.5513 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/1.489, allocations: 178.6 kB / 0.5515 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/1.492, allocations: 1.205 MB / 0.5527 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02973/1.522, allocations: 9.867 MB / 0.5623 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07725/1.599, allocations: 35.48 MB / 0.597 GB, free: 81.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.614, allocations: 4.919 MB / 0.6018 GB, free: 78.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004678/1.618, allocations: 2.282 MB / 0.604 GB, free: 76.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/1.621, allocations: 1.882 MB / 0.6058 GB, free: 74.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.621, allocations: 48.56 kB / 0.6059 GB, free: 74.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=229): time 8.125e-06/1.621, allocations: 0 / 0.6059 GB, free: 74.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=235): time 0.04274/1.663, allocations: 11.24 MB / 0.6169 GB, free: 65.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.664, allocations: 73.34 kB / 0.6169 GB, free: 65.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/1.668, allocations: 2.345 MB / 0.6192 GB, free: 63.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.669, allocations: 57.61 kB / 0.6193 GB, free: 63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.671, allocations: 2.694 MB / 0.6219 GB, free: 60.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.672, allocations: 0.855 MB / 0.6228 GB, free: 59.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004492/1.672, allocations: 100 kB / 0.6228 GB, free: 59.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003293/1.673, allocations: 0.532 MB / 0.6234 GB, free: 59.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.678, allocations: 2.138 MB / 0.6255 GB, free: 57.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/1.685, allocations: 5.026 MB / 0.6304 GB, free: 51.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006949/1.692, allocations: 3.316 MB / 0.6336 GB, free: 48.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.879e-05/1.692, allocations: 32 kB / 0.6336 GB, free: 48.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02067/1.713, allocations: 7.774 MB / 0.6412 GB, free: 41.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/1.713, allocations: 52.06 kB / 0.6413 GB, free: 41.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.713, allocations: 108 kB / 0.6414 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/1.717, allocations: 0.7967 MB / 0.6422 GB, free: 40.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007428/1.724, allocations: 1.193 MB / 0.6433 GB, free: 39.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008346/1.733, allocations: 4.13 MB / 0.6474 GB, free: 35.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/1.738, allocations: 295.6 kB / 0.6476 GB, free: 34.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.739, allocations: 305.8 kB / 0.6479 GB, free: 34.59 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.001073/1.74, allocations: 0.497 MB / 0.6484 GB, free: 34.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/1.741, allocations: 256.6 kB / 0.6487 GB, free: 33.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.753, allocations: 4.667 MB / 0.6532 GB, free: 29.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/1.753, allocations: 43.98 kB / 0.6533 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.753, allocations: 4 kB / 0.6533 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.872e-05/1.753, allocations: 7.969 kB / 0.6533 GB, free: 29.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.782, allocations: 10.6 MB / 0.6636 GB, free: 18.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/1.782, allocations: 4 kB / 0.6636 GB, free: 18.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/1.785, allocations: 355.5 kB / 0.664 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.789, allocations: 0.6604 MB / 0.6646 GB, free: 17.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005609/1.79, allocations: 40 kB / 0.6646 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007359/1.797, allocations: 3.591 MB / 0.6682 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.797, allocations: 11.94 kB / 0.6682 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.814, allocations: 7.617 MB / 0.6756 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.817, allocations: 0.6459 MB / 0.6762 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007403/1.817, allocations: 40 kB / 0.6763 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/1.82, allocations: 143.8 kB / 0.6764 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/1.821, allocations: 125 kB / 0.6765 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.821, allocations: 63.98 kB / 0.6766 GB, free: 4.656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003663/1.825, allocations: 1.591 MB / 0.6781 GB, free: 3.051 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.825, allocations: 0 / 0.6781 GB, free: 3.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006224/1.831, allocations: 0.9529 MB / 0.6791 GB, free: 2.102 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.02897/1.86, allocations: 10.04 MB / 0.6889 GB, free: 7.836 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02106/1.881, allocations: 5.265 MB / 0.694 GB, free: 2.582 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.661e-05/1.881, allocations: 4 kB / 0.694 GB, free: 2.578 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008121/1.889, allocations: 1.996 MB / 0.696 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/1.894, allocations: 312.5 kB / 0.6963 GB, free: 284 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3713/2.265, allocations: 9.302 MB / 0.7054 GB, free: 110 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009273/2.274, allocations: 3.307 MB / 0.7086 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009652/2.284, allocations: 1.966 MB / 0.7105 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004722/2.289, allocations: 1.777 MB / 0.7122 GB, free: 109.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/2.289, allocations: 0 / 0.7122 GB, free: 109.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/2.453, allocations: 65 MB / 0.7757 GB, free: 86.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003993/2.454, allocations: 166.9 kB / 0.7759 GB, free: 85.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.684/7.138, allocations: 4.062 kB / 0.7759 GB, free: 85.95 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