Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.745e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 50.41 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5509, allocations: 93.66 MB / 436.3 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.5512, allocations: 94.05 kB / 436.4 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2983/0.8495, allocations: 58.85 MB / 495.3 MB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8496, allocations: 0 / 495.3 MB, free: 9.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.8497, allocations: 48 kB / 495.3 MB, free: 9.562 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01768/0.8674, allocations: 2.951 MB / 498.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.8675, allocations: 12.02 kB / 498.3 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001668/0.8691, allocations: 0.4987 MB / 498.8 MB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.8858, allocations: 2.063 MB / 0.4891 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.9012, allocations: 3.478 MB / 0.4925 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.9015, allocations: 192.9 kB / 0.4927 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.9036, allocations: 251.9 kB / 0.4929 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.9342, allocations: 6.931 MB / 0.4997 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002113/0.9345, allocations: 39.69 kB / 0.4997 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009264/0.9354, allocations: 123.9 kB / 0.4998 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002844/0.9383, allocations: 0.7267 MB / 0.5005 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.9678, allocations: 5.817 MB / 0.5062 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3859/1.354, allocations: 32.68 MB / 0.5381 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.366, allocations: 2.632 MB / 0.5407 GB, free: 92.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/1.369, allocations: 1.015 MB / 0.5417 GB, free: 92.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/1.379, allocations: 3.893 MB / 0.5455 GB, free: 90.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/1.379, allocations: 42.45 kB / 0.5455 GB, free: 90.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 5.08e-06/1.379, allocations: 0 / 0.5455 GB, free: 90.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.04031/1.419, allocations: 8.874 MB / 0.5542 GB, free: 88.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001319/1.421, allocations: 1.584 MB / 0.5558 GB, free: 87.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/1.426, allocations: 2.409 MB / 0.5581 GB, free: 87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003508/1.426, allocations: 41.14 kB / 0.5581 GB, free: 86.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.428, allocations: 2.085 MB / 0.5602 GB, free: 85.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/1.429, allocations: 0.5073 MB / 0.5607 GB, free: 85.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/1.429, allocations: 89.38 kB / 0.5608 GB, free: 85.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00028/1.43, allocations: 0.4919 MB / 0.5612 GB, free: 85.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/1.433, allocations: 1.565 MB / 0.5628 GB, free: 85.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.439, allocations: 4.315 MB / 0.567 GB, free: 81.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/1.444, allocations: 2.602 MB / 0.5695 GB, free: 81.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.445, allocations: 26.72 kB / 0.5696 GB, free: 81.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.02229/1.467, allocations: 6.637 MB / 0.576 GB, free: 79.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/1.467, allocations: 49.53 kB / 0.5761 GB, free: 79.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01049/1.478, allocations: 2.516 MB / 0.5785 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009262/1.487, allocations: 1.497 MB / 0.58 GB, free: 79.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/1.493, allocations: 1.015 MB / 0.581 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.508, allocations: 7.22 MB / 0.588 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/1.514, allocations: 366.3 kB / 0.5884 GB, free: 74.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.515, allocations: 277.5 kB / 0.5887 GB, free: 74.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (541): * Single equations (assignments): 533 * 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 {4} * 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.00141/1.516, allocations: 452.7 kB / 0.5891 GB, free: 74.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/1.517, allocations: 236.5 kB / 0.5893 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.529, allocations: 2.838 MB / 0.5921 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01013/1.539, allocations: 2.485 MB / 0.5945 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.539, allocations: 7.312 kB / 0.5945 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/1.539, allocations: 7.203 kB / 0.5945 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/1.561, allocations: 6.864 MB / 0.6012 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.561, allocations: 0 / 0.6012 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.563, allocations: 178.7 kB / 0.6014 GB, free: 70.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008688/1.572, allocations: 1.43 MB / 0.6028 GB, free: 70.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003638/1.572, allocations: 31.45 kB / 0.6028 GB, free: 70 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/1.587, allocations: 7.322 MB / 0.61 GB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001125/1.588, allocations: 1.447 MB / 0.6114 GB, free: 61.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.602, allocations: 4.923 MB / 0.6162 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/1.603, allocations: 297.8 kB / 0.6165 GB, free: 57.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/1.604, allocations: 32.78 kB / 0.6165 GB, free: 57.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.607, allocations: 121.4 kB / 0.6166 GB, free: 57.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/1.607, allocations: 86.27 kB / 0.6167 GB, free: 57.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.607, allocations: 41.47 kB / 0.6167 GB, free: 57.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003445/1.611, allocations: 1.654 MB / 0.6184 GB, free: 55.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.611, allocations: 4 kB / 0.6184 GB, free: 55.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0056/1.616, allocations: 0.7762 MB / 0.6191 GB, free: 55.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 77 * 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.01513/1.631, allocations: 5.94 MB / 0.6249 GB, free: 49.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.642, allocations: 4.091 MB / 0.6289 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.642, allocations: 0 / 0.6289 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005326/1.648, allocations: 1.676 MB / 0.6306 GB, free: 44.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.65, allocations: 246.2 kB / 0.6308 GB, free: 44.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.669, allocations: 6.399 MB / 0.637 GB, free: 37.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.673, allocations: 2.347 MB / 0.6393 GB, free: 35.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006019/1.679, allocations: 1.419 MB / 0.6407 GB, free: 33.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002597/1.681, allocations: 1.112 MB / 0.6418 GB, free: 32.72 MB / 442.7 MB Notification: Performance of SimCode: time 2.304e-06/1.681, allocations: 0 / 0.6418 GB, free: 32.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.422/2.103, allocations: 54.56 MB / 0.6951 GB, free: 112.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/2.104, allocations: 196.3 kB / 0.6953 GB, free: 111.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/6.193, allocations: 0 / 0.6953 GB, free: 111.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat