Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.881e-05, allocations: 7.984 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4442, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.6467, allocations: 95.94 MB / 455.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.6471, allocations: 75.95 kB / 455.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2497/0.8968, allocations: 56.88 MB / 0.5007 GB, free: 7.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8969, allocations: 0 / 0.5007 GB, free: 7.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.897, allocations: 52 kB / 0.5008 GB, free: 7.582 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01012/0.9072, allocations: 2.677 MB / 0.5034 GB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.9072, allocations: 8.031 kB / 0.5034 GB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002597/0.9098, allocations: 0.5682 MB / 0.504 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.9245, allocations: 1.833 MB / 0.5057 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006594/0.9311, allocations: 1.739 MB / 0.5074 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.9315, allocations: 229.9 kB / 0.5077 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.9333, allocations: 291.9 kB / 0.5079 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.9554, allocations: 6.755 MB / 0.5145 GB, free: 8.973 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.9556, allocations: 15.88 kB / 0.5146 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009612/0.9565, allocations: 135.9 kB / 0.5147 GB, free: 8.824 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.9582, allocations: 0.6923 MB / 0.5154 GB, free: 8.125 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.978, allocations: 5.853 MB / 0.5211 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4107/1.389, allocations: 23.82 MB / 0.5443 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/1.397, allocations: 2.174 MB / 0.5465 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/1.399, allocations: 0.792 MB / 0.5472 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/1.411, allocations: 4.012 MB / 0.5512 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.411, allocations: 45.08 kB / 0.5512 GB, free: 101.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 5.38e-06/1.411, allocations: 0 / 0.5512 GB, free: 101.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.009279/1.421, allocations: 1.754 MB / 0.5529 GB, free: 101.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.421, allocations: 59.31 kB / 0.553 GB, free: 101.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/1.425, allocations: 1.777 MB / 0.5547 GB, free: 101.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.425, allocations: 39.11 kB / 0.5547 GB, free: 101.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.427, allocations: 2.008 MB / 0.5567 GB, free: 100.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00067/1.428, allocations: 378.2 kB / 0.5571 GB, free: 99.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/1.428, allocations: 62.69 kB / 0.5571 GB, free: 99.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004482/1.429, allocations: 0.4928 MB / 0.5576 GB, free: 99.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/1.431, allocations: 0.9267 MB / 0.5585 GB, free: 99.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.435, allocations: 2.874 MB / 0.5613 GB, free: 96.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/1.438, allocations: 1.668 MB / 0.5629 GB, free: 95.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.947e-05/1.438, allocations: 19.44 kB / 0.563 GB, free: 95.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.008987/1.447, allocations: 3.705 MB / 0.5666 GB, free: 94.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/1.447, allocations: 34.75 kB / 0.5666 GB, free: 94.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/1.447, allocations: 69.88 kB / 0.5667 GB, free: 94.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/1.448, allocations: 104.3 kB / 0.5668 GB, free: 94.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/1.452, allocations: 0.7257 MB / 0.5675 GB, free: 94.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/1.452, allocations: 144.8 kB / 0.5676 GB, free: 94.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.456, allocations: 442.3 kB / 0.568 GB, free: 94.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005268/1.456, allocations: 194.3 kB / 0.5682 GB, free: 94.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.0005696/1.457, allocations: 353.2 kB / 0.5686 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/1.457, allocations: 174 kB / 0.5687 GB, free: 93.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/1.46, allocations: 1.212 MB / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.388e-05/1.46, allocations: 17.3 kB / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.46, allocations: 0 / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.46, allocations: 3.656 kB / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/1.473, allocations: 5.018 MB / 0.5748 GB, free: 91.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.473, allocations: 17.55 kB / 0.5749 GB, free: 91.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.474, allocations: 141.7 kB / 0.575 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/1.474, allocations: 14.56 kB / 0.575 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/1.474, allocations: 37.58 kB / 0.575 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/1.474, allocations: 17.77 kB / 0.5751 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.474, allocations: 14.97 kB / 0.5751 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.477, allocations: 2.29 MB / 0.5773 GB, free: 89.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/1.478, allocations: 279.9 kB / 0.5776 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.478, allocations: 23.38 kB / 0.5776 GB, free: 89.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.479, allocations: 46.31 kB / 0.5776 GB, free: 88.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.479, allocations: 87.2 kB / 0.5777 GB, free: 88.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.784e-05/1.479, allocations: 38.91 kB / 0.5778 GB, free: 88.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002973/1.482, allocations: 1.295 MB / 0.579 GB, free: 88.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.482, allocations: 0 / 0.579 GB, free: 88.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00402/1.486, allocations: 0.7717 MB / 0.5798 GB, free: 88.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.003857/1.49, allocations: 5.541 MB / 0.5852 GB, free: 83.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004784/1.495, allocations: 2.207 MB / 0.5873 GB, free: 82.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.495, allocations: 3.812 kB / 0.5873 GB, free: 82.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.496, allocations: 0.549 MB / 0.5879 GB, free: 82.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.5, allocations: 235 kB / 0.5881 GB, free: 82.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.524, allocations: 5.572 MB / 0.5935 GB, free: 79.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007011/1.532, allocations: 2.511 MB / 0.596 GB, free: 78.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006714/1.538, allocations: 1.037 MB / 0.597 GB, free: 78.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003788/1.542, allocations: 1.153 MB / 0.5981 GB, free: 77.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.983e-06/1.542, allocations: 0 / 0.5981 GB, free: 77.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.673, allocations: 39.92 MB / 0.6371 GB, free: 45.31 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.673, allocations: 144.2 kB / 0.6373 GB, free: 45.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/5.495, allocations: 0 / 0.6373 GB, free: 45.09 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat