Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.709/1.709, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.972e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 38.76 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.4441, allocations: 79.42 MB / 343.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4445, allocations: 79.95 kB / 343.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.439/0.8835, allocations: 56.44 MB / 399.8 MB, free: 73.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.8835, allocations: 0 / 399.8 MB, free: 73.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9e-05/0.8836, allocations: 48 kB / 399.9 MB, free: 73.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01611/0.8997, allocations: 2.904 MB / 402.8 MB, free: 70.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.8998, allocations: 8.031 kB / 402.8 MB, free: 70.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001613/0.9015, allocations: 0.5006 MB / 403.3 MB, free: 69.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.9236, allocations: 2.04 MB / 405.3 MB, free: 67.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.9421, allocations: 3.583 MB / 408.9 MB, free: 64.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.9424, allocations: 194 kB / 409.1 MB, free: 64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.9435, allocations: 254.2 kB / 409.3 MB, free: 63.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.9639, allocations: 6.789 MB / 416.1 MB, free: 56.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.9641, allocations: 39.62 kB / 416.2 MB, free: 56.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007371/0.9648, allocations: 124.4 kB / 416.3 MB, free: 56.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002006/0.9669, allocations: 0.7107 MB / 417 MB, free: 55.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.9847, allocations: 5.7 MB / 422.7 MB, free: 49.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05767/1.042, allocations: 32.26 MB / 455 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.053, allocations: 2.501 MB / 457.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/1.056, allocations: 0.9931 MB / 458.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008189/1.064, allocations: 3.548 MB / 462 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.064, allocations: 46.94 kB / 462 MB, free: 8.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.968e-06/1.064, allocations: 4 kB / 462.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.03577/1.1, allocations: 8.68 MB / 470.7 MB, free: 148 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001739/1.101, allocations: 1.58 MB / 472.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/1.107, allocations: 2.395 MB / 474.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003511/1.107, allocations: 41.69 kB / 474.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.11, allocations: 2.052 MB / 476.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009181/1.111, allocations: 497.9 kB / 477.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/1.111, allocations: 88 kB / 477.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004051/1.112, allocations: 499.8 kB / 477.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.116, allocations: 1.547 MB / 479.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00721/1.123, allocations: 4.271 MB / 483.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/1.13, allocations: 2.572 MB / 486.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.802e-05/1.13, allocations: 28 kB / 486.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02228/1.152, allocations: 6.477 MB / 492.8 MB, free: 8.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/1.152, allocations: 48 kB / 492.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01027/1.162, allocations: 2.406 MB / 495.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00867/1.171, allocations: 1.426 MB / 496.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006368/1.177, allocations: 1.018 MB / 497.7 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/1.421, allocations: 6.879 MB / 0.4927 GB, free: 90.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.427, allocations: 360.9 kB / 0.493 GB, free: 90.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008561/1.427, allocations: 277.7 kB / 0.4933 GB, free: 90.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009369/1.428, allocations: 449.1 kB / 0.4937 GB, free: 90.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005543/1.429, allocations: 227.4 kB / 0.494 GB, free: 90.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.44, allocations: 2.789 MB / 0.4967 GB, free: 90.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01004/1.45, allocations: 2.452 MB / 0.4991 GB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.45, allocations: 3.969 kB / 0.4991 GB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/1.45, allocations: 9.875 kB / 0.4991 GB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.471, allocations: 6.712 MB / 0.5056 GB, free: 89.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.471, allocations: 0 / 0.5056 GB, free: 89.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.472, allocations: 166 kB / 0.5058 GB, free: 89.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008384/1.481, allocations: 1.428 MB / 0.5072 GB, free: 89.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/1.481, allocations: 32.59 kB / 0.5072 GB, free: 89.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.495, allocations: 7.438 MB / 0.5145 GB, free: 85.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00104/1.496, allocations: 1.447 MB / 0.5159 GB, free: 83.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.51, allocations: 4.797 MB / 0.5206 GB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/1.511, allocations: 297.2 kB / 0.5209 GB, free: 81.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/1.511, allocations: 23.03 kB / 0.5209 GB, free: 81.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.513, allocations: 126.2 kB / 0.521 GB, free: 81.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.514, allocations: 78.2 kB / 0.5211 GB, free: 81.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.514, allocations: 38.75 kB / 0.5211 GB, free: 81.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003173/1.517, allocations: 1.645 MB / 0.5227 GB, free: 81.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.517, allocations: 0 / 0.5227 GB, free: 81.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004785/1.522, allocations: 0.7533 MB / 0.5235 GB, free: 81.04 MB / 346.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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/1.535, allocations: 5.621 MB / 0.529 GB, free: 78.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009541/1.545, allocations: 3.924 MB / 0.5328 GB, free: 74.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.545, allocations: 0 / 0.5328 GB, free: 74.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004931/1.55, allocations: 1.647 MB / 0.5344 GB, free: 73.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.552, allocations: 236 kB / 0.5346 GB, free: 73.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.569, allocations: 6.298 MB / 0.5408 GB, free: 68.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/1.571, allocations: 2.325 MB / 0.543 GB, free: 66.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005519/1.577, allocations: 1.388 MB / 0.5444 GB, free: 65.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/1.579, allocations: 1.084 MB / 0.5455 GB, free: 64.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.452e-06/1.579, allocations: 0 / 0.5455 GB, free: 64.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/1.694, allocations: 53.29 MB / 0.5975 GB, free: 11.37 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/1.694, allocations: 191.8 kB / 0.5977 GB, free: 11.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.088/5.782, allocations: 0 / 0.5977 GB, free: 11.15 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat