Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.288e-05, allocations: 8 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 38.76 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.4575, allocations: 84.65 MB / 348.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004761/0.458, allocations: 87.95 kB / 348.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6796/1.138, allocations: 91.61 MB / 440.2 MB, free: 33.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.138, allocations: 0 / 440.2 MB, free: 33.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002328/1.138, allocations: 91.94 kB / 440.3 MB, free: 33.3 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.0229/1.161, allocations: 4.625 MB / 444.9 MB, free: 28.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.161, allocations: 8.031 kB / 444.9 MB, free: 28.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002853/1.164, allocations: 0.8322 MB / 445.8 MB, free: 27.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.185, allocations: 2.674 MB / 448.4 MB, free: 25.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.211, allocations: 5.536 MB / 454 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006095/1.212, allocations: 353.2 kB / 454.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00316/1.215, allocations: 471.8 kB / 454.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/1.26, allocations: 12.22 MB / 467 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/1.26, allocations: 67.34 kB / 467.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/1.261, allocations: 227.9 kB / 467.3 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/1.264, allocations: 1.175 MB / 468.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03332/1.297, allocations: 9.721 MB / 478.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3322/1.629, allocations: 52.33 MB / 0.5181 GB, free: 37.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/1.647, allocations: 4.016 MB / 0.522 GB, free: 36.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/1.65, allocations: 1.602 MB / 0.5236 GB, free: 36.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01708/1.668, allocations: 7.405 MB / 0.5308 GB, free: 34.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.668, allocations: 51.66 kB / 0.5308 GB, free: 34.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 6.803e-06/1.668, allocations: 3.797 kB / 0.5309 GB, free: 34.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.0653/1.733, allocations: 13.81 MB / 0.5443 GB, free: 31.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001336/1.734, allocations: 1.595 MB / 0.5459 GB, free: 29.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008712/1.743, allocations: 3.661 MB / 0.5495 GB, free: 29.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005054/1.744, allocations: 53.98 kB / 0.5495 GB, free: 29.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003216/1.747, allocations: 3.377 MB / 0.5528 GB, free: 26.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.748, allocations: 0.7512 MB / 0.5536 GB, free: 26.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000966/1.749, allocations: 133.7 kB / 0.5537 GB, free: 26.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005832/1.75, allocations: 0.5839 MB / 0.5543 GB, free: 25.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/1.756, allocations: 2.095 MB / 0.5563 GB, free: 24.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008397/1.764, allocations: 6.105 MB / 0.5623 GB, free: 18.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008331/1.772, allocations: 3.533 MB / 0.5657 GB, free: 17.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/1.773, allocations: 44.25 kB / 0.5658 GB, free: 17.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.03775/1.811, allocations: 8.257 MB / 0.5738 GB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000168/1.811, allocations: 70.72 kB / 0.5739 GB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01284/1.824, allocations: 2.612 MB / 0.5764 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007751/1.831, allocations: 1.004 MB / 0.5774 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01548/1.847, allocations: 1.588 MB / 0.579 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008087/1.855, allocations: 4.008 MB / 0.5829 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/1.869, allocations: 0.5064 MB / 0.5834 GB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002121/1.871, allocations: 407.3 kB / 0.5838 GB, free: 5.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (828): * Single equations (assignments): 819 * 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 {1} * 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.003095/1.875, allocations: 0.6249 MB / 0.5844 GB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/1.876, allocations: 367.2 kB / 0.5847 GB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.892, allocations: 3.13 MB / 0.5878 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01671/1.909, allocations: 2.63 MB / 0.5904 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/1.909, allocations: 7.891 kB / 0.5904 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/1.909, allocations: 10.33 kB / 0.5904 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04827/1.957, allocations: 9.916 MB / 0.6001 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.747e-05/1.958, allocations: 20.06 kB / 0.6001 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004097/1.962, allocations: 343.7 kB / 0.6004 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007588/1.969, allocations: 0.9776 MB / 0.6014 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006315/1.97, allocations: 59.36 kB / 0.6014 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.981, allocations: 4.586 MB / 0.6059 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001986/1.983, allocations: 1.467 MB / 0.6073 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.006, allocations: 7.142 MB / 0.6143 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/2.01, allocations: 0.6483 MB / 0.6149 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/2.012, allocations: 64.7 kB / 0.615 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005861/2.018, allocations: 176.9 kB / 0.6152 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.019, allocations: 148.4 kB / 0.6153 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007139/2.02, allocations: 75.17 kB / 0.6154 GB, free: 8.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01085/2.03, allocations: 2.521 MB / 0.6178 GB, free: 6.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.212e-06/2.031, allocations: 0 / 0.6178 GB, free: 6.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01347/2.044, allocations: 1.111 MB / 0.6189 GB, free: 5.301 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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 (164): * Single equations (assignments): 157 * 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.02636/2.07, allocations: 10.76 MB / 0.6294 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03168/2.102, allocations: 5.269 MB / 0.6346 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.727e-05/2.102, allocations: 8 kB / 0.6346 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/2.113, allocations: 2.08 MB / 0.6366 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/2.119, allocations: 446.8 kB / 0.637 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2859/2.405, allocations: 10.14 MB / 0.6469 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00759/2.413, allocations: 3.5 MB / 0.6504 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01163/2.424, allocations: 2.001 MB / 0.6523 GB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004709/2.429, allocations: 2.038 MB / 0.6543 GB, free: 113.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.634e-06/2.429, allocations: 1.938 kB / 0.6543 GB, free: 113.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/2.606, allocations: 79.48 MB / 0.7319 GB, free: 62.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/2.606, allocations: 196.1 kB / 0.7321 GB, free: 62.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.459/8.065, allocations: 3.938 kB / 0.7321 GB, free: 62.25 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat