Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.407e-05, allocations: 6.812 kB / 292.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5684, allocations: 94.63 MB / 437.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5688, allocations: 93.69 kB / 437.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3376/0.9064, allocations: 81.34 MB / 0.5066 GB, free: 2.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9065, allocations: 0 / 0.5066 GB, free: 2.117 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002255/0.9067, allocations: 76 kB / 0.5066 GB, free: 2.043 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.02231/0.929, allocations: 4.158 MB / 0.5107 GB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.9291, allocations: 8.031 kB / 0.5107 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003091/0.9322, allocations: 0.7743 MB / 0.5115 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.9501, allocations: 2.249 MB / 0.5137 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/0.9681, allocations: 4.258 MB / 0.5178 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/0.9686, allocations: 324.5 kB / 0.5181 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/0.9708, allocations: 423.9 kB / 0.5185 GB, free: 5.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.329/1.3, allocations: 10.47 MB / 0.5288 GB, free: 97.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/1.3, allocations: 59.39 kB / 0.5288 GB, free: 97.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002584/1.303, allocations: 211 kB / 0.529 GB, free: 97.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/1.307, allocations: 1.028 MB / 0.53 GB, free: 97.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/1.335, allocations: 8.094 MB / 0.5379 GB, free: 97.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08097/1.417, allocations: 49.1 MB / 0.5859 GB, free: 64.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02767/1.444, allocations: 3.918 MB / 0.5897 GB, free: 63.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/1.447, allocations: 1.389 MB / 0.5911 GB, free: 62.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/1.463, allocations: 7.679 MB / 0.5986 GB, free: 58.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/1.463, allocations: 54.16 kB / 0.5986 GB, free: 58.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.219e-06/1.463, allocations: 3.812 kB / 0.5986 GB, free: 58.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.04165/1.505, allocations: 10.06 MB / 0.6084 GB, free: 54.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00126/1.506, allocations: 1.581 MB / 0.61 GB, free: 52.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007008/1.513, allocations: 3.362 MB / 0.6133 GB, free: 51.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003967/1.513, allocations: 46.02 kB / 0.6133 GB, free: 51.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.516, allocations: 3.115 MB / 0.6163 GB, free: 49.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008509/1.517, allocations: 0.6477 MB / 0.617 GB, free: 48.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004245/1.517, allocations: 120.9 kB / 0.6171 GB, free: 48.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/1.517, allocations: 0.5656 MB / 0.6176 GB, free: 48.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/1.522, allocations: 1.934 MB / 0.6195 GB, free: 47.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/1.529, allocations: 5.807 MB / 0.6252 GB, free: 41.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007098/1.536, allocations: 3.333 MB / 0.6285 GB, free: 40.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.536, allocations: 44.94 kB / 0.6285 GB, free: 40.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02476/1.561, allocations: 8.239 MB / 0.6365 GB, free: 36.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.561, allocations: 64 kB / 0.6366 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0101/1.571, allocations: 2.75 MB / 0.6393 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008675/1.58, allocations: 1.537 MB / 0.6408 GB, free: 32.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007867/1.588, allocations: 1.372 MB / 0.6421 GB, free: 31.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/1.596, allocations: 5.5 MB / 0.6475 GB, free: 26.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/1.603, allocations: 444 kB / 0.6479 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.604, allocations: 388.1 kB / 0.6483 GB, free: 25.77 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.001653/1.606, allocations: 0.5769 MB / 0.6489 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/1.607, allocations: 335.6 kB / 0.6492 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.618, allocations: 3.1 MB / 0.6522 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009708/1.628, allocations: 2.647 MB / 0.6548 GB, free: 20.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.628, allocations: 4 kB / 0.6548 GB, free: 20.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/1.628, allocations: 20.05 kB / 0.6548 GB, free: 20.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.653, allocations: 8.542 MB / 0.6632 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.653, allocations: 2.812 kB / 0.6632 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.655, allocations: 198.9 kB / 0.6634 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007977/1.663, allocations: 1.419 MB / 0.6647 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/1.663, allocations: 43.17 kB / 0.6648 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/1.677, allocations: 5.706 MB / 0.6704 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001702/1.679, allocations: 1.462 MB / 0.6718 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/1.703, allocations: 5.313 MB / 0.677 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.704, allocations: 376.9 kB / 0.6773 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.706, allocations: 31.77 kB / 0.6774 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004695/1.71, allocations: 147.1 kB / 0.6775 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/1.711, allocations: 88.8 kB / 0.6776 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003085/1.711, allocations: 49.28 kB / 0.6776 GB, free: 15.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009005/1.72, allocations: 2.283 MB / 0.6799 GB, free: 13.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/1.72, allocations: 4 kB / 0.6799 GB, free: 13.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01186/1.732, allocations: 1.017 MB / 0.6809 GB, free: 12.19 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.0214/1.754, allocations: 6.108 MB / 0.6868 GB, free: 6.039 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01594/1.77, allocations: 5.087 MB / 0.6918 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.77, allocations: 0 / 0.6918 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3229/2.093, allocations: 1.97 MB / 0.6937 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/2.095, allocations: 357.1 kB / 0.6941 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/2.128, allocations: 8.72 MB / 0.7026 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/2.139, allocations: 3.197 MB / 0.7057 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01246/2.152, allocations: 1.799 MB / 0.7074 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004907/2.157, allocations: 1.76 MB / 0.7092 GB, free: 105.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/2.157, allocations: 1.156 kB / 0.7092 GB, free: 105.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/2.339, allocations: 73.51 MB / 0.781 GB, free: 75.13 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/2.34, allocations: 194.1 kB / 0.7811 GB, free: 74.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.193/7.533, allocations: 0 / 0.7811 GB, free: 74.91 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat