Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.38e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09369, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5132, allocations: 85.04 MB / 385 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5136, allocations: 84.92 kB / 385.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2397/0.7533, allocations: 56.6 MB / 441.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7534, allocations: 0 / 441.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001525/0.7535, allocations: 44 kB / 441.8 MB, free: 5.391 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01904/0.7726, allocations: 2.909 MB / 444.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.7727, allocations: 8.031 kB / 444.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.7752, allocations: 0.495 MB / 445.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/0.7926, allocations: 2.055 MB / 447.2 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/0.8086, allocations: 3.593 MB / 450.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.809, allocations: 187.8 kB / 451 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.8108, allocations: 249.2 kB / 451.2 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.8325, allocations: 6.789 MB / 458 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.8327, allocations: 43.53 kB / 458.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.8337, allocations: 122.9 kB / 458.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001957/0.8357, allocations: 0.7143 MB / 458.9 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.8549, allocations: 5.704 MB / 464.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/0.9113, allocations: 32.28 MB / 496.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.9232, allocations: 2.493 MB / 499.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/0.9258, allocations: 0.9933 MB / 0.4887 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00912/0.9349, allocations: 3.551 MB / 0.4921 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.935, allocations: 54.88 kB / 0.4922 GB, free: 6.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 4.749e-06/0.935, allocations: 0 / 0.4922 GB, free: 6.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.04059/0.9756, allocations: 8.676 MB / 0.5006 GB, free: 13.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001757/0.9775, allocations: 1.58 MB / 0.5022 GB, free: 12.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006236/0.9837, allocations: 2.383 MB / 0.5045 GB, free: 9.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003709/0.9842, allocations: 41.7 kB / 0.5046 GB, free: 9.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.9866, allocations: 2.069 MB / 0.5066 GB, free: 7.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009844/0.9877, allocations: 495.6 kB / 0.507 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/0.9883, allocations: 84 kB / 0.5071 GB, free: 7.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004486/0.9888, allocations: 0.4958 MB / 0.5076 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/0.9934, allocations: 1.547 MB / 0.5091 GB, free: 5.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.285/1.279, allocations: 4.272 MB / 0.5133 GB, free: 108.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/1.285, allocations: 2.567 MB / 0.5158 GB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/1.285, allocations: 32.48 kB / 0.5158 GB, free: 108.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02424/1.31, allocations: 6.583 MB / 0.5223 GB, free: 108.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/1.31, allocations: 48.83 kB / 0.5223 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01144/1.321, allocations: 2.493 MB / 0.5247 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009313/1.331, allocations: 1.495 MB / 0.5262 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006045/1.337, allocations: 1.008 MB / 0.5272 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.352, allocations: 7.277 MB / 0.5343 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.358, allocations: 363.4 kB / 0.5346 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.36, allocations: 279.2 kB / 0.5349 GB, free: 105.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (531): * Single equations (assignments): 523 * 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.001161/1.361, allocations: 447.1 kB / 0.5353 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/1.362, allocations: 229.7 kB / 0.5356 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.373, allocations: 2.79 MB / 0.5383 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/1.383, allocations: 2.454 MB / 0.5407 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/1.383, allocations: 3.875 kB / 0.5407 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.271e-05/1.383, allocations: 3.938 kB / 0.5407 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/1.404, allocations: 6.706 MB / 0.5472 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/1.404, allocations: 0 / 0.5472 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.406, allocations: 166.7 kB / 0.5474 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008582/1.414, allocations: 1.428 MB / 0.5488 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/1.415, allocations: 35.44 kB / 0.5488 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.43, allocations: 7.44 MB / 0.5561 GB, free: 99.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001171/1.431, allocations: 1.447 MB / 0.5575 GB, free: 97.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.445, allocations: 4.795 MB / 0.5622 GB, free: 95.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/1.446, allocations: 298.4 kB / 0.5625 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007331/1.447, allocations: 27.02 kB / 0.5625 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.45, allocations: 120.7 kB / 0.5626 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005791/1.451, allocations: 79.77 kB / 0.5627 GB, free: 95.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.451, allocations: 40.44 kB / 0.5627 GB, free: 95.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003938/1.455, allocations: 1.65 MB / 0.5643 GB, free: 95.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.243e-06/1.455, allocations: 0 / 0.5643 GB, free: 95.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005298/1.46, allocations: 0.7535 MB / 0.5651 GB, free: 95.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 71 * 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.01406/1.474, allocations: 5.62 MB / 0.5706 GB, free: 92.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01011/1.484, allocations: 4.051 MB / 0.5745 GB, free: 89.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.484, allocations: 0 / 0.5745 GB, free: 89.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/1.489, allocations: 1.656 MB / 0.5761 GB, free: 87.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.491, allocations: 237.1 kB / 0.5764 GB, free: 87.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.508, allocations: 6.288 MB / 0.5825 GB, free: 82.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/1.51, allocations: 2.326 MB / 0.5848 GB, free: 80.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005736/1.516, allocations: 1.383 MB / 0.5861 GB, free: 79.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.519, allocations: 1.079 MB / 0.5872 GB, free: 78.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.444e-06/1.519, allocations: 5.422 kB / 0.5872 GB, free: 78.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/1.644, allocations: 53.9 MB / 0.6398 GB, free: 27.94 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.645, allocations: 212.2 kB / 0.64 GB, free: 27.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.382/6.027, allocations: 0 / 0.64 GB, free: 27.7 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat