Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.56/2.56, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.894e-05, allocations: 5.109 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.6325, allocations: 85.35 MB / 379.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00042/0.633, allocations: 88.36 kB / 379.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3894/1.022, allocations: 75.88 MB / 455.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.26e-06/1.023, allocations: 0 / 455.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002676/1.023, allocations: 75.94 kB / 455.7 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02745/1.05, allocations: 4.043 MB / 459.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/1.05, allocations: 12.03 kB / 459.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/1.073, allocations: 2.237 MB / 462 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0215/1.094, allocations: 4.34 MB / 466.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/1.095, allocations: 132 kB / 466.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/1.097, allocations: 243.9 kB / 466.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01899/1.116, allocations: 5.709 MB / 472.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/1.146, allocations: 9.011 MB / 481.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/1.146, allocations: 55.5 kB / 481.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/1.148, allocations: 32 kB / 481.5 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/1.151, allocations: 0.9824 MB / 482.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4304/1.582, allocations: 47.59 MB / 0.5176 GB, free: 58.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005863/1.587, allocations: 2.261 MB / 0.5199 GB, free: 57.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.591, allocations: 1.174 MB / 0.521 GB, free: 57.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/1.591, allocations: 21.36 kB / 0.521 GB, free: 57.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/1.591, allocations: 52.28 kB / 0.5211 GB, free: 57.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 6.492e-06/1.591, allocations: 0 / 0.5211 GB, free: 57.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.04004/1.631, allocations: 8.882 MB / 0.5297 GB, free: 54.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/1.632, allocations: 144.4 kB / 0.5299 GB, free: 54.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008133/1.64, allocations: 2.933 MB / 0.5327 GB, free: 54.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004898/1.64, allocations: 25.7 kB / 0.5328 GB, free: 54.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/1.643, allocations: 3.11 MB / 0.5358 GB, free: 52.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.645, allocations: 0.5882 MB / 0.5364 GB, free: 52.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008891/1.646, allocations: 0 / 0.5364 GB, free: 52.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000597/1.646, allocations: 0.5709 MB / 0.5369 GB, free: 51.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00559/1.652, allocations: 1.837 MB / 0.5387 GB, free: 51.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008608/1.66, allocations: 5.829 MB / 0.5444 GB, free: 46.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008928/1.669, allocations: 3.242 MB / 0.5476 GB, free: 46.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002397/1.67, allocations: 45.58 kB / 0.5476 GB, free: 46.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.03237/1.702, allocations: 7.888 MB / 0.5553 GB, free: 45.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.702, allocations: 65.91 kB / 0.5554 GB, free: 45.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01458/1.717, allocations: 2.667 MB / 0.558 GB, free: 44.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01402/1.731, allocations: 1.512 MB / 0.5595 GB, free: 44.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01308/1.744, allocations: 1.4 MB / 0.5609 GB, free: 43.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/1.773, allocations: 5.413 MB / 0.5661 GB, free: 40.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02846/1.802, allocations: 326.7 kB / 0.5664 GB, free: 40.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/1.804, allocations: 399.2 kB / 0.5668 GB, free: 40.19 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (747): * Single equations (assignments): 737 * 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: 2 * 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: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.002279/1.806, allocations: 460.6 kB / 0.5673 GB, free: 39.81 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03143/1.837, allocations: 3.345 MB / 0.5705 GB, free: 38.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.839, allocations: 296.1 kB / 0.5708 GB, free: 38.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.853, allocations: 2.882 MB / 0.5736 GB, free: 37.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01226/1.865, allocations: 2.483 MB / 0.5761 GB, free: 37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/1.865, allocations: 0 / 0.5761 GB, free: 37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-05/1.865, allocations: 15 kB / 0.5761 GB, free: 37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02536/1.891, allocations: 5.232 MB / 0.5812 GB, free: 33.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/1.891, allocations: 0 / 0.5812 GB, free: 33.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.893, allocations: 179 kB / 0.5814 GB, free: 33.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/1.903, allocations: 1.411 MB / 0.5827 GB, free: 32.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005004/1.904, allocations: 19.22 kB / 0.5827 GB, free: 32.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.915, allocations: 5.637 MB / 0.5883 GB, free: 27.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001236/1.916, allocations: 1.395 MB / 0.5896 GB, free: 25.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.933, allocations: 5.111 MB / 0.5946 GB, free: 21.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.934, allocations: 346.1 kB / 0.5949 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009312/1.935, allocations: 8 kB / 0.5949 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.938, allocations: 115 kB / 0.5951 GB, free: 21.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/1.938, allocations: 83.88 kB / 0.5951 GB, free: 21.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.938, allocations: 47.33 kB / 0.5952 GB, free: 21.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004464/1.943, allocations: 1.923 MB / 0.5971 GB, free: 19.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.943, allocations: 0 / 0.5971 GB, free: 19.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008005/1.951, allocations: 0.8668 MB / 0.5979 GB, free: 18.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET140699729736072.x[3],$STATESET140699729736072.x[2],$STATESET140699729736072.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * 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): 3 * Torn equation systems: 2 * 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: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01472/1.966, allocations: 5.72 MB / 0.6035 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01448/1.98, allocations: 4.985 MB / 0.6084 GB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.98, allocations: 0 / 0.6084 GB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007222/1.988, allocations: 1.927 MB / 0.6102 GB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.99, allocations: 280 kB / 0.6105 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/2.02, allocations: 8.331 MB / 0.6186 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007918/2.028, allocations: 3.118 MB / 0.6217 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01071/2.039, allocations: 1.846 MB / 0.6235 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005075/2.044, allocations: 1.702 MB / 0.6252 GB, free: 10.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/2.044, allocations: 4 kB / 0.6252 GB, free: 10.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5501/2.594, allocations: 67.94 MB / 0.6915 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003371/2.595, allocations: 157.4 kB / 0.6917 GB, free: 108 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.192/8.787, allocations: 0 / 0.6917 GB, free: 108 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat