Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.999e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4187, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.6167, allocations: 107.4 MB / 489.7 MB, free: 0.9492 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.617, allocations: 71.97 kB / 489.8 MB, free: 0.8789 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7206/1.338, allocations: 84.41 MB / 0.5607 GB, free: 110.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.904e-06/1.338, allocations: 7.688 kB / 0.5607 GB, free: 110.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002306/1.338, allocations: 84.22 kB / 0.5608 GB, free: 110.4 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02314/1.361, allocations: 4.354 MB / 0.5651 GB, free: 108 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.361, allocations: 7.562 kB / 0.5651 GB, free: 108 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003751/1.365, allocations: 0.8075 MB / 0.5659 GB, free: 107.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/1.383, allocations: 2.279 MB / 0.5681 GB, free: 106.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/1.401, allocations: 4.833 MB / 0.5728 GB, free: 101.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/1.402, allocations: 338.5 kB / 0.5731 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/1.404, allocations: 447.1 kB / 0.5736 GB, free: 101.1 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/1.434, allocations: 10.74 MB / 0.5841 GB, free: 89.34 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000376/1.435, allocations: 59.41 kB / 0.5841 GB, free: 89.28 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002273/1.437, allocations: 219.1 kB / 0.5843 GB, free: 89.09 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/1.44, allocations: 1.042 MB / 0.5853 GB, free: 88.04 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/1.465, allocations: 8.41 MB / 0.5936 GB, free: 79.62 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07275/1.538, allocations: 50.02 MB / 0.6424 GB, free: 28.23 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/1.554, allocations: 3.769 MB / 0.6461 GB, free: 24.31 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/1.558, allocations: 1.728 MB / 0.6478 GB, free: 22.57 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/1.577, allocations: 8.339 MB / 0.6559 GB, free: 13.85 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.577, allocations: 47.55 kB / 0.656 GB, free: 13.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=153): time 6.362e-06/1.577, allocations: 4 kB / 0.656 GB, free: 13.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=160): time 0.04223/1.619, allocations: 10.98 MB / 0.6667 GB, free: 2.691 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001285/1.62, allocations: 1.612 MB / 0.6683 GB, free: 0.9102 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00858/1.629, allocations: 3.52 MB / 0.6717 GB, free: 13.41 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004662/1.629, allocations: 49.7 kB / 0.6717 GB, free: 13.36 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003612/1.633, allocations: 3.207 MB / 0.6749 GB, free: 10.15 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.634, allocations: 0.6497 MB / 0.6755 GB, free: 9.504 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/1.635, allocations: 116 kB / 0.6756 GB, free: 9.391 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005291/1.636, allocations: 0.5622 MB / 0.6762 GB, free: 8.82 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00613/1.642, allocations: 2.113 MB / 0.6782 GB, free: 6.703 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009814/1.652, allocations: 5.817 MB / 0.6839 GB, free: 15.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008981/1.661, allocations: 3.479 MB / 0.6873 GB, free: 11.53 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/1.661, allocations: 40.28 kB / 0.6873 GB, free: 11.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03711/1.698, allocations: 8.819 MB / 0.696 GB, free: 2.664 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.698, allocations: 68.08 kB / 0.696 GB, free: 2.598 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01953/1.718, allocations: 3.551 MB / 0.6995 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01802/1.736, allocations: 1.946 MB / 0.7014 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009446/1.746, allocations: 1.396 MB / 0.7028 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.76, allocations: 5.751 MB / 0.7084 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/1.768, allocations: 420.7 kB / 0.7088 GB, free: 5.242 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.769, allocations: 384 kB / 0.7091 GB, free: 4.867 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (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 (752): * Single equations (assignments): 743 * 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.001495/1.771, allocations: 0.5679 MB / 0.7097 GB, free: 4.297 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.772, allocations: 335.6 kB / 0.71 GB, free: 3.965 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.783, allocations: 3.149 MB / 0.7131 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3746/2.157, allocations: 2.645 MB / 0.7157 GB, free: 139.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/2.158, allocations: 2.344 kB / 0.7157 GB, free: 139.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/2.158, allocations: 8.656 kB / 0.7157 GB, free: 139.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/2.185, allocations: 9.143 MB / 0.7246 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/2.185, allocations: 0 / 0.7246 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/2.187, allocations: 271.2 kB / 0.7249 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/2.193, allocations: 1.022 MB / 0.7259 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004193/2.193, allocations: 41.16 kB / 0.7259 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008165/2.201, allocations: 5.004 MB / 0.7308 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001112/2.203, allocations: 1.48 MB / 0.7322 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/2.216, allocations: 5.66 MB / 0.7378 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/2.218, allocations: 416.1 kB / 0.7382 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/2.219, allocations: 30.3 kB / 0.7382 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/2.222, allocations: 149.7 kB / 0.7383 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/2.223, allocations: 95.23 kB / 0.7384 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/2.223, allocations: 46.81 kB / 0.7385 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005951/2.229, allocations: 2.431 MB / 0.7408 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.12e-07/2.229, allocations: 0 / 0.7408 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007558/2.237, allocations: 1.091 MB / 0.7419 GB, free: 132.3 MB / 0.4949 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 (126): * Single equations (assignments): 119 * 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.01467/2.252, allocations: 6.661 MB / 0.7484 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01524/2.267, allocations: 5.531 MB / 0.7538 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.267, allocations: 2.438 kB / 0.7538 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007483/2.274, allocations: 2.215 MB / 0.756 GB, free: 126.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/2.278, allocations: 408.6 kB / 0.7564 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/2.31, allocations: 9.549 MB / 0.7657 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007063/2.317, allocations: 3.384 MB / 0.769 GB, free: 119.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008574/2.326, allocations: 1.898 MB / 0.7709 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/2.33, allocations: 1.897 MB / 0.7727 GB, free: 116.9 MB / 0.4949 GB Notification: Performance of SimCode: time 1.292e-06/2.33, allocations: 0 / 0.7727 GB, free: 116.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/2.506, allocations: 78.14 MB / 0.849 GB, free: 43.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/2.506, allocations: 180 kB / 0.8492 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.627/8.133, allocations: 0 / 0.8492 GB, free: 42.98 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat