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 2.397/2.397, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.989e-05, allocations: 4 kB / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5642, allocations: 87.76 MB / 404.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5645, allocations: 68.22 kB / 404.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3196/0.8842, allocations: 56.96 MB / 461.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8842, allocations: 0 / 461.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.8844, allocations: 51.98 kB / 461.2 MB, free: 15.1 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.01089/0.8953, allocations: 2.588 MB / 463.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.8954, allocations: 12.03 kB / 463.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.9118, allocations: 1.978 MB / 465.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.9262, allocations: 3.341 MB / 469.1 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.9265, allocations: 76 kB / 469.2 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.9281, allocations: 136 kB / 469.3 MB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01139/0.9395, allocations: 3.964 MB / 473.2 MB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.957, allocations: 6.253 MB / 479.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.9573, allocations: 47.53 kB / 479.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009538/0.9582, allocations: 24 kB / 479.6 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/0.9602, allocations: 0.715 MB / 480.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3591/1.319, allocations: 32.13 MB / 0.5004 GB, free: 79.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005371/1.325, allocations: 1.943 MB / 0.5023 GB, free: 79.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/1.328, allocations: 1.001 MB / 0.5033 GB, free: 79.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/1.328, allocations: 17.47 kB / 0.5033 GB, free: 79.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.328, allocations: 46.34 kB / 0.5033 GB, free: 79.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 6.412e-06/1.328, allocations: 0 / 0.5033 GB, free: 79.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.0287/1.357, allocations: 6.285 MB / 0.5095 GB, free: 77.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.357, allocations: 137.9 kB / 0.5096 GB, free: 77.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007775/1.365, allocations: 2.174 MB / 0.5117 GB, free: 77.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003397/1.365, allocations: 27.08 kB / 0.5118 GB, free: 77.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.368, allocations: 2.161 MB / 0.5139 GB, free: 76.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.369, allocations: 448.1 kB / 0.5143 GB, free: 75.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/1.37, allocations: 1.844 kB / 0.5143 GB, free: 75.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006091/1.37, allocations: 0.5452 MB / 0.5148 GB, free: 75.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004807/1.375, allocations: 1.313 MB / 0.5161 GB, free: 75.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007737/1.383, allocations: 4.246 MB / 0.5203 GB, free: 71.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005901/1.389, allocations: 2.365 MB / 0.5226 GB, free: 71.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001957/1.389, allocations: 28.62 kB / 0.5226 GB, free: 71.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01434/1.403, allocations: 4.876 MB / 0.5274 GB, free: 69.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/1.404, allocations: 50.34 kB / 0.5274 GB, free: 69.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/1.404, allocations: 107.4 kB / 0.5275 GB, free: 69.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/1.404, allocations: 160 kB / 0.5277 GB, free: 69.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/1.411, allocations: 1.121 MB / 0.5288 GB, free: 69.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/1.411, allocations: 209.6 kB / 0.529 GB, free: 69.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.417, allocations: 211.4 kB / 0.5292 GB, free: 69.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.419, allocations: 291.4 kB / 0.5294 GB, free: 69.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (572): * Single equations (assignments): 569 * 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.001721/1.42, allocations: 368.9 kB / 0.5298 GB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004547/1.425, allocations: 1.573 MB / 0.5313 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008283/1.426, allocations: 215.9 kB / 0.5315 GB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/1.429, allocations: 1.164 MB / 0.5327 GB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/1.429, allocations: 10.72 kB / 0.5327 GB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.429, allocations: 3.969 kB / 0.5327 GB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.429, allocations: 11.64 kB / 0.5327 GB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.44, allocations: 3.508 MB / 0.5361 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.44, allocations: 3.469 kB / 0.5361 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.442, allocations: 210.5 kB / 0.5363 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/1.442, allocations: 3.344 kB / 0.5363 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/1.442, allocations: 7 kB / 0.5363 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/1.442, allocations: 14.42 kB / 0.5363 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.443, allocations: 5.5 kB / 0.5364 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/1.447, allocations: 1.985 MB / 0.5383 GB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.448, allocations: 437.6 kB / 0.5387 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008323/1.449, allocations: 0 / 0.5387 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.451, allocations: 60.19 kB / 0.5388 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/1.452, allocations: 52.94 kB / 0.5388 GB, free: 65.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.452, allocations: 36.14 kB / 0.5389 GB, free: 65.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003615/1.455, allocations: 1.43 MB / 0.5402 GB, free: 65.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.456, allocations: 1.688 kB / 0.5402 GB, free: 65.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005705/1.461, allocations: 0.5465 MB / 0.5408 GB, free: 65.02 MB / 410.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.004562/1.466, allocations: 2.809 MB / 0.5435 GB, free: 63.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006971/1.473, allocations: 3 MB / 0.5465 GB, free: 62.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.473, allocations: 2.438 kB / 0.5465 GB, free: 62.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.474, allocations: 0.7504 MB / 0.5472 GB, free: 62.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.476, allocations: 205.6 kB / 0.5474 GB, free: 61.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.495, allocations: 5.092 MB / 0.5524 GB, free: 60.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/1.5, allocations: 2.257 MB / 0.5546 GB, free: 59.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007063/1.507, allocations: 1.511 MB / 0.556 GB, free: 58.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/1.51, allocations: 1.063 MB / 0.5571 GB, free: 57.92 MB / 410.7 MB Notification: Performance of SimCode: time 3.176e-06/1.51, allocations: 0 / 0.5571 GB, free: 57.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/1.656, allocations: 43.49 MB / 0.5995 GB, free: 20.77 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.656, allocations: 124.2 kB / 0.5997 GB, free: 20.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/5.546, allocations: 0 / 0.5997 GB, free: 20.58 MB / 410.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