Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/2.999e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6252, allocations: 94.66 MB / 437.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.6256, allocations: 86.02 kB / 437.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3384/0.964, allocations: 81.34 MB / 0.5071 GB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.964, allocations: 0 / 0.5071 GB, free: 2.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002227/0.9643, allocations: 76 kB / 0.5072 GB, free: 1.953 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.02237/0.9867, allocations: 4.149 MB / 0.5112 GB, free: 13.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.9867, allocations: 12.03 kB / 0.5112 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002913/0.9897, allocations: 0.7782 MB / 0.512 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/1.008, allocations: 2.252 MB / 0.5142 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/1.027, allocations: 4.25 MB / 0.5183 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005742/1.028, allocations: 328.5 kB / 0.5186 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/1.031, allocations: 435.9 kB / 0.5191 GB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3421/1.373, allocations: 10.46 MB / 0.5293 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/1.373, allocations: 59.95 kB / 0.5293 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/1.375, allocations: 210.7 kB / 0.5295 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/1.378, allocations: 1.029 MB / 0.5305 GB, free: 96.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/1.408, allocations: 8.094 MB / 0.5384 GB, free: 96.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07336/1.482, allocations: 49.11 MB / 0.5864 GB, free: 64.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/1.5, allocations: 3.925 MB / 0.5902 GB, free: 63.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/1.503, allocations: 1.385 MB / 0.5916 GB, free: 62.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01693/1.52, allocations: 7.673 MB / 0.5991 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/1.52, allocations: 46.84 kB / 0.5991 GB, free: 58.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.691e-06/1.52, allocations: 0 / 0.5991 GB, free: 58.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.04211/1.562, allocations: 10.07 MB / 0.609 GB, free: 54.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001266/1.563, allocations: 1.588 MB / 0.6105 GB, free: 52.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007079/1.57, allocations: 3.351 MB / 0.6138 GB, free: 51.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004106/1.571, allocations: 50.36 kB / 0.6138 GB, free: 51.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.574, allocations: 3.116 MB / 0.6169 GB, free: 48.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/1.575, allocations: 0.6408 MB / 0.6175 GB, free: 48.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006631/1.575, allocations: 121.1 kB / 0.6176 GB, free: 48.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003642/1.576, allocations: 0.5696 MB / 0.6182 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/1.58, allocations: 1.936 MB / 0.6201 GB, free: 47.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007042/1.587, allocations: 5.801 MB / 0.6257 GB, free: 41.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/1.595, allocations: 3.338 MB / 0.629 GB, free: 40.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.595, allocations: 39 kB / 0.629 GB, free: 40.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02488/1.62, allocations: 8.239 MB / 0.6371 GB, free: 36.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.62, allocations: 64.19 kB / 0.6371 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01002/1.63, allocations: 2.754 MB / 0.6398 GB, free: 33.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008654/1.638, allocations: 1.533 MB / 0.6413 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007946/1.646, allocations: 1.371 MB / 0.6427 GB, free: 31.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007767/1.654, allocations: 5.505 MB / 0.648 GB, free: 26.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/1.662, allocations: 438.1 kB / 0.6484 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.663, allocations: 395.1 kB / 0.6488 GB, free: 25.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (738): * Single equations (assignments): 728 * 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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.001315/1.664, allocations: 0.5751 MB / 0.6494 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/1.665, allocations: 331.8 kB / 0.6497 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.676, allocations: 3.101 MB / 0.6527 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00952/1.685, allocations: 2.639 MB / 0.6553 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.685, allocations: 4 kB / 0.6553 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/1.685, allocations: 9.906 kB / 0.6553 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02447/1.71, allocations: 8.567 MB / 0.6637 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.71, allocations: 2.812 kB / 0.6637 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.712, allocations: 191.8 kB / 0.6639 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008047/1.72, allocations: 1.428 MB / 0.6653 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/1.72, allocations: 31.89 kB / 0.6653 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/1.729, allocations: 5.717 MB / 0.6709 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00104/1.73, allocations: 1.451 MB / 0.6723 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.744, allocations: 5.313 MB / 0.6775 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.746, allocations: 380.7 kB / 0.6778 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008847/1.746, allocations: 31.95 kB / 0.6779 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.75, allocations: 140.4 kB / 0.678 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/1.75, allocations: 97.33 kB / 0.6781 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.75, allocations: 44.69 kB / 0.6781 GB, free: 15.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006212/1.757, allocations: 2.283 MB / 0.6804 GB, free: 13.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.757, allocations: 0 / 0.6804 GB, free: 13.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007954/1.765, allocations: 1.02 MB / 0.6814 GB, free: 12.05 MB / 458.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 (91): * Single equations (assignments): 83 * 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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01769/1.782, allocations: 6.107 MB / 0.6873 GB, free: 5.891 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.015/1.797, allocations: 5.088 MB / 0.6923 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.797, allocations: 0 / 0.6923 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.312/2.11, allocations: 1.973 MB / 0.6942 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/2.113, allocations: 360.3 kB / 0.6946 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/2.154, allocations: 8.718 MB / 0.7031 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/2.164, allocations: 3.19 MB / 0.7062 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0117/2.176, allocations: 1.804 MB / 0.708 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005635/2.182, allocations: 1.763 MB / 0.7097 GB, free: 105.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.254e-06/2.182, allocations: 4.906 kB / 0.7097 GB, free: 105.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1676/2.35, allocations: 73.5 MB / 0.7815 GB, free: 74.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/2.35, allocations: 198.1 kB / 0.7817 GB, free: 74.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.554/7.904, allocations: 0 / 0.7817 GB, free: 74.33 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat