Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.052e-05/5.049e-05, allocations: 7.938 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5785/0.7226, allocations: 108.6 MB / 0.5068 GB, free: 11.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.723, allocations: 79.95 kB / 0.5069 GB, free: 11.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4034/1.126, allocations: 81.41 MB / 0.5864 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/1.127, allocations: 0 / 0.5864 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002839/1.127, allocations: 87.94 kB / 0.5865 GB, free: 9.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.02416/1.151, allocations: 4.189 MB / 0.5906 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.151, allocations: 12.03 kB / 0.5906 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003559/1.155, allocations: 0.77 MB / 0.5913 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/1.173, allocations: 2.245 MB / 0.5935 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.194, allocations: 4.573 MB / 0.598 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005057/1.195, allocations: 320.6 kB / 0.5983 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/1.197, allocations: 431.8 kB / 0.5987 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/1.229, allocations: 10.27 MB / 0.6087 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000241/1.229, allocations: 55.5 kB / 0.6088 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/1.231, allocations: 215.9 kB / 0.609 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/1.233, allocations: 0.975 MB / 0.61 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3863/1.62, allocations: 7.986 MB / 0.6178 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/1.698, allocations: 48.38 MB / 0.665 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.714, allocations: 3.635 MB / 0.6686 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/1.718, allocations: 1.6 MB / 0.6701 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01936/1.738, allocations: 7.899 MB / 0.6778 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.738, allocations: 54.25 kB / 0.6779 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 6.032e-06/1.738, allocations: 0 / 0.6779 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148): time 0.04559/1.783, allocations: 10.31 MB / 0.6879 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001449/1.785, allocations: 1.617 MB / 0.6895 GB, free: 78.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008573/1.793, allocations: 3.39 MB / 0.6928 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004332/1.794, allocations: 48.23 kB / 0.6929 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002721/1.797, allocations: 3.058 MB / 0.6959 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.798, allocations: 0.5969 MB / 0.6965 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007939/1.799, allocations: 117.7 kB / 0.6966 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005659/1.799, allocations: 0.5462 MB / 0.6971 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005271/1.804, allocations: 1.964 MB / 0.699 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.816, allocations: 5.548 MB / 0.7044 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009371/1.826, allocations: 3.278 MB / 0.7076 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/1.826, allocations: 35.38 kB / 0.7077 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.03254/1.858, allocations: 8.404 MB / 0.7159 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.859, allocations: 61.56 kB / 0.7159 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0178/1.876, allocations: 3.268 MB / 0.7191 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01739/1.894, allocations: 1.933 MB / 0.721 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008038/1.902, allocations: 1.326 MB / 0.7223 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.914, allocations: 5.731 MB / 0.7279 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.921, allocations: 399.9 kB / 0.7283 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.923, allocations: 362 kB / 0.7286 GB, free: 56.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (714): * Single equations (assignments): 705 * Array equations: 5 * 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 {(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.001867/1.925, allocations: 0.56 MB / 0.7292 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008272/1.925, allocations: 323.8 kB / 0.7295 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009664/1.935, allocations: 2.907 MB / 0.7323 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008247/1.943, allocations: 2.449 MB / 0.7347 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.944, allocations: 7.938 kB / 0.7347 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-05/1.944, allocations: 6.797 kB / 0.7347 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.969, allocations: 8.497 MB / 0.743 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/1.969, allocations: 4.094 kB / 0.743 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.971, allocations: 247 kB / 0.7433 GB, free: 44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/1.977, allocations: 1.016 MB / 0.7443 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/1.977, allocations: 39.56 kB / 0.7443 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008319/1.986, allocations: 5.005 MB / 0.7492 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001191/1.987, allocations: 1.484 MB / 0.7506 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/2, allocations: 5.266 MB / 0.7558 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/2.002, allocations: 392.3 kB / 0.7562 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/2.003, allocations: 31.94 kB / 0.7562 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/2.006, allocations: 134 kB / 0.7563 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006082/2.007, allocations: 93.91 kB / 0.7564 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/2.007, allocations: 43.67 kB / 0.7564 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005924/2.013, allocations: 2.338 MB / 0.7587 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.013, allocations: 0 / 0.7587 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007217/2.021, allocations: 1.036 MB / 0.7597 GB, free: 28.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.01408/2.035, allocations: 6.264 MB / 0.7659 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01404/2.049, allocations: 5.206 MB / 0.7709 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.049, allocations: 3.938 kB / 0.7709 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00702/2.056, allocations: 2.111 MB / 0.773 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/2.059, allocations: 395.6 kB / 0.7734 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/2.088, allocations: 8.998 MB / 0.7822 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006534/2.094, allocations: 3.248 MB / 0.7853 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008014/2.102, allocations: 1.822 MB / 0.7871 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/2.107, allocations: 1.803 MB / 0.7889 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/2.107, allocations: 3.938 kB / 0.7889 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5498/2.657, allocations: 74.69 MB / 0.8618 GB, free: 117 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/2.657, allocations: 182.3 kB / 0.862 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.36/8.017, allocations: 0 / 0.862 GB, free: 116.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat