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.979/1.979, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.965e-05, allocations: 0 / 267.6 MB, free: 4.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.71 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5357, allocations: 92.79 MB / 409.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.536, allocations: 70.47 kB / 409.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3536/0.8897, allocations: 80.39 MB / 489.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8897, allocations: 0 / 489.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003365/0.8901, allocations: 88 kB / 489.7 MB, free: 2.387 MB / 410.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.3003/1.19, allocations: 4.259 MB / 493.9 MB, free: 85.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.19, allocations: 10 kB / 493.9 MB, free: 85.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/1.209, allocations: 2.256 MB / 496.2 MB, free: 85.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/1.228, allocations: 4.749 MB / 0.4892 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/1.229, allocations: 142.2 kB / 0.4893 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/1.231, allocations: 261.1 kB / 0.4896 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01623/1.247, allocations: 6.115 MB / 0.4955 GB, free: 85.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/1.27, allocations: 9.473 MB / 0.5048 GB, free: 82.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/1.271, allocations: 64.17 kB / 0.5049 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/1.272, allocations: 32.81 kB / 0.5049 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.274, allocations: 1.014 MB / 0.5059 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06335/1.337, allocations: 47.98 MB / 0.5527 GB, free: 48.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/1.342, allocations: 2.604 MB / 0.5553 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/1.345, allocations: 1.592 MB / 0.5568 GB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.346, allocations: 0.6567 MB / 0.5575 GB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.346, allocations: 43.06 kB / 0.5575 GB, free: 45.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.849e-06/1.346, allocations: 0 / 0.5575 GB, free: 45.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.03137/1.377, allocations: 10.29 MB / 0.5676 GB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.377, allocations: 146.8 kB / 0.5677 GB, free: 41.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/1.383, allocations: 2.997 MB / 0.5706 GB, free: 40.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004115/1.383, allocations: 33.27 kB / 0.5707 GB, free: 40.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/1.385, allocations: 3.211 MB / 0.5738 GB, free: 37.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009207/1.386, allocations: 0.6226 MB / 0.5744 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.387, allocations: 0 / 0.5744 GB, free: 37.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003827/1.387, allocations: 0.5731 MB / 0.575 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.391, allocations: 2.032 MB / 0.577 GB, free: 35.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006504/1.398, allocations: 5.887 MB / 0.5827 GB, free: 29.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007006/1.405, allocations: 3.426 MB / 0.586 GB, free: 27.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.405, allocations: 44 kB / 0.5861 GB, free: 27.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0215/1.427, allocations: 7.825 MB / 0.5937 GB, free: 20.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.427, allocations: 70.92 kB / 0.5938 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008073/1.435, allocations: 2.757 MB / 0.5965 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/1.44, allocations: 1.115 MB / 0.5976 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008695/1.449, allocations: 1.442 MB / 0.599 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/1.456, allocations: 4.573 MB / 0.6035 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/1.464, allocations: 301.8 kB / 0.6037 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.465, allocations: 387.7 kB / 0.6041 GB, free: 11.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (771): * Single equations (assignments): 762 * 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.001861/1.467, allocations: 456.2 kB / 0.6045 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01039/1.478, allocations: 3.352 MB / 0.6078 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.479, allocations: 311 kB / 0.6081 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009768/1.489, allocations: 3.08 MB / 0.6111 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007916/1.497, allocations: 2.55 MB / 0.6136 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/1.497, allocations: 3 kB / 0.6136 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.385e-05/1.497, allocations: 7.469 kB / 0.6136 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.523, allocations: 8.577 MB / 0.622 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.523, allocations: 0 / 0.622 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.526, allocations: 275.6 kB / 0.6223 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/1.531, allocations: 1.006 MB / 0.6232 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004201/1.532, allocations: 15.98 kB / 0.6233 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009776/1.542, allocations: 4.923 MB / 0.6281 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001676/1.543, allocations: 1.407 MB / 0.6294 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.559, allocations: 5.568 MB / 0.6349 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.56, allocations: 368.9 kB / 0.6352 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.561, allocations: 15.98 kB / 0.6352 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/1.564, allocations: 123.7 kB / 0.6354 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/1.565, allocations: 96.56 kB / 0.6355 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.565, allocations: 40.61 kB / 0.6355 GB, free: 13.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005297/1.57, allocations: 1.984 MB / 0.6374 GB, free: 11.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.183e-06/1.571, allocations: 4 kB / 0.6374 GB, free: 11.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007729/1.578, allocations: 0.9573 MB / 0.6384 GB, free: 10.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (123): * Single equations (assignments): 116 * 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.01633/1.595, allocations: 6.556 MB / 0.6448 GB, free: 4.184 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2986/1.893, allocations: 5.444 MB / 0.6501 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.893, allocations: 1.094 kB / 0.6501 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007866/1.901, allocations: 2.194 MB / 0.6522 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/1.905, allocations: 322.5 kB / 0.6525 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/1.939, allocations: 9.233 MB / 0.6616 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/1.947, allocations: 3.338 MB / 0.6648 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01/1.957, allocations: 1.96 MB / 0.6667 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004943/1.962, allocations: 1.863 MB / 0.6686 GB, free: 104.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.962, allocations: 0 / 0.6686 GB, free: 104.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/2.138, allocations: 70.19 MB / 0.7371 GB, free: 74.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.139, allocations: 141.1 kB / 0.7372 GB, free: 74.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.624/6.763, allocations: 0 / 0.7372 GB, free: 74.41 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