Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.025e-05, allocations: 7.984 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09081, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5151, allocations: 86.03 MB / 386 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5154, allocations: 84.09 kB / 386.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3145/0.8299, allocations: 77.73 MB / 463.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.83, allocations: 0 / 463.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.8302, allocations: 76 kB / 463.9 MB, free: 1.938 MB / 346.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.02238/0.8526, allocations: 4.053 MB / 468 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.8527, allocations: 12.03 kB / 468 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00291/0.8556, allocations: 0.7473 MB / 468.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.8743, allocations: 2.237 MB / 471 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/0.898, allocations: 4.344 MB / 475.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006758/0.8987, allocations: 312 kB / 475.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/0.9019, allocations: 413.4 kB / 476 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04898/0.9509, allocations: 10.1 MB / 486.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/0.9513, allocations: 59.45 kB / 486.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/0.9538, allocations: 208.8 kB / 486.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004004/0.9578, allocations: 0.9928 MB / 487.4 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/0.9913, allocations: 7.771 MB / 495.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3762/1.368, allocations: 48.24 MB / 0.5306 GB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.385, allocations: 3.521 MB / 0.5341 GB, free: 60.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/1.388, allocations: 1.309 MB / 0.5354 GB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/1.404, allocations: 6.529 MB / 0.5417 GB, free: 57.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.404, allocations: 42.34 kB / 0.5418 GB, free: 57.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.901e-06/1.404, allocations: 0 / 0.5418 GB, free: 57.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.04062/1.444, allocations: 9.59 MB / 0.5511 GB, free: 55.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00156/1.446, allocations: 1.575 MB / 0.5527 GB, free: 53.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007654/1.454, allocations: 3.331 MB / 0.5559 GB, free: 53.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004033/1.454, allocations: 41.17 kB / 0.556 GB, free: 53.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/1.457, allocations: 3.075 MB / 0.559 GB, free: 51.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009981/1.458, allocations: 0.5754 MB / 0.5595 GB, free: 51.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/1.459, allocations: 120.8 kB / 0.5596 GB, free: 51.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/1.459, allocations: 0.5606 MB / 0.5602 GB, free: 51.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/1.464, allocations: 1.892 MB / 0.562 GB, free: 51.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007927/1.472, allocations: 5.736 MB / 0.5676 GB, free: 45.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/1.479, allocations: 3.268 MB / 0.5708 GB, free: 45.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001919/1.48, allocations: 41.62 kB / 0.5709 GB, free: 45.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0266/1.506, allocations: 8.18 MB / 0.5789 GB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.506, allocations: 66.16 kB / 0.5789 GB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0107/1.517, allocations: 2.727 MB / 0.5816 GB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009825/1.527, allocations: 1.627 MB / 0.5832 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/1.535, allocations: 1.343 MB / 0.5845 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00848/1.543, allocations: 5.536 MB / 0.5899 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/1.551, allocations: 437.5 kB / 0.5903 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.553, allocations: 382.6 kB / 0.5907 GB, free: 40.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (717): * Single equations (assignments): 707 * 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.001589/1.554, allocations: 0.5708 MB / 0.5912 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008227/1.555, allocations: 319.6 kB / 0.5915 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.566, allocations: 2.994 MB / 0.5945 GB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009713/1.576, allocations: 2.549 MB / 0.597 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.576, allocations: 3.375 kB / 0.597 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/1.576, allocations: 3.797 kB / 0.597 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009766/1.586, allocations: 3.546 MB / 0.6004 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/1.586, allocations: 7.938 kB / 0.6004 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.588, allocations: 163.5 kB / 0.6006 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008408/1.596, allocations: 1.431 MB / 0.602 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004001/1.597, allocations: 34.42 kB / 0.602 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009308/1.606, allocations: 5.737 MB / 0.6076 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001127/1.607, allocations: 1.455 MB / 0.609 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/1.622, allocations: 5.127 MB / 0.614 GB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.623, allocations: 374.1 kB / 0.6144 GB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008067/1.624, allocations: 32.77 kB / 0.6144 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.627, allocations: 134.2 kB / 0.6146 GB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/1.628, allocations: 82.86 kB / 0.6146 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.628, allocations: 45.7 kB / 0.6147 GB, free: 25.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005712/1.634, allocations: 2.269 MB / 0.6169 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.264e-06/1.634, allocations: 0 / 0.6169 GB, free: 23.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007586/1.641, allocations: 0.981 MB / 0.6179 GB, free: 22.82 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],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 (73): * Single equations (assignments): 65 * 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 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01361/1.655, allocations: 5.746 MB / 0.6235 GB, free: 17.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.668, allocations: 4.994 MB / 0.6283 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.669, allocations: 0 / 0.6283 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006631/1.675, allocations: 1.92 MB / 0.6302 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.678, allocations: 342.6 kB / 0.6305 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.704, allocations: 8.463 MB / 0.6388 GB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005293/1.71, allocations: 3.12 MB / 0.6419 GB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007646/1.717, allocations: 1.778 MB / 0.6436 GB, free: 484 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007776/1.725, allocations: 1.939 MB / 0.6455 GB, free: 15.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.725, allocations: 0 / 0.6455 GB, free: 15.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4707/2.196, allocations: 71.83 MB / 0.7156 GB, free: 116.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/2.196, allocations: 199.3 kB / 0.7158 GB, free: 116.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.234/7.43, allocations: 3.938 kB / 0.7158 GB, free: 116.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat