Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.673e-05, allocations: 4 kB / 273.1 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09822, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5236, allocations: 93.21 MB / 415.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5239, allocations: 71.97 kB / 415.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.387/0.9109, allocations: 82.3 MB / 497.5 MB, free: 9.379 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.911, allocations: 0 / 497.5 MB, free: 9.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003879/0.9114, allocations: 80 kB / 497.5 MB, free: 9.301 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.03824/0.9497, allocations: 4.283 MB / 0.4901 GB, free: 4.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.714e-05/0.9498, allocations: 12.03 kB / 0.4901 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005405/0.9552, allocations: 0.7948 MB / 0.4908 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.9741, allocations: 2.252 MB / 0.493 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3011/1.275, allocations: 4.741 MB / 0.4977 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/1.276, allocations: 336.2 kB / 0.498 GB, free: 94.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/1.278, allocations: 444.8 kB / 0.4984 GB, free: 94.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/1.311, allocations: 10.54 MB / 0.5087 GB, free: 91.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/1.311, allocations: 58.55 kB / 0.5088 GB, free: 91.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/1.313, allocations: 216.1 kB / 0.509 GB, free: 91.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003267/1.316, allocations: 1.011 MB / 0.51 GB, free: 91.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02707/1.344, allocations: 8.378 MB / 0.5181 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07149/1.415, allocations: 49.28 MB / 0.5663 GB, free: 56.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/1.43, allocations: 3.52 MB / 0.5697 GB, free: 55.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/1.434, allocations: 1.683 MB / 0.5713 GB, free: 54.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/1.451, allocations: 7.53 MB / 0.5787 GB, free: 50.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.451, allocations: 50.27 kB / 0.5787 GB, free: 50.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.049e-06/1.451, allocations: 3.906 kB / 0.5787 GB, free: 50.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.04016/1.492, allocations: 10.57 MB / 0.5891 GB, free: 46.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001304/1.493, allocations: 1.613 MB / 0.5906 GB, free: 44.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/1.501, allocations: 3.496 MB / 0.594 GB, free: 43.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/1.501, allocations: 49.16 kB / 0.5941 GB, free: 43.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002597/1.504, allocations: 3.166 MB / 0.5972 GB, free: 40.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.505, allocations: 0.5938 MB / 0.5978 GB, free: 40.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006481/1.505, allocations: 117.3 kB / 0.5979 GB, free: 40.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003682/1.506, allocations: 0.558 MB / 0.5984 GB, free: 39.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.511, allocations: 2.076 MB / 0.6005 GB, free: 39.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/1.52, allocations: 5.784 MB / 0.6061 GB, free: 32.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008639/1.528, allocations: 3.427 MB / 0.6094 GB, free: 29.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/1.528, allocations: 36 kB / 0.6095 GB, free: 29.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03274/1.561, allocations: 8.417 MB / 0.6177 GB, free: 22.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/1.561, allocations: 64 kB / 0.6178 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01172/1.573, allocations: 2.796 MB / 0.6205 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/1.581, allocations: 1.126 MB / 0.6216 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/1.592, allocations: 1.378 MB / 0.6229 GB, free: 18.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.602, allocations: 4.727 MB / 0.6276 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.612, allocations: 414.3 kB / 0.6279 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/1.614, allocations: 372 kB / 0.6283 GB, free: 12.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.002374/1.617, allocations: 0.5686 MB / 0.6289 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.618, allocations: 331.7 kB / 0.6292 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.628, allocations: 3.051 MB / 0.6322 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008741/1.637, allocations: 2.586 MB / 0.6347 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/1.637, allocations: 7.953 kB / 0.6347 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.511e-05/1.637, allocations: 3.938 kB / 0.6347 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.649, allocations: 3.846 MB / 0.6384 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.649, allocations: 0 / 0.6384 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.651, allocations: 253.4 kB / 0.6387 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005484/1.657, allocations: 1.029 MB / 0.6397 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004718/1.658, allocations: 43.69 kB / 0.6397 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009352/1.667, allocations: 5.017 MB / 0.6446 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001617/1.669, allocations: 1.474 MB / 0.6461 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.685, allocations: 5.448 MB / 0.6514 GB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.687, allocations: 400.6 kB / 0.6518 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/1.688, allocations: 28 kB / 0.6518 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.692, allocations: 147.8 kB / 0.6519 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006945/1.693, allocations: 88.58 kB / 0.652 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.693, allocations: 39.98 kB / 0.6521 GB, free: 7.512 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007447/1.7, allocations: 2.41 MB / 0.6544 GB, free: 5.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.7, allocations: 0 / 0.6544 GB, free: 5.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008179/1.709, allocations: 1.063 MB / 0.6555 GB, free: 4.062 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3264/2.035, allocations: 6.262 MB / 0.6616 GB, free: 98.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01738/2.052, allocations: 5.593 MB / 0.667 GB, free: 97.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.053, allocations: 0 / 0.667 GB, free: 97.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008158/2.061, allocations: 2.198 MB / 0.6692 GB, free: 97.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/2.065, allocations: 407.6 kB / 0.6696 GB, free: 97.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/2.101, allocations: 9.333 MB / 0.6787 GB, free: 95.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008436/2.11, allocations: 3.331 MB / 0.6819 GB, free: 94.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009201/2.119, allocations: 1.868 MB / 0.6838 GB, free: 94.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005071/2.124, allocations: 1.859 MB / 0.6856 GB, free: 94.65 MB / 442.7 MB Notification: Performance of SimCode: time 2.164e-06/2.124, allocations: 0 / 0.6856 GB, free: 94.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/2.3, allocations: 75.31 MB / 0.7591 GB, free: 59.69 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/2.3, allocations: 185.4 kB / 0.7593 GB, free: 59.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.266/7.566, allocations: 4 kB / 0.7593 GB, free: 59.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat