Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.838e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5448, allocations: 93.23 MB / 415.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5452, allocations: 75.95 kB / 415.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3781/0.9233, allocations: 82.28 MB / 497.4 MB, free: 9.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9234, allocations: 3.938 kB / 497.4 MB, free: 9.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002844/0.9237, allocations: 91.92 kB / 497.5 MB, free: 9.703 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.02399/0.9477, allocations: 4.268 MB / 0.49 GB, free: 5.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.9477, allocations: 12.03 kB / 0.49 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003684/0.9514, allocations: 0.7948 MB / 0.4908 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.9702, allocations: 2.256 MB / 0.493 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3054/1.276, allocations: 4.748 MB / 0.4976 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/1.276, allocations: 335.5 kB / 0.498 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/1.279, allocations: 440.9 kB / 0.4984 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03287/1.312, allocations: 10.54 MB / 0.5087 GB, free: 91.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003687/1.312, allocations: 60.16 kB / 0.5087 GB, free: 91.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002089/1.314, allocations: 217.4 kB / 0.5089 GB, free: 91.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002804/1.317, allocations: 1.012 MB / 0.5099 GB, free: 91.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.344, allocations: 8.38 MB / 0.5181 GB, free: 91.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07109/1.415, allocations: 49.27 MB / 0.5662 GB, free: 56.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/1.43, allocations: 3.532 MB / 0.5697 GB, free: 55.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/1.433, allocations: 1.68 MB / 0.5713 GB, free: 54.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/1.451, allocations: 7.528 MB / 0.5787 GB, free: 50.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.451, allocations: 52.28 kB / 0.5787 GB, free: 50.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 6.021e-06/1.451, allocations: 0 / 0.5787 GB, free: 50.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.04265/1.494, allocations: 10.58 MB / 0.589 GB, free: 46.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001362/1.495, allocations: 1.606 MB / 0.5906 GB, free: 44.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/1.503, allocations: 3.498 MB / 0.594 GB, free: 43.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000432/1.504, allocations: 42.81 kB / 0.5941 GB, free: 43.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.506, allocations: 3.109 MB / 0.5971 GB, free: 40.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.508, allocations: 0.6 MB / 0.5977 GB, free: 40.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007938/1.508, allocations: 118.3 kB / 0.5978 GB, free: 40.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004472/1.509, allocations: 0.5546 MB / 0.5983 GB, free: 39.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/1.514, allocations: 2.075 MB / 0.6004 GB, free: 39.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0077/1.522, allocations: 5.785 MB / 0.606 GB, free: 32.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/1.529, allocations: 3.422 MB / 0.6094 GB, free: 30 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/1.53, allocations: 40 kB / 0.6094 GB, free: 29.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02329/1.553, allocations: 8.304 MB / 0.6175 GB, free: 22.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.553, allocations: 60 kB / 0.6176 GB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009114/1.562, allocations: 2.805 MB / 0.6203 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005641/1.568, allocations: 1.128 MB / 0.6214 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008851/1.577, allocations: 1.377 MB / 0.6228 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007627/1.584, allocations: 4.723 MB / 0.6274 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007566/1.592, allocations: 415.2 kB / 0.6278 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.594, allocations: 371.9 kB / 0.6281 GB, free: 13.2 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.002105/1.596, allocations: 0.5744 MB / 0.6287 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008872/1.597, allocations: 327.7 kB / 0.629 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.607, allocations: 3.052 MB / 0.632 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008575/1.616, allocations: 2.581 MB / 0.6345 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.616, allocations: 11.8 kB / 0.6345 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.461e-05/1.616, allocations: 7.453 kB / 0.6345 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.626, allocations: 3.843 MB / 0.6383 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/1.626, allocations: 4 kB / 0.6383 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.629, allocations: 256.9 kB / 0.6385 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/1.634, allocations: 1.021 MB / 0.6395 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.635, allocations: 35.94 kB / 0.6395 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008602/1.643, allocations: 5 MB / 0.6444 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001563/1.645, allocations: 1.476 MB / 0.6459 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.661, allocations: 5.457 MB / 0.6512 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.662, allocations: 400.6 kB / 0.6516 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.663, allocations: 32.55 kB / 0.6516 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.667, allocations: 141.2 kB / 0.6517 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/1.668, allocations: 96.58 kB / 0.6518 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.668, allocations: 39.98 kB / 0.6519 GB, free: 8.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007376/1.675, allocations: 2.403 MB / 0.6542 GB, free: 5.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.443e-06/1.675, allocations: 4 kB / 0.6542 GB, free: 5.691 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007569/1.683, allocations: 1.052 MB / 0.6552 GB, free: 4.641 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.3224/2.006, allocations: 6.273 MB / 0.6614 GB, free: 99.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01786/2.023, allocations: 5.591 MB / 0.6668 GB, free: 98.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.024, allocations: 1.156 kB / 0.6668 GB, free: 98.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007836/2.031, allocations: 2.192 MB / 0.669 GB, free: 98.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/2.035, allocations: 397.9 kB / 0.6694 GB, free: 98.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.068, allocations: 9.832 MB / 0.679 GB, free: 96.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007191/2.075, allocations: 3.339 MB / 0.6822 GB, free: 95.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004406/2.08, allocations: 1.9 MB / 0.6841 GB, free: 95.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/2.08, allocations: 0 / 0.6841 GB, free: 95.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.24/7.32, allocations: 150.7 MB / 0.8313 GB, free: 107.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat