Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.957e-05, allocations: 4 kB / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 48.7 MB / 321.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5318, allocations: 88.21 MB / 410.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5322, allocations: 67.97 kB / 410.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2811/0.8133, allocations: 57.85 MB / 468 MB, free: 7.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8133, allocations: 0 / 468 MB, free: 7.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001472/0.8135, allocations: 56 kB / 468 MB, free: 6.996 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.009562/0.8231, allocations: 2.591 MB / 470.6 MB, free: 4.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.8231, allocations: 8.031 kB / 470.6 MB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001902/0.8251, allocations: 494.3 kB / 471.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.8419, allocations: 1.981 MB / 473.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.8563, allocations: 3.333 MB / 476.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.8566, allocations: 184.8 kB / 476.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.8583, allocations: 239.9 kB / 476.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.8784, allocations: 6.808 MB / 483.6 MB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/0.8787, allocations: 43.53 kB / 483.7 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/0.8793, allocations: 123.9 kB / 483.8 MB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.8811, allocations: 0.7111 MB / 484.5 MB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.9015, allocations: 5.752 MB / 490.3 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3861/1.288, allocations: 33.5 MB / 0.5115 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009122/1.297, allocations: 2.08 MB / 0.5135 GB, free: 87.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003235/1.3, allocations: 1.022 MB / 0.5145 GB, free: 87.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/1.3, allocations: 19.39 kB / 0.5145 GB, free: 87.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.301, allocations: 40.88 kB / 0.5146 GB, free: 87.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 6.702e-06/1.301, allocations: 1.969 kB / 0.5146 GB, free: 87.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.02368/1.324, allocations: 5.148 MB / 0.5196 GB, free: 85.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.324, allocations: 148.8 kB / 0.5198 GB, free: 85.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008716/1.333, allocations: 2.537 MB / 0.5222 GB, free: 85.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003404/1.334, allocations: 45.12 kB / 0.5223 GB, free: 85.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.336, allocations: 2.103 MB / 0.5243 GB, free: 84.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009337/1.337, allocations: 453.5 kB / 0.5248 GB, free: 83.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/1.338, allocations: 88.06 kB / 0.5248 GB, free: 83.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004294/1.338, allocations: 499.8 kB / 0.5253 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/1.344, allocations: 1.362 MB / 0.5266 GB, free: 83.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02047/1.364, allocations: 4.18 MB / 0.5307 GB, free: 79.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.38, allocations: 2.375 MB / 0.533 GB, free: 79.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/1.38, allocations: 30.22 kB / 0.5331 GB, free: 79.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01325/1.393, allocations: 5.335 MB / 0.5383 GB, free: 79.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.393, allocations: 51 kB / 0.5383 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/1.393, allocations: 102.9 kB / 0.5384 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/1.394, allocations: 148.7 kB / 0.5386 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006695/1.4, allocations: 1.086 MB / 0.5396 GB, free: 79.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001951/1.401, allocations: 201.9 kB / 0.5398 GB, free: 79.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006898/1.407, allocations: 281.8 kB / 0.5401 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.409, allocations: 282 kB / 0.5404 GB, free: 79 MB / 426.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: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.41, allocations: 451 kB / 0.5408 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/1.411, allocations: 240.7 kB / 0.541 GB, free: 78.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/1.415, allocations: 1.233 MB / 0.5422 GB, free: 78.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/1.415, allocations: 17.41 kB / 0.5422 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.415, allocations: 3.953 kB / 0.5423 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.415, allocations: 7.266 kB / 0.5423 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.43, allocations: 3.988 MB / 0.5462 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.43, allocations: 0 / 0.5462 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002544/1.432, allocations: 220.1 kB / 0.5464 GB, free: 76.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/1.432, allocations: 3 kB / 0.5464 GB, free: 76.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/1.432, allocations: 22.56 kB / 0.5464 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/1.432, allocations: 4.531 kB / 0.5464 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.432, allocations: 3.375 kB / 0.5464 GB, free: 76.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/1.437, allocations: 2.056 MB / 0.5484 GB, free: 75.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.439, allocations: 458.8 kB / 0.5488 GB, free: 75.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007438/1.44, allocations: 15.47 kB / 0.5489 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.443, allocations: 77.67 kB / 0.5489 GB, free: 75.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/1.443, allocations: 52.16 kB / 0.549 GB, free: 75.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.444, allocations: 40.45 kB / 0.549 GB, free: 75.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005008/1.449, allocations: 1.76 MB / 0.5507 GB, free: 74.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.449, allocations: 0 / 0.5507 GB, free: 74.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007019/1.456, allocations: 0.6434 MB / 0.5514 GB, free: 74.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005932/1.462, allocations: 2.888 MB / 0.5542 GB, free: 72.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009289/1.471, allocations: 3.148 MB / 0.5573 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.471, allocations: 384 / 0.5573 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.473, allocations: 0.7825 MB / 0.558 GB, free: 71.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.476, allocations: 237.3 kB / 0.5582 GB, free: 71.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.495, allocations: 5.248 MB / 0.5634 GB, free: 69.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/1.498, allocations: 2.259 MB / 0.5656 GB, free: 68.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005594/1.503, allocations: 1.462 MB / 0.567 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/1.506, allocations: 1.083 MB / 0.5681 GB, free: 67.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/1.506, allocations: 0 / 0.5681 GB, free: 67.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.613, allocations: 47.35 MB / 0.6143 GB, free: 29.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.613, allocations: 139.9 kB / 0.6144 GB, free: 29.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/5.742, allocations: 4 kB / 0.6144 GB, free: 29.13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat