Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.642e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.406, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.6138, allocations: 99.95 MB / 459.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/0.6143, allocations: 79.95 kB / 459.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6812/1.295, allocations: 82.46 MB / 0.5296 GB, free: 101 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.296, allocations: 0 / 0.5296 GB, free: 101 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002797/1.296, allocations: 80.92 kB / 0.5297 GB, free: 101 MB / 458.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.02534/1.321, allocations: 4.286 MB / 0.5339 GB, free: 99.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.321, allocations: 8.375 kB / 0.5339 GB, free: 99.33 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004133/1.325, allocations: 0.7935 MB / 0.5347 GB, free: 99.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/1.345, allocations: 2.267 MB / 0.5369 GB, free: 98.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.366, allocations: 4.778 MB / 0.5416 GB, free: 98.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/1.366, allocations: 332.2 kB / 0.5419 GB, free: 98.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/1.369, allocations: 434.5 kB / 0.5423 GB, free: 98.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/1.403, allocations: 10.49 MB / 0.5525 GB, free: 95.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003125/1.404, allocations: 63.47 kB / 0.5526 GB, free: 95.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/1.406, allocations: 213.1 kB / 0.5528 GB, free: 95.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/1.408, allocations: 1.011 MB / 0.5538 GB, free: 95.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.433, allocations: 8.19 MB / 0.5618 GB, free: 95.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07301/1.506, allocations: 49.3 MB / 0.6099 GB, free: 57.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.521, allocations: 3.5 MB / 0.6134 GB, free: 56.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.525, allocations: 1.671 MB / 0.615 GB, free: 55.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/1.543, allocations: 7.533 MB / 0.6223 GB, free: 51.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.543, allocations: 57.73 kB / 0.6224 GB, free: 51.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.68e-06/1.543, allocations: 0 / 0.6224 GB, free: 51.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.04308/1.586, allocations: 10.56 MB / 0.6327 GB, free: 44.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001353/1.588, allocations: 1.612 MB / 0.6343 GB, free: 42.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008829/1.597, allocations: 3.492 MB / 0.6377 GB, free: 39.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005306/1.597, allocations: 56.33 kB / 0.6377 GB, free: 39.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003423/1.601, allocations: 3.104 MB / 0.6408 GB, free: 36.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.602, allocations: 0.6008 MB / 0.6414 GB, free: 35.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/1.603, allocations: 116 kB / 0.6415 GB, free: 35.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005551/1.604, allocations: 0.5617 MB / 0.642 GB, free: 35.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008095/1.612, allocations: 2.088 MB / 0.6441 GB, free: 33.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0226/1.634, allocations: 5.767 MB / 0.6497 GB, free: 26.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/1.657, allocations: 3.431 MB / 0.653 GB, free: 23.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.657, allocations: 40 kB / 0.6531 GB, free: 23.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.04386/1.701, allocations: 8.624 MB / 0.6615 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/1.701, allocations: 64.22 kB / 0.6616 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01755/1.719, allocations: 3.492 MB / 0.665 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01688/1.736, allocations: 1.939 MB / 0.6669 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/1.744, allocations: 1.38 MB / 0.6682 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.756, allocations: 5.752 MB / 0.6738 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007667/1.764, allocations: 415.3 kB / 0.6742 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.765, allocations: 368 kB / 0.6746 GB, free: 3.078 MB / 458.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): 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.00116/1.766, allocations: 0.5592 MB / 0.6751 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008423/1.767, allocations: 327.7 kB / 0.6754 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/1.777, allocations: 3.064 MB / 0.6784 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009689/1.787, allocations: 2.584 MB / 0.681 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/1.787, allocations: 4 kB / 0.681 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.946e-05/1.787, allocations: 11.91 kB / 0.681 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.799, allocations: 3.858 MB / 0.6847 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/1.799, allocations: 4 kB / 0.6847 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002824/1.802, allocations: 251.4 kB / 0.685 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005867/1.808, allocations: 1.03 MB / 0.686 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004706/1.809, allocations: 35.98 kB / 0.686 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/1.819, allocations: 4.991 MB / 0.6909 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001636/1.82, allocations: 1.478 MB / 0.6923 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.837, allocations: 5.443 MB / 0.6977 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.839, allocations: 416.1 kB / 0.6981 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.84, allocations: 31.98 kB / 0.6981 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003594/1.844, allocations: 143.8 kB / 0.6982 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006364/1.844, allocations: 92.52 kB / 0.6983 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/1.845, allocations: 39.98 kB / 0.6983 GB, free: 10.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006966/1.852, allocations: 2.41 MB / 0.7007 GB, free: 7.812 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.852, allocations: 0.6562 kB / 0.7007 GB, free: 7.812 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008631/1.86, allocations: 1.066 MB / 0.7017 GB, free: 6.75 MB / 490.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.01714/1.877, allocations: 6.265 MB / 0.7079 GB, free: 444 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3424/2.22, allocations: 5.438 MB / 0.7132 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/2.22, allocations: 1.781 kB / 0.7132 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00786/2.228, allocations: 2.173 MB / 0.7153 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/2.232, allocations: 390.1 kB / 0.7157 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/2.269, allocations: 9.816 MB / 0.7253 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009062/2.278, allocations: 3.342 MB / 0.7285 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005129/2.284, allocations: 1.899 MB / 0.7304 GB, free: 116.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.985e-06/2.284, allocations: 0 / 0.7304 GB, free: 116.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.487/6.771, allocations: 150.4 MB / 0.8772 GB, free: 9.504 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat