Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.835e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3075, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4674, allocations: 89.62 MB / 383.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.4678, allocations: 83.95 kB / 383.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6162/1.084, allocations: 89.76 MB / 473.7 MB, free: 74.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.084, allocations: 0 / 473.7 MB, free: 74.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002536/1.084, allocations: 88 kB / 473.8 MB, free: 74.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.02384/1.108, allocations: 4.623 MB / 478.4 MB, free: 69.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.882e-05/1.108, allocations: 12.03 kB / 478.4 MB, free: 69.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02126/1.129, allocations: 2.677 MB / 481.1 MB, free: 67.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/1.149, allocations: 5.54 MB / 486.6 MB, free: 61.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/1.149, allocations: 148 kB / 486.8 MB, free: 61.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/1.152, allocations: 279.9 kB / 487 MB, free: 61.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0159/1.167, allocations: 6.722 MB / 493.8 MB, free: 54.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/1.192, allocations: 10.19 MB / 0.4921 GB, free: 43.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/1.192, allocations: 63.41 kB / 0.4922 GB, free: 43.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/1.194, allocations: 32 kB / 0.4922 GB, free: 43.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/1.197, allocations: 1.19 MB / 0.4934 GB, free: 41.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07673/1.274, allocations: 51.93 MB / 0.5441 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005657/1.279, allocations: 2.646 MB / 0.5467 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/1.283, allocations: 1.448 MB / 0.5481 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009612/1.284, allocations: 0.565 MB / 0.5487 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.284, allocations: 55.88 kB / 0.5487 GB, free: 15.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=168): time 5.53e-06/1.284, allocations: 0 / 0.5487 GB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=185): time 0.04919/1.333, allocations: 12.19 MB / 0.5606 GB, free: 3.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/1.333, allocations: 149.8 kB / 0.5608 GB, free: 3.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2775/1.611, allocations: 3.193 MB / 0.5639 GB, free: 99.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004873/1.611, allocations: 30.64 kB / 0.5639 GB, free: 99.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003434/1.615, allocations: 3.426 MB / 0.5673 GB, free: 97.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.616, allocations: 0.7209 MB / 0.568 GB, free: 97.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007139/1.617, allocations: 0 / 0.568 GB, free: 97.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004544/1.617, allocations: 0.5928 MB / 0.5685 GB, free: 97.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005186/1.622, allocations: 2.004 MB / 0.5705 GB, free: 97.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008578/1.631, allocations: 6.176 MB / 0.5765 GB, free: 91.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007764/1.639, allocations: 3.47 MB / 0.5799 GB, free: 91.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002592/1.639, allocations: 47.34 kB / 0.58 GB, free: 91.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02455/1.664, allocations: 7.98 MB / 0.5878 GB, free: 90.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.664, allocations: 67.69 kB / 0.5878 GB, free: 90.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008307/1.672, allocations: 2.581 MB / 0.5903 GB, free: 90.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005631/1.678, allocations: 1.074 MB / 0.5914 GB, free: 90.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009778/1.688, allocations: 1.625 MB / 0.593 GB, free: 90.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.694, allocations: 4.228 MB / 0.5971 GB, free: 87.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008687/1.702, allocations: 392.4 kB / 0.5975 GB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/1.704, allocations: 416.7 kB / 0.5979 GB, free: 87.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 840 * 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.001835/1.706, allocations: 495.7 kB / 0.5983 GB, free: 87.34 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009842/1.716, allocations: 3.28 MB / 0.6016 GB, free: 86.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.717, allocations: 340.1 kB / 0.6019 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/1.726, allocations: 2.92 MB / 0.6047 GB, free: 85.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007925/1.734, allocations: 2.459 MB / 0.6071 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/1.734, allocations: 3.562 kB / 0.6071 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-05/1.734, allocations: 10.88 kB / 0.6071 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.76, allocations: 9.075 MB / 0.616 GB, free: 80.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.76, allocations: 15.47 kB / 0.616 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.763, allocations: 335.4 kB / 0.6163 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/1.768, allocations: 0.9601 MB / 0.6173 GB, free: 80.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/1.769, allocations: 29.08 kB / 0.6173 GB, free: 80.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006664/1.775, allocations: 4.477 MB / 0.6217 GB, free: 77.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001/1.776, allocations: 1.423 MB / 0.6231 GB, free: 75.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.789, allocations: 6.614 MB / 0.6295 GB, free: 69.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.791, allocations: 0.6178 MB / 0.6301 GB, free: 68.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.792, allocations: 26.59 kB / 0.6302 GB, free: 68.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.796, allocations: 143.3 kB / 0.6303 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005032/1.796, allocations: 153.7 kB / 0.6304 GB, free: 68.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.797, allocations: 59.8 kB / 0.6305 GB, free: 68.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004349/1.801, allocations: 2.106 MB / 0.6326 GB, free: 66.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.801, allocations: 0 / 0.6326 GB, free: 66.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008293/1.809, allocations: 0.9833 MB / 0.6335 GB, free: 65.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET7221862792.x[3],$STATESET7221862792.x[2],$STATESET7221862792.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 (161): * Single equations (assignments): 154 * 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.01425/1.824, allocations: 9.823 MB / 0.6431 GB, free: 56.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/1.837, allocations: 5.344 MB / 0.6483 GB, free: 51.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.837, allocations: 2.438 kB / 0.6483 GB, free: 51.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005736/1.842, allocations: 2.044 MB / 0.6503 GB, free: 49.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.845, allocations: 357.3 kB / 0.6507 GB, free: 49.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/1.875, allocations: 9.852 MB / 0.6603 GB, free: 40.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005156/1.88, allocations: 3.479 MB / 0.6637 GB, free: 38.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008663/1.888, allocations: 2.058 MB / 0.6657 GB, free: 36.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00389/1.892, allocations: 2.021 MB / 0.6677 GB, free: 34.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/1.892, allocations: 0 / 0.6677 GB, free: 34.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/2.407, allocations: 74.6 MB / 0.7405 GB, free: 93.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/2.408, allocations: 159.3 kB / 0.7407 GB, free: 93.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/7.792, allocations: 0 / 0.7407 GB, free: 93.23 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat