Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.371e-05, allocations: 4 kB / 225.1 MB, free: 2.676 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 38.77 MB / 263.9 MB, free: 9.742 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.3929, allocations: 80.4 MB / 344.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.3932, allocations: 87.94 kB / 344.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5108/0.904, allocations: 77.56 MB / 421.9 MB, free: 51.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.9041, allocations: 0 / 421.9 MB, free: 51.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.9043, allocations: 83.92 kB / 422 MB, free: 51.22 MB / 314.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.02017/0.9245, allocations: 4.048 MB / 426 MB, free: 47.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.9245, allocations: 8.031 kB / 426 MB, free: 47.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002328/0.9269, allocations: 0.7535 MB / 426.8 MB, free: 46.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.9437, allocations: 2.226 MB / 429 MB, free: 44.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.96, allocations: 4.328 MB / 433.4 MB, free: 39.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.9604, allocations: 312.2 kB / 433.7 MB, free: 39.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.9623, allocations: 407.9 kB / 434.1 MB, free: 39.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.9887, allocations: 10.11 MB / 444.2 MB, free: 27.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.989, allocations: 63.38 kB / 444.2 MB, free: 27.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/0.9901, allocations: 203.9 kB / 444.4 MB, free: 27.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.992, allocations: 0.9781 MB / 445.4 MB, free: 26.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/1.015, allocations: 7.779 MB / 453.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06916/1.085, allocations: 48.24 MB / 0.4897 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.248/1.333, allocations: 3.522 MB / 0.4931 GB, free: 81.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/1.335, allocations: 1.309 MB / 0.4944 GB, free: 81.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.349, allocations: 6.516 MB / 0.5008 GB, free: 79.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/1.349, allocations: 50.95 kB / 0.5008 GB, free: 79.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 4.047e-06/1.349, allocations: 0 / 0.5008 GB, free: 79.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.03813/1.387, allocations: 9.582 MB / 0.5102 GB, free: 77.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001265/1.388, allocations: 1.575 MB / 0.5117 GB, free: 75.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006395/1.395, allocations: 3.331 MB / 0.5149 GB, free: 75.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/1.395, allocations: 45.12 kB / 0.515 GB, free: 75.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/1.398, allocations: 3.031 MB / 0.518 GB, free: 73.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008405/1.398, allocations: 0.5774 MB / 0.5185 GB, free: 72.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/1.399, allocations: 121.5 kB / 0.5186 GB, free: 72.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000348/1.399, allocations: 0.5639 MB / 0.5192 GB, free: 72.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/1.404, allocations: 1.89 MB / 0.521 GB, free: 72.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00646/1.41, allocations: 5.732 MB / 0.5266 GB, free: 66.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006869/1.417, allocations: 3.274 MB / 0.5298 GB, free: 65.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.417, allocations: 39.72 kB / 0.5299 GB, free: 65.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02385/1.441, allocations: 7.982 MB / 0.5377 GB, free: 63.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.441, allocations: 68 kB / 0.5377 GB, free: 63.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009598/1.451, allocations: 2.647 MB / 0.5403 GB, free: 62.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008612/1.459, allocations: 1.534 MB / 0.5418 GB, free: 62.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007567/1.467, allocations: 1.364 MB / 0.5431 GB, free: 61.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/1.474, allocations: 5.161 MB / 0.5482 GB, free: 56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007287/1.481, allocations: 442 kB / 0.5486 GB, free: 55.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.482, allocations: 378.5 kB / 0.549 GB, free: 55.29 MB / 346.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 (720): * Single equations (assignments): 710 * 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 {1} * 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.001058/1.483, allocations: 0.5774 MB / 0.5495 GB, free: 54.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.484, allocations: 319.8 kB / 0.5498 GB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.494, allocations: 2.989 MB / 0.5527 GB, free: 52.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009177/1.504, allocations: 2.544 MB / 0.5552 GB, free: 50.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.504, allocations: 0 / 0.5552 GB, free: 50.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/1.504, allocations: 11.55 kB / 0.5552 GB, free: 50.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007866/1.512, allocations: 3.557 MB / 0.5587 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.512, allocations: 0 / 0.5587 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.513, allocations: 162.9 kB / 0.5589 GB, free: 47.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008099/1.521, allocations: 1.429 MB / 0.5603 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003509/1.522, allocations: 38.19 kB / 0.5603 GB, free: 46.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008723/1.531, allocations: 5.739 MB / 0.5659 GB, free: 40.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001009/1.532, allocations: 1.457 MB / 0.5673 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.545, allocations: 5.131 MB / 0.5723 GB, free: 34.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.547, allocations: 375.1 kB / 0.5727 GB, free: 34.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/1.547, allocations: 27.33 kB / 0.5727 GB, free: 34.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.55, allocations: 139.4 kB / 0.5729 GB, free: 34.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.55, allocations: 88.16 kB / 0.5729 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.55, allocations: 42.05 kB / 0.573 GB, free: 34.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004604/1.555, allocations: 2.272 MB / 0.5752 GB, free: 32.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.555, allocations: 0 / 0.5752 GB, free: 32.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006514/1.561, allocations: 0.9795 MB / 0.5762 GB, free: 31.25 MB / 346.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.01242/1.574, allocations: 5.74 MB / 0.5818 GB, free: 26.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.587, allocations: 4.878 MB / 0.5865 GB, free: 21.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.587, allocations: 4 kB / 0.5865 GB, free: 21.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.593, allocations: 1.915 MB / 0.5884 GB, free: 20.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.595, allocations: 335.6 kB / 0.5887 GB, free: 19.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/1.621, allocations: 8.906 MB / 0.5974 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.626, allocations: 3.125 MB / 0.6005 GB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003311/1.629, allocations: 1.737 MB / 0.6022 GB, free: 6.199 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/1.629, allocations: 11.88 kB / 0.6022 GB, free: 6.188 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.561/6.19, allocations: 153.7 MB / 0.7523 GB, free: 440 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat