Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.774/2.774, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.168e-05, allocations: 7.938 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3832, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5764, allocations: 94.34 MB / 448.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5767, allocations: 71.97 kB / 448.8 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6679/1.245, allocations: 56.97 MB / 0.494 GB, free: 71.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.245, allocations: 4 kB / 0.494 GB, free: 71.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001504/1.245, allocations: 44 kB / 0.494 GB, free: 71.63 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.01054/1.255, allocations: 2.599 MB / 0.4965 GB, free: 68.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.255, allocations: 8.031 kB / 0.4966 GB, free: 68.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0203/1.276, allocations: 1.97 MB / 0.4985 GB, free: 67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/1.291, allocations: 3.339 MB / 0.5017 GB, free: 63.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.291, allocations: 76 kB / 0.5018 GB, free: 63.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/1.292, allocations: 148 kB / 0.502 GB, free: 63.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01023/1.302, allocations: 3.952 MB / 0.5058 GB, free: 59.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/1.319, allocations: 6.269 MB / 0.5119 GB, free: 52.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/1.319, allocations: 43.62 kB / 0.512 GB, free: 52.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007581/1.32, allocations: 24 kB / 0.512 GB, free: 52.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/1.322, allocations: 0.7096 MB / 0.5127 GB, free: 51.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05978/1.382, allocations: 32.15 MB / 0.5441 GB, free: 18.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/1.387, allocations: 1.948 MB / 0.546 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/1.391, allocations: 0.9919 MB / 0.547 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/1.391, allocations: 174.5 kB / 0.5471 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.391, allocations: 46.83 kB / 0.5472 GB, free: 15.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 6.382e-06/1.391, allocations: 4 kB / 0.5472 GB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.02282/1.414, allocations: 6.294 MB / 0.5533 GB, free: 8.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.414, allocations: 137 kB / 0.5535 GB, free: 8.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.419, allocations: 2.168 MB / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/1.419, allocations: 25.7 kB / 0.5556 GB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.421, allocations: 2.159 MB / 0.5577 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006833/1.422, allocations: 442.4 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/1.422, allocations: 0 / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004524/1.423, allocations: 0.5516 MB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/1.426, allocations: 1.309 MB / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00666/1.433, allocations: 4.246 MB / 0.5641 GB, free: 12.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007062/1.44, allocations: 2.356 MB / 0.5664 GB, free: 9.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.44, allocations: 28 kB / 0.5664 GB, free: 9.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01637/1.457, allocations: 4.863 MB / 0.5712 GB, free: 4.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.457, allocations: 48 kB / 0.5712 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/1.457, allocations: 108.9 kB / 0.5713 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/1.457, allocations: 156 kB / 0.5715 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/1.465, allocations: 1.127 MB / 0.5726 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000253/1.465, allocations: 211.2 kB / 0.5728 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005467/1.471, allocations: 215.4 kB / 0.573 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.472, allocations: 288 kB / 0.5732 GB, free: 2.781 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.000942/1.473, allocations: 364 kB / 0.5736 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004426/1.478, allocations: 1.553 MB / 0.5751 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006286/1.478, allocations: 221.2 kB / 0.5753 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/1.482, allocations: 1.145 MB / 0.5764 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/1.482, allocations: 19.91 kB / 0.5765 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.482, allocations: 0 / 0.5765 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/1.482, allocations: 4.453 kB / 0.5765 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.495, allocations: 3.89 MB / 0.5803 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/1.495, allocations: 8.062 kB / 0.5803 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.497, allocations: 215.7 kB / 0.5805 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/1.497, allocations: 11.94 kB / 0.5805 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.498, allocations: 11.94 kB / 0.5805 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/1.498, allocations: 15.94 kB / 0.5805 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.498, allocations: 7.938 kB / 0.5805 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/1.503, allocations: 2.422 MB / 0.5829 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.504, allocations: 434 kB / 0.5833 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/1.505, allocations: 8 kB / 0.5833 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.507, allocations: 59.89 kB / 0.5834 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.507, allocations: 71.81 kB / 0.5834 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/1.507, allocations: 32 kB / 0.5835 GB, free: 7.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003854/1.511, allocations: 1.432 MB / 0.5849 GB, free: 6.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.511, allocations: 0 / 0.5849 GB, free: 6.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005681/1.517, allocations: 0.5312 MB / 0.5854 GB, free: 5.969 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.006629/1.523, allocations: 4.289 MB / 0.5896 GB, free: 1.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008553/1.532, allocations: 2.992 MB / 0.5925 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.532, allocations: 0 / 0.5925 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/1.534, allocations: 0.7549 MB / 0.5932 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.536, allocations: 206.9 kB / 0.5934 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.558, allocations: 5.283 MB / 0.5986 GB, free: 8.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004519/1.562, allocations: 2.257 MB / 0.6008 GB, free: 5.902 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00819/1.57, allocations: 1.5 MB / 0.6023 GB, free: 4.395 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003463/1.574, allocations: 1.069 MB / 0.6033 GB, free: 3.324 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/1.574, allocations: 4 kB / 0.6033 GB, free: 3.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5087/2.083, allocations: 44.1 MB / 0.6464 GB, free: 124.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002682/2.083, allocations: 129.7 kB / 0.6465 GB, free: 124.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.593/6.676, allocations: 3.938 kB / 0.6465 GB, free: 124.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat