Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.879e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3963, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5787, allocations: 99.29 MB / 453.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.579, allocations: 75.97 kB / 453.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6418/1.221, allocations: 80.56 MB / 0.5217 GB, free: 99.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.221, allocations: 0 / 0.5217 GB, free: 99.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002224/1.221, allocations: 85.22 kB / 0.5218 GB, free: 99.73 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.02271/1.244, allocations: 4.271 MB / 0.526 GB, free: 97.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.244, allocations: 7.125 kB / 0.526 GB, free: 97.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01808/1.262, allocations: 2.27 MB / 0.5282 GB, free: 96.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.281, allocations: 4.771 MB / 0.5329 GB, free: 93.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/1.281, allocations: 141.4 kB / 0.533 GB, free: 93.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/1.283, allocations: 256 kB / 0.5332 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0151/1.298, allocations: 6.116 MB / 0.5392 GB, free: 87.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/1.323, allocations: 9.481 MB / 0.5485 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/1.323, allocations: 59.45 kB / 0.5485 GB, free: 76.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/1.325, allocations: 32 kB / 0.5486 GB, free: 76.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002168/1.327, allocations: 1.018 MB / 0.5496 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06632/1.393, allocations: 47.99 MB / 0.5964 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/1.398, allocations: 2.609 MB / 0.599 GB, free: 23.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/1.401, allocations: 1.584 MB / 0.6005 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.403, allocations: 0.6495 MB / 0.6012 GB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.403, allocations: 55.23 kB / 0.6012 GB, free: 21.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 6.192e-06/1.403, allocations: 0 / 0.6012 GB, free: 21.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.04034/1.443, allocations: 10.27 MB / 0.6112 GB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.443, allocations: 149.2 kB / 0.6114 GB, free: 10.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/1.45, allocations: 2.995 MB / 0.6143 GB, free: 7.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005266/1.451, allocations: 33.7 kB / 0.6143 GB, free: 7.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.454, allocations: 3.213 MB / 0.6175 GB, free: 4.164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.455, allocations: 0.6211 MB / 0.6181 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008376/1.456, allocations: 0 / 0.6181 GB, free: 3.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000526/1.456, allocations: 0.5664 MB / 0.6186 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/1.461, allocations: 2.046 MB / 0.6206 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009711/1.471, allocations: 5.897 MB / 0.6264 GB, free: 9.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/1.48, allocations: 3.44 MB / 0.6298 GB, free: 5.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.48, allocations: 44 kB / 0.6298 GB, free: 5.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.03518/1.515, allocations: 8.528 MB / 0.6381 GB, free: 13.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.515, allocations: 64 kB / 0.6382 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01867/1.534, allocations: 3.446 MB / 0.6415 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/1.552, allocations: 1.938 MB / 0.6434 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009069/1.561, allocations: 1.439 MB / 0.6448 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/1.575, allocations: 5.597 MB / 0.6503 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007545/1.582, allocations: 299.3 kB / 0.6506 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.584, allocations: 395.9 kB / 0.651 GB, free: 15.6 MB / 474.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.002121/1.586, allocations: 452.6 kB / 0.6514 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01189/1.598, allocations: 3.356 MB / 0.6547 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.599, allocations: 308 kB / 0.655 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.611, allocations: 3.086 MB / 0.658 GB, free: 8.355 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009122/1.62, allocations: 2.553 MB / 0.6605 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/1.62, allocations: 7.938 kB / 0.6605 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/1.62, allocations: 11.97 kB / 0.6605 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3646/1.985, allocations: 8.568 MB / 0.6689 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/1.985, allocations: 1.25 kB / 0.6689 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.987, allocations: 271 kB / 0.6691 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/1.993, allocations: 1.009 MB / 0.6701 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004856/1.993, allocations: 19.25 kB / 0.6701 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008961/2.002, allocations: 4.912 MB / 0.6749 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/2.004, allocations: 1.415 MB / 0.6763 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/2.018, allocations: 5.567 MB / 0.6818 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/2.019, allocations: 370.7 kB / 0.6821 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/2.021, allocations: 14.33 kB / 0.6821 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/2.024, allocations: 126.1 kB / 0.6822 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/2.025, allocations: 91.81 kB / 0.6823 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/2.025, allocations: 47.77 kB / 0.6824 GB, free: 123.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005098/2.03, allocations: 1.984 MB / 0.6843 GB, free: 123.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.92e-07/2.03, allocations: 0 / 0.6843 GB, free: 123.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008014/2.038, allocations: 0.9679 MB / 0.6853 GB, free: 123.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET4811522440.x[3],$STATESET4811522440.x[2],$STATESET4811522440.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.01477/2.053, allocations: 6.541 MB / 0.6916 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01482/2.068, allocations: 5.494 MB / 0.697 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/2.068, allocations: 2.875 kB / 0.697 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00705/2.075, allocations: 2.202 MB / 0.6992 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/2.078, allocations: 325.9 kB / 0.6995 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/2.11, allocations: 9.231 MB / 0.7085 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007206/2.117, allocations: 3.337 MB / 0.7117 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00902/2.126, allocations: 1.955 MB / 0.7137 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004497/2.131, allocations: 1.866 MB / 0.7155 GB, free: 112.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/2.131, allocations: 0 / 0.7155 GB, free: 112.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2015/2.333, allocations: 72.02 MB / 0.7858 GB, free: 48.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/2.333, allocations: 139.1 kB / 0.7859 GB, free: 48.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.387/7.72, allocations: 3.938 kB / 0.7859 GB, free: 48.02 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat