Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.229e-05, allocations: 2.812 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.5808, allocations: 95.71 MB / 438.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5812, allocations: 85.89 kB / 439 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3316/0.9128, allocations: 74.52 MB / 0.5015 GB, free: 7.902 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.9129, allocations: 0 / 0.5015 GB, free: 7.902 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003288/0.9132, allocations: 75.94 kB / 0.5015 GB, free: 7.828 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.05836/0.9716, allocations: 3.862 MB / 0.5053 GB, free: 3.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.9717, allocations: 12.02 kB / 0.5053 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004544/0.9763, allocations: 0.6797 MB / 0.506 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.9963, allocations: 2.155 MB / 0.5081 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02049/1.017, allocations: 4.323 MB / 0.5123 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/1.017, allocations: 287.4 kB / 0.5126 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.02, allocations: 379.8 kB / 0.5129 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/1.051, allocations: 9.211 MB / 0.5219 GB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003169/1.051, allocations: 55.45 kB / 0.522 GB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.053, allocations: 183.9 kB / 0.5222 GB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/1.056, allocations: 0.9077 MB / 0.523 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3305/1.387, allocations: 7.285 MB / 0.5302 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06951/1.456, allocations: 43.89 MB / 0.573 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.471, allocations: 3.406 MB / 0.5763 GB, free: 75.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/1.474, allocations: 1.421 MB / 0.5777 GB, free: 74.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/1.49, allocations: 6.861 MB / 0.5844 GB, free: 70.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.49, allocations: 43.16 kB / 0.5845 GB, free: 70.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.691e-06/1.49, allocations: 2.719 kB / 0.5845 GB, free: 70.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.03994/1.53, allocations: 9.277 MB / 0.5935 GB, free: 67.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001437/1.531, allocations: 1.606 MB / 0.5951 GB, free: 65.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008229/1.539, allocations: 3.122 MB / 0.5982 GB, free: 64.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004208/1.54, allocations: 44.42 kB / 0.5982 GB, free: 64.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002616/1.543, allocations: 2.807 MB / 0.6009 GB, free: 62.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.544, allocations: 0.5703 MB / 0.6015 GB, free: 61.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008532/1.545, allocations: 105.5 kB / 0.6016 GB, free: 61.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005087/1.545, allocations: 0.5378 MB / 0.6021 GB, free: 61.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/1.55, allocations: 1.853 MB / 0.6039 GB, free: 60.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00722/1.557, allocations: 5.249 MB / 0.6091 GB, free: 55.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/1.564, allocations: 3.103 MB / 0.6121 GB, free: 54.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/1.565, allocations: 36.72 kB / 0.6121 GB, free: 54.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.03176/1.596, allocations: 8.033 MB / 0.62 GB, free: 51.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.597, allocations: 55.81 kB / 0.62 GB, free: 51.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01728/1.614, allocations: 3.126 MB / 0.6231 GB, free: 50.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01704/1.631, allocations: 1.944 MB / 0.625 GB, free: 49.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007601/1.639, allocations: 1.253 MB / 0.6262 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.651, allocations: 5.679 MB / 0.6317 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007166/1.658, allocations: 376.8 kB / 0.6321 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.66, allocations: 341.3 kB / 0.6324 GB, free: 42.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (674): * Single equations (assignments): 665 * 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.002214/1.662, allocations: 0.5291 MB / 0.6329 GB, free: 42.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008833/1.663, allocations: 300.1 kB / 0.6332 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/1.672, allocations: 2.735 MB / 0.6359 GB, free: 39.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008006/1.68, allocations: 2.317 MB / 0.6382 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.681, allocations: 4 kB / 0.6382 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/1.681, allocations: 7.688 kB / 0.6382 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.706, allocations: 7.82 MB / 0.6458 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.706, allocations: 4 kB / 0.6458 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.708, allocations: 220.1 kB / 0.646 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/1.714, allocations: 1.039 MB / 0.647 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004344/1.714, allocations: 34.75 kB / 0.6471 GB, free: 30.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008271/1.723, allocations: 4.975 MB / 0.6519 GB, free: 25.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001268/1.724, allocations: 1.462 MB / 0.6534 GB, free: 24.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.737, allocations: 5.046 MB / 0.6583 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.739, allocations: 365 kB / 0.6586 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.74, allocations: 31.98 kB / 0.6587 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003531/1.744, allocations: 123.8 kB / 0.6588 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/1.744, allocations: 81.89 kB / 0.6589 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.744, allocations: 39.98 kB / 0.6589 GB, free: 19.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006167/1.751, allocations: 2.151 MB / 0.661 GB, free: 17.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.751, allocations: 4 kB / 0.661 GB, free: 17.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007636/1.758, allocations: 0.965 MB / 0.6619 GB, free: 16.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (105): * Single equations (assignments): 98 * 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.01426/1.773, allocations: 6.044 MB / 0.6678 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01403/1.787, allocations: 4.895 MB / 0.6726 GB, free: 5.113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.787, allocations: 3.938 kB / 0.6726 GB, free: 5.109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006813/1.794, allocations: 1.973 MB / 0.6746 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.797, allocations: 370.2 kB / 0.6749 GB, free: 2.723 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/1.828, allocations: 8.173 MB / 0.6829 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007737/1.836, allocations: 2.98 MB / 0.6858 GB, free: 7.531 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009084/1.845, allocations: 1.703 MB / 0.6875 GB, free: 5.836 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004762/1.85, allocations: 1.612 MB / 0.689 GB, free: 4.223 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/1.85, allocations: 0 / 0.689 GB, free: 4.223 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5208/2.371, allocations: 69.39 MB / 0.7568 GB, free: 96.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/2.371, allocations: 193.5 kB / 0.757 GB, free: 96.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.331/7.702, allocations: 0 / 0.757 GB, free: 96.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat