Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.264/2.264, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.307e-05, allocations: 7.797 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 50.42 MB / 342.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5703, allocations: 98.96 MB / 441.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5707, allocations: 90.12 kB / 441.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4414/1.012, allocations: 95.02 MB / 0.5241 GB, free: 40 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.012, allocations: 0 / 0.5241 GB, free: 40 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.3229/1.335, allocations: 84.45 kB / 0.5242 GB, free: 98.39 MB / 442.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.02671/1.362, allocations: 4.698 MB / 0.5288 GB, free: 97.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.362, allocations: 13.09 kB / 0.5288 GB, free: 97.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004202/1.366, allocations: 0.858 MB / 0.5297 GB, free: 97.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02289/1.389, allocations: 2.693 MB / 0.5323 GB, free: 97.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/1.411, allocations: 5.31 MB / 0.5375 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006571/1.412, allocations: 358.8 kB / 0.5378 GB, free: 96.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002777/1.414, allocations: 478.3 kB / 0.5383 GB, free: 96.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04011/1.455, allocations: 12.47 MB / 0.5505 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003518/1.455, allocations: 72.28 kB / 0.5505 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/1.457, allocations: 234 kB / 0.5507 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/1.46, allocations: 1.206 MB / 0.5519 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/1.493, allocations: 9.934 MB / 0.5616 GB, free: 93.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07303/1.566, allocations: 52.88 MB / 0.6133 GB, free: 55.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/1.584, allocations: 4.496 MB / 0.6177 GB, free: 53.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/1.588, allocations: 1.66 MB / 0.6193 GB, free: 52.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01793/1.606, allocations: 8.251 MB / 0.6273 GB, free: 48.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.606, allocations: 58.73 kB / 0.6274 GB, free: 48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 6.662e-06/1.606, allocations: 3.156 kB / 0.6274 GB, free: 48 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.0541/1.66, allocations: 13.67 MB / 0.6407 GB, free: 36.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001218/1.661, allocations: 1.598 MB / 0.6423 GB, free: 35.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/1.668, allocations: 3.663 MB / 0.6459 GB, free: 31.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004577/1.669, allocations: 57.61 kB / 0.6459 GB, free: 31.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.671, allocations: 3.401 MB / 0.6493 GB, free: 28.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.672, allocations: 0.8163 MB / 0.6501 GB, free: 28.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005277/1.673, allocations: 132 kB / 0.6502 GB, free: 28.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003716/1.673, allocations: 0.5854 MB / 0.6508 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/1.678, allocations: 2.14 MB / 0.6528 GB, free: 25.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007023/1.685, allocations: 6.176 MB / 0.6589 GB, free: 17.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007325/1.692, allocations: 3.593 MB / 0.6624 GB, free: 14.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.552e-05/1.692, allocations: 40 kB / 0.6624 GB, free: 14.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02384/1.716, allocations: 8.468 MB / 0.6707 GB, free: 7.301 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/1.716, allocations: 68 kB / 0.6708 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008497/1.725, allocations: 2.783 MB / 0.6735 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/1.73, allocations: 1.079 MB / 0.6745 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00957/1.74, allocations: 1.6 MB / 0.6761 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/1.747, allocations: 4.386 MB / 0.6804 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008555/1.755, allocations: 499.4 kB / 0.6808 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.757, allocations: 420 kB / 0.6812 GB, free: 13.18 MB / 458.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.001376/1.758, allocations: 0.6292 MB / 0.6819 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.759, allocations: 375.1 kB / 0.6822 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.77, allocations: 3.235 MB / 0.6854 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009025/1.779, allocations: 2.683 MB / 0.688 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.779, allocations: 7.953 kB / 0.688 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/1.779, allocations: 7.969 kB / 0.688 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/2.113, allocations: 10.27 MB / 0.698 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/2.113, allocations: 14.25 kB / 0.6981 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/2.116, allocations: 369 kB / 0.6984 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005673/2.122, allocations: 0.9719 MB / 0.6994 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005178/2.123, allocations: 65.41 kB / 0.6994 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008071/2.131, allocations: 4.603 MB / 0.7039 GB, free: 97.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001145/2.132, allocations: 1.47 MB / 0.7053 GB, free: 96.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/2.147, allocations: 7.442 MB / 0.7126 GB, free: 93.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/2.149, allocations: 449.6 kB / 0.713 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.15, allocations: 56.27 kB / 0.7131 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003551/2.154, allocations: 175.9 kB / 0.7133 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/2.154, allocations: 171.8 kB / 0.7134 GB, free: 93.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/2.154, allocations: 75.3 kB / 0.7135 GB, free: 93.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006444/2.161, allocations: 2.517 MB / 0.716 GB, free: 93.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.161, allocations: 0 / 0.716 GB, free: 93.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008063/2.169, allocations: 1.151 MB / 0.7171 GB, free: 93.05 MB / 458.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.01503/2.184, allocations: 11.37 MB / 0.7282 GB, free: 86.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01355/2.198, allocations: 5.498 MB / 0.7336 GB, free: 86.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/2.198, allocations: 5.062 kB / 0.7336 GB, free: 86.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/2.204, allocations: 2.122 MB / 0.7356 GB, free: 85.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/2.208, allocations: 464.6 kB / 0.7361 GB, free: 85.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/2.241, allocations: 10.36 MB / 0.7462 GB, free: 83.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006892/2.248, allocations: 3.543 MB / 0.7497 GB, free: 82.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00876/2.256, allocations: 2.034 MB / 0.7516 GB, free: 82.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004429/2.261, allocations: 2.079 MB / 0.7537 GB, free: 80.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.572e-06/2.261, allocations: 0 / 0.7537 GB, free: 80.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/2.441, allocations: 81.64 MB / 0.8334 GB, free: 24.28 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/2.441, allocations: 200.6 kB / 0.8336 GB, free: 24.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.628/8.068, allocations: 0 / 0.8336 GB, free: 24.06 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat