Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 235.1 MB / 242.3 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.457e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.5749, allocations: 99.28 MB / 453.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5752, allocations: 75.97 kB / 453.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7059/1.281, allocations: 80.56 MB / 0.5218 GB, free: 43.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.281, allocations: 0 / 0.5218 GB, free: 43.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002598/1.281, allocations: 83.98 kB / 0.5219 GB, free: 43.1 MB / 394.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.02394/1.305, allocations: 4.276 MB / 0.5261 GB, free: 38.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.305, allocations: 12.03 kB / 0.5261 GB, free: 38.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/1.326, allocations: 2.268 MB / 0.5283 GB, free: 36.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/1.345, allocations: 4.762 MB / 0.533 GB, free: 31.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/1.346, allocations: 140 kB / 0.5331 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.348, allocations: 260 kB / 0.5333 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01615/1.364, allocations: 6.12 MB / 0.5393 GB, free: 25.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/1.388, allocations: 9.472 MB / 0.5486 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/1.389, allocations: 63.39 kB / 0.5486 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/1.391, allocations: 32 kB / 0.5487 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002507/1.393, allocations: 1.007 MB / 0.5496 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08309/1.476, allocations: 48.01 MB / 0.5965 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006294/1.483, allocations: 2.601 MB / 0.5991 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/1.487, allocations: 1.584 MB / 0.6006 GB, free: 7.469 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/1.489, allocations: 0.6516 MB / 0.6013 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/1.489, allocations: 51.28 kB / 0.6013 GB, free: 6.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.941e-06/1.489, allocations: 0 / 0.6013 GB, free: 6.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.04203/1.531, allocations: 10.28 MB / 0.6113 GB, free: 12.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.531, allocations: 145.3 kB / 0.6115 GB, free: 12.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007915/1.539, allocations: 3.006 MB / 0.6144 GB, free: 9.066 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004771/1.539, allocations: 25.7 kB / 0.6144 GB, free: 9.035 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004071/1.543, allocations: 3.21 MB / 0.6176 GB, free: 5.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.545, allocations: 0.6288 MB / 0.6182 GB, free: 5.141 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007136/1.546, allocations: 0 / 0.6182 GB, free: 5.141 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000631/1.546, allocations: 0.5742 MB / 0.6188 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006302/1.552, allocations: 2.043 MB / 0.6207 GB, free: 2.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3701/1.923, allocations: 5.896 MB / 0.6265 GB, free: 103.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.937, allocations: 3.44 MB / 0.6299 GB, free: 103.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004011/1.937, allocations: 40.75 kB / 0.6299 GB, free: 103.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.05222/1.989, allocations: 8.52 MB / 0.6382 GB, free: 103 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/1.99, allocations: 64.69 kB / 0.6383 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02334/2.013, allocations: 3.447 MB / 0.6417 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02042/2.033, allocations: 1.93 MB / 0.6435 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009774/2.043, allocations: 1.446 MB / 0.6449 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/2.056, allocations: 5.6 MB / 0.6504 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008178/2.065, allocations: 302.6 kB / 0.6507 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/2.066, allocations: 387.1 kB / 0.6511 GB, free: 100.3 MB / 458.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): 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.001494/2.068, allocations: 450.7 kB / 0.6515 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01048/2.078, allocations: 3.355 MB / 0.6548 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009557/2.079, allocations: 311.9 kB / 0.6551 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/2.09, allocations: 3.081 MB / 0.6581 GB, free: 99.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008533/2.098, allocations: 2.553 MB / 0.6606 GB, free: 99.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/2.098, allocations: 3.875 kB / 0.6606 GB, free: 99.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/2.098, allocations: 11.67 kB / 0.6606 GB, free: 99.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/2.123, allocations: 8.564 MB / 0.669 GB, free: 96.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/2.123, allocations: 8.641 kB / 0.669 GB, free: 96.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/2.126, allocations: 271.4 kB / 0.6692 GB, free: 96.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005738/2.132, allocations: 1.006 MB / 0.6702 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/2.132, allocations: 20.38 kB / 0.6702 GB, free: 96.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009004/2.141, allocations: 4.916 MB / 0.675 GB, free: 93.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001183/2.143, allocations: 1.415 MB / 0.6764 GB, free: 92.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/2.157, allocations: 5.575 MB / 0.6819 GB, free: 89.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/2.158, allocations: 362.8 kB / 0.6822 GB, free: 89.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/2.159, allocations: 15.3 kB / 0.6822 GB, free: 89.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/2.162, allocations: 126.5 kB / 0.6823 GB, free: 89.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/2.163, allocations: 103.6 kB / 0.6824 GB, free: 89.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/2.163, allocations: 45.47 kB / 0.6825 GB, free: 89.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004718/2.168, allocations: 1.982 MB / 0.6844 GB, free: 88.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.168, allocations: 0 / 0.6844 GB, free: 88.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008014/2.176, allocations: 0.9717 MB / 0.6854 GB, free: 87.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET5661442440.x[3],$STATESET5661442440.x[2],$STATESET5661442440.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.01396/2.19, allocations: 6.549 MB / 0.6918 GB, free: 82.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01484/2.205, allocations: 5.492 MB / 0.6971 GB, free: 77.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/2.205, allocations: 3.281 kB / 0.6971 GB, free: 77.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0071/2.212, allocations: 2.192 MB / 0.6993 GB, free: 75.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/2.215, allocations: 326.8 kB / 0.6996 GB, free: 74.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/2.245, allocations: 9.242 MB / 0.7086 GB, free: 66.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/2.251, allocations: 3.335 MB / 0.7119 GB, free: 64.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009174/2.26, allocations: 1.954 MB / 0.7138 GB, free: 63.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004144/2.264, allocations: 1.867 MB / 0.7156 GB, free: 61.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/2.264, allocations: 0 / 0.7156 GB, free: 61.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/2.459, allocations: 72.02 MB / 0.7859 GB, free: 7.215 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000361/2.459, allocations: 140.6 kB / 0.7861 GB, free: 7.023 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.049/7.508, allocations: 0 / 0.7861 GB, free: 7.023 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat