Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.262e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.0988, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5224, allocations: 91.86 MB / 408.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5227, allocations: 86.95 kB / 409 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2552/0.778, allocations: 58.13 MB / 467.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7781, allocations: 4 kB / 467.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001411/0.7782, allocations: 48 kB / 467.2 MB, free: 8.926 MB / 378.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.01902/0.7973, allocations: 2.951 MB / 470.1 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.7973, allocations: 12.03 kB / 470.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002521/0.7999, allocations: 0.5065 MB / 470.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.818, allocations: 2.059 MB / 472.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.8338, allocations: 3.618 MB / 476.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.8341, allocations: 189 kB / 476.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.8358, allocations: 259.8 kB / 476.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/0.857, allocations: 6.92 MB / 483.7 MB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.8573, allocations: 43.69 kB / 483.7 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009044/0.8582, allocations: 127.9 kB / 483.8 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.8601, allocations: 0.715 MB / 484.5 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.8797, allocations: 5.817 MB / 490.4 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3623/1.242, allocations: 32.72 MB / 0.5108 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/1.261, allocations: 2.633 MB / 0.5134 GB, free: 111.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/1.264, allocations: 1.014 MB / 0.5144 GB, free: 111.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/1.274, allocations: 3.9 MB / 0.5182 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.274, allocations: 46.78 kB / 0.5182 GB, free: 109.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=112): time 5.861e-06/1.274, allocations: 1 kB / 0.5182 GB, free: 109.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=125): time 0.04422/1.319, allocations: 8.923 MB / 0.527 GB, free: 107.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001449/1.32, allocations: 1.584 MB / 0.5285 GB, free: 106.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006006/1.326, allocations: 2.419 MB / 0.5309 GB, free: 106.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003414/1.326, allocations: 42.11 kB / 0.5309 GB, free: 106.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.329, allocations: 2.086 MB / 0.5329 GB, free: 104.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009475/1.33, allocations: 0.5054 MB / 0.5334 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006931/1.33, allocations: 88.3 kB / 0.5335 GB, free: 104.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003826/1.331, allocations: 0.4937 MB / 0.534 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/1.335, allocations: 1.569 MB / 0.5355 GB, free: 104.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.341, allocations: 4.31 MB / 0.5397 GB, free: 100.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/1.347, allocations: 2.596 MB / 0.5423 GB, free: 100.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/1.347, allocations: 27.12 kB / 0.5423 GB, free: 100.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.0233/1.37, allocations: 6.643 MB / 0.5488 GB, free: 100.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.052e-05/1.371, allocations: 52.5 kB / 0.5488 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01062/1.381, allocations: 2.511 MB / 0.5513 GB, free: 99.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/1.391, allocations: 1.507 MB / 0.5528 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006016/1.397, allocations: 1.016 MB / 0.5538 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/1.417, allocations: 7.218 MB / 0.5608 GB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/1.424, allocations: 369 kB / 0.5612 GB, free: 94.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.425, allocations: 282.6 kB / 0.5614 GB, free: 94.95 MB / 426.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.001205/1.426, allocations: 453 kB / 0.5619 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000765/1.427, allocations: 234.8 kB / 0.5621 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.438, allocations: 2.823 MB / 0.5648 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01047/1.449, allocations: 2.497 MB / 0.5673 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.449, allocations: 3.844 kB / 0.5673 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/1.449, allocations: 3.656 kB / 0.5673 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.471, allocations: 6.856 MB / 0.574 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/1.471, allocations: 0 / 0.574 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.473, allocations: 181.8 kB / 0.5742 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00863/1.482, allocations: 1.438 MB / 0.5756 GB, free: 90.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.482, allocations: 31.14 kB / 0.5756 GB, free: 90.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.497, allocations: 7.328 MB / 0.5827 GB, free: 84.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001151/1.498, allocations: 1.452 MB / 0.5842 GB, free: 82.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.513, allocations: 4.919 MB / 0.589 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009266/1.514, allocations: 303.4 kB / 0.5893 GB, free: 78.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/1.514, allocations: 28.45 kB / 0.5893 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.517, allocations: 127 kB / 0.5894 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/1.517, allocations: 78.62 kB / 0.5895 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.518, allocations: 44.81 kB / 0.5895 GB, free: 77.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003719/1.521, allocations: 1.666 MB / 0.5911 GB, free: 76.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.521, allocations: 0 / 0.5911 GB, free: 76.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005906/1.527, allocations: 0.7831 MB / 0.5919 GB, free: 75.72 MB / 426.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.01497/1.542, allocations: 5.947 MB / 0.5977 GB, free: 70.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01031/1.553, allocations: 4.087 MB / 0.6017 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.553, allocations: 0 / 0.6017 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005162/1.558, allocations: 1.674 MB / 0.6033 GB, free: 65.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.56, allocations: 242.2 kB / 0.6036 GB, free: 64.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.579, allocations: 6.419 MB / 0.6098 GB, free: 58.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003035/1.582, allocations: 2.355 MB / 0.6121 GB, free: 56.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005925/1.588, allocations: 1.412 MB / 0.6135 GB, free: 54.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/1.591, allocations: 1.116 MB / 0.6146 GB, free: 53.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.591, allocations: 0 / 0.6146 GB, free: 53.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/2.012, allocations: 54.65 MB / 0.668 GB, free: 96.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/2.012, allocations: 197.3 kB / 0.6682 GB, free: 96.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/6.555, allocations: 4.312 kB / 0.6682 GB, free: 96.55 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat