Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.392e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09835, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.6374, allocations: 97.18 MB / 414.2 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/0.6379, allocations: 87.08 kB / 414.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4786/1.117, allocations: 93.94 MB / 0.4963 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.117, allocations: 0 / 0.4963 GB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003044/1.117, allocations: 91.94 kB / 0.4964 GB, free: 15.61 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02567/1.143, allocations: 4.715 MB / 0.501 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.143, allocations: 8.031 kB / 0.501 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003735/1.146, allocations: 0.8528 MB / 0.5019 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02241/1.169, allocations: 2.7 MB / 0.5045 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02204/1.191, allocations: 5.598 MB / 0.51 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/1.192, allocations: 357.5 kB / 0.5103 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/1.194, allocations: 487.7 kB / 0.5108 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3223/1.517, allocations: 12.45 MB / 0.5229 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/1.517, allocations: 70.19 kB / 0.523 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/1.518, allocations: 232 kB / 0.5232 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/1.521, allocations: 1.203 MB / 0.5244 GB, free: 91.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/1.554, allocations: 9.941 MB / 0.5341 GB, free: 91.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07412/1.628, allocations: 52.93 MB / 0.5858 GB, free: 55.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02218/1.65, allocations: 4.485 MB / 0.5902 GB, free: 54.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005471/1.656, allocations: 1.659 MB / 0.5918 GB, free: 53.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02693/1.683, allocations: 8.291 MB / 0.5999 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/1.683, allocations: 49.03 kB / 0.5999 GB, free: 48.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 8.556e-06/1.683, allocations: 0 / 0.5999 GB, free: 48.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=205): time 0.05951/1.742, allocations: 13.78 MB / 0.6134 GB, free: 43.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00126/1.744, allocations: 1.603 MB / 0.6149 GB, free: 42.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007816/1.751, allocations: 3.705 MB / 0.6186 GB, free: 39.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004961/1.752, allocations: 49.7 kB / 0.6186 GB, free: 39.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002739/1.755, allocations: 3.417 MB / 0.6219 GB, free: 36.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.756, allocations: 0.8062 MB / 0.6227 GB, free: 36.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/1.757, allocations: 132.9 kB / 0.6229 GB, free: 35.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004284/1.757, allocations: 0.5846 MB / 0.6234 GB, free: 35.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/1.762, allocations: 2.136 MB / 0.6255 GB, free: 33.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006879/1.769, allocations: 6.176 MB / 0.6315 GB, free: 25.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007772/1.777, allocations: 3.603 MB / 0.6351 GB, free: 22.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.777, allocations: 44 kB / 0.6351 GB, free: 22.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02493/1.802, allocations: 8.46 MB / 0.6434 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.802, allocations: 70.03 kB / 0.6434 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008701/1.811, allocations: 2.791 MB / 0.6462 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006744/1.817, allocations: 1.086 MB / 0.6472 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/1.832, allocations: 1.591 MB / 0.6488 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009516/1.842, allocations: 4.38 MB / 0.6531 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/1.856, allocations: 0.4986 MB / 0.6535 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00196/1.858, allocations: 410.8 kB / 0.6539 GB, free: 5.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (845): * Single equations (assignments): 836 * 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.001968/1.86, allocations: 0.6215 MB / 0.6545 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.861, allocations: 375.1 kB / 0.6549 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.875, allocations: 3.239 MB / 0.6581 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008464/1.883, allocations: 2.684 MB / 0.6607 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/1.883, allocations: 4 kB / 0.6607 GB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-05/1.883, allocations: 11.58 kB / 0.6607 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03339/1.917, allocations: 10.28 MB / 0.6707 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/1.917, allocations: 20.95 kB / 0.6707 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/1.92, allocations: 363.5 kB / 0.6711 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/1.926, allocations: 0.9824 MB / 0.6721 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005047/1.926, allocations: 62.31 kB / 0.6721 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008186/1.934, allocations: 4.6 MB / 0.6766 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3035/2.238, allocations: 1.453 MB / 0.678 GB, free: 96.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/2.254, allocations: 7.458 MB / 0.6853 GB, free: 93.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/2.257, allocations: 0.6609 MB / 0.686 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/2.258, allocations: 61.17 kB / 0.686 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004182/2.262, allocations: 180.9 kB / 0.6862 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007641/2.263, allocations: 171.3 kB / 0.6863 GB, free: 93.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/2.264, allocations: 80.05 kB / 0.6864 GB, free: 93.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007756/2.271, allocations: 2.533 MB / 0.6889 GB, free: 93.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.271, allocations: 2.25 kB / 0.6889 GB, free: 93.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008981/2.28, allocations: 1.152 MB / 0.69 GB, free: 93.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 172 * 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.01801/2.298, allocations: 11.36 MB / 0.7011 GB, free: 86.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01875/2.317, allocations: 5.504 MB / 0.7065 GB, free: 86.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/2.317, allocations: 7.406 kB / 0.7065 GB, free: 86.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008425/2.326, allocations: 2.125 MB / 0.7086 GB, free: 86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/2.331, allocations: 463.7 kB / 0.709 GB, free: 85.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/2.373, allocations: 10.39 MB / 0.7192 GB, free: 83.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007072/2.38, allocations: 3.555 MB / 0.7226 GB, free: 82.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009266/2.389, allocations: 2.028 MB / 0.7246 GB, free: 82.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004945/2.394, allocations: 2.084 MB / 0.7267 GB, free: 82.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/2.394, allocations: 0 / 0.7267 GB, free: 82.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/2.572, allocations: 81.84 MB / 0.8066 GB, free: 31.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/2.573, allocations: 204.5 kB / 0.8068 GB, free: 31.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.887/8.46, allocations: 0 / 0.8068 GB, free: 31.34 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat